/* Direct New Camp — concise Figma layout, 2503:57045. */
.case-page{--inset:64px}
.case-page .content,.case-page .header-inner{width:calc(100% - 2 * var(--inset));max-width:1360px}
.case-page .header-inner{padding:16px 0}
.case-page .case-content{display:flex;flex-direction:column;gap:64px;padding-top:48px;padding-bottom:64px}
.case-intro{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.back-link{color:var(--secondary);font-size:16px;line-height:28px}
.case-page #case-title{font-size:56px;font-weight:400;line-height:62px;letter-spacing:-3.0528px;max-width:1050px;margin:0;padding:0;text-wrap:balance;overflow-wrap:normal;word-break:normal}
.case-context{max-width:700px;font-size:18px;line-height:28px;color:var(--secondary)}
.case-section{display:flex;flex-direction:column;gap:20px;scroll-margin-top:96px;min-width:0}
.case-page .case-section h2{margin:0;font-size:36px;line-height:44px;font-weight:400;letter-spacing:-1.5232px}
.case-copy{max-width:950px;font-size:18px;line-height:28px}
.case-copy p~p{margin-top:28px}
.outcome-features{margin:20px 0 0;padding-left:1.25em;list-style:disc}
.outcome-features li+li{margin-top:12px}
.outcome-features strong{font-weight:600}
.case-figure{display:flex;flex-direction:column;gap:20px;margin:0;width:100%;min-width:0}
.case-figure>a{display:block;line-height:0}
.case-figure img{display:block;width:100%;height:auto;border-radius:14px}
.case-image-slot{width:100%;aspect-ratio:1152/310;background:var(--media);border-radius:14px}
.case-figure figcaption{min-height:24px;color:var(--secondary);font-size:14px;line-height:21px}
.case-return{display:flex;justify-content:space-between;gap:24px;padding:16px 0;font-size:16px;line-height:28px}
.case-page footer{margin:0;display:flex;flex-direction:column;align-items:flex-start;gap:32px;padding:48px 0 64px;border-top:1px solid var(--border)}
.case-page footer h2{font-size:48px;line-height:56px;letter-spacing:-1.44px;font-weight:400}
.case-page footer .metadata{line-height:20px}
.case-page footer .contact-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:16px;align-items:flex-start}
.case-build-note{padding:8px 0 0;width:100%;font-size:14px;line-height:21px;color:var(--secondary)}
@media(max-width:900px){.case-page{--inset:24px}.case-page #case-title{font-size:44px;line-height:50px;letter-spacing:-2px}.case-page .case-content{gap:48px}.case-page .case-section h2{font-size:32px;line-height:40px}}
@media(max-width:540px){.case-page #case-title{font-size:40px;line-height:44px;letter-spacing:-1.8px}.case-page .case-content{padding-top:32px;gap:40px}.case-copy,.case-context{font-size:16px;line-height:25px}.case-copy p~p{margin-top:25px}.case-page .case-section h2{font-size:30px;line-height:36px;letter-spacing:-1px}.case-image-slot{min-height:160px}.case-page footer{padding-bottom:64px}.case-page footer h2{font-size:40px;line-height:48px}.case-page footer .contact-actions{gap:12px}.case-return{gap:16px}.case-build-note{padding:8px 0 0}.case-page footer .metadata{font-size:14px;line-height:20px}}

.case-page #contacts>.metadata,.case-page #contacts>h2{text-align:left}

.case-video{display:block;width:100%;height:auto;border-radius:14px;background:var(--media)}

/* Match the homepage mobile breakpoint; keep captions aligned with body copy. */
@media(max-width:760px){
  .case-page .case-figure{width:calc(100% + 2 * var(--inset));margin-inline:calc(-1 * var(--inset))}
  .case-page .case-figure img,.case-page .case-video,.case-page .case-image-slot{border-radius:0}
  .case-page .case-figure figcaption{margin-inline:var(--inset)}
}

/* Shared case layout: section title, readable copy, then full-width media. */
.case-page .case-content{max-width:1200px}
@media(min-width:901px){
  .case-page .case-content{gap:88px}
  .case-section{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,700px);column-gap:64px;row-gap:32px;align-items:start}
  .case-section>h2{grid-column:1;grid-row:1}
  .case-section>.case-copy{grid-column:2;grid-row:1;max-width:700px;min-width:0}
  .case-section>.case-figure{grid-column:1 / -1}
}





.rm-variants{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;line-height:22px}
.rm-variants span{padding:8px 12px;border:1px solid var(--border);border-radius:8px}


.rm-case .header{background:var(--background)}
.rm-case .summary-copy{max-width:950px}
.rm-case .case-section-nav{position:static;display:flex;flex-wrap:wrap;flex-direction:row;align-items:baseline;justify-content:flex-start;gap:4px 8px;padding:0;margin-block:-32px;background:none;box-shadow:none;color:var(--secondary);font-size:16px;line-height:24px}
.rm-case .case-section-nav a{padding:0;width:auto;white-space:nowrap}
.rm-case .case-section-nav a:hover{color:#307bff}
.rm-subcase{display:flex;flex-direction:column;gap:24px;border-top:1px solid var(--border);padding-top:48px;scroll-margin-top:96px}
.subcase-number,.rm-eyebrow{font-size:14px;line-height:22px;color:var(--secondary)}
.rm-subcase h2{font-size:44px;line-height:50px;letter-spacing:-2px;font-weight:400;margin:0}
.rm-case .case-video{width:100%;height:auto;margin:0;aspect-ratio:1664/514;object-fit:contain}
.rm-result-note{color:var(--secondary);font-size:16px;line-height:25px}
@media(min-width:901px){.rm-case .case-section-nav{margin-block:-56px}}
@media(max-width:900px){.rm-case .case-section-nav{margin-block:-16px}}
@media(max-width:760px){.rm-subcase{padding-top:32px}.rm-subcase h2{font-size:34px;line-height:40px;letter-spacing:-1.2px}}
@media(max-width:540px){.rm-case .case-section-nav{margin-block:-8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Align the selection model with the section title and body columns. */
@media(min-width:901px){
  
  
  
  
}

/* Two independent design illustrations; only the picker cycles through states. */
.rm-screen-panel{display:block;padding:32px;border-radius:14px;background:linear-gradient(120deg,#efff73 0%,#b9ed80 50%,#7fe2be 100%)}
.rm-picker{display:block;position:relative;container-type:inline-size;width:100%;aspect-ratio:1052/867;padding:0;border:0;background:transparent;color:#fff;cursor:pointer;text-align:left}
.rm-picker-state{position:absolute;inset:0;display:flex;align-items:center}
.rm-picker-state[hidden]{display:none}
.rm-picker-state img{width:100%;height:auto;pointer-events:none}
.rm-picker-state.compact{align-items:flex-start;top:12%;}
.rm-save{position:absolute;left:80.798%;top:78.232cqw;width:6.084%;height:4.183cqw;display:grid;place-items:center;border-radius:1.52cqw;background:#141b20;color:#fff;font:400 1.52cqw/1 Arial,sans-serif;pointer-events:none}
.compact .rm-save{top:52.281cqw}
.rm-check{position:absolute;left:50.5703%;top:23.1939cqw;width:3.0418%;height:6.0837cqw;background:url("assets/retail-media-case/checkbox-source.png") center/100% 100% no-repeat;pointer-events:none}
.rm-picker:focus-visible{outline:3px solid #141b20;outline-offset:4px;border-radius:12px}
.rm-selected-screen{width:100%;overflow:hidden;border-radius:12px;box-shadow:0 8px 28px #172b2338}
.case-figure .rm-selected-screen img{border-radius:0}
@media(max-width:760px){.rm-screen-panel{padding:20px 8px;border-radius:0}.rm-selected-screen{border-radius:6px}}

.rm-clip-defs{position:absolute;pointer-events:none}
.rm-picker-state img{border-radius:0!important;clip-path:url(#rm-clip-expanded)}
.rm-picker-state.compact img{clip-path:url(#rm-clip-compact)}
.rm-picker-state.empty-result img{clip-path:url(#rm-clip-empty)}
.rm-save{left:80.798%;width:6.084%;height:4.183cqw}
.rm-picker-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#product-picker{scroll-margin-top:96px}

@media(min-width:901px){
  
  
  
}

/* The arrow owns the column gutter; text never shares its space. */
/* Two steps share a row on desktop and stack in reading order on mobile. */
.rm-model{display:grid;grid-template-columns:minmax(0,1fr) 32px minmax(0,1.3fr);gap:20px;align-items:stretch;padding:32px;background:var(--media);border-radius:14px}
.rm-model-start,.rm-model-group{display:flex;flex-direction:column;gap:16px;min-width:0;padding:24px;font-size:18px;line-height:28px;overflow-wrap:break-word;border:1px solid var(--border);border-radius:12px;background:var(--background,#fff)}
.rm-model strong{font-size:22px;line-height:1.3;letter-spacing:-.4px}
.rm-model .rm-eyebrow{font-size:13px;line-height:20px;letter-spacing:.04em;text-transform:uppercase}
.rm-model-arrow{display:grid;place-items:center;align-self:center;width:32px;height:32px;font-size:28px;line-height:1}
.rm-model .rm-variants{display:grid;grid-template-columns:1fr;gap:8px;margin-top:4px}
.rm-model .rm-variants span{background:var(--media);border:0;padding:10px 12px}
@media(max-width:900px){
  .rm-model{grid-template-columns:minmax(0,1fr);gap:12px;padding:24px}
  .rm-model-arrow{justify-self:center;transform:rotate(90deg)}
}
@media(max-width:540px){
  .rm-model{padding:24px;border-radius:0}
  .rm-model-start,.rm-model-group{padding:20px;gap:12px;font-size:16px;line-height:25px}
  .rm-model strong{font-size:20px}
}

/* Same caption-and-navigation footer as the Space contract flow. */
.rm-picker-figure{display:block;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:var(--background,#fff)}
.rm-picker-figure>.rm-screen-panel{border-radius:0}
.case-figure .rm-picker-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;margin:0;font-size:14px;line-height:22px}
.rm-picker-toolbar p{flex:1;min-width:0;color:var(--secondary)}
.rm-picker-controls{display:flex;flex-shrink:0;gap:8px}
.rm-picker-arrow{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--border);border-radius:50%;background:transparent;color:var(--text);cursor:pointer}
.rm-picker-arrow svg{display:block;width:20px;height:20px}
.rm-picker-arrow:hover{background:var(--media)}
.rm-picker-arrow:focus-visible{outline:2px solid #141b20;outline-offset:2px}
@media(max-width:760px){.rm-picker-figure{border-left:0;border-right:0;border-radius:0}.case-page .rm-picker-toolbar{margin-inline:0}}

/* Match the graphite and lime Results styling in Yango Ads Space. */
.rm-platform-results{margin-top:32px;padding:32px;border-radius:14px;background:#1c212c;color:#eff2f7}
.rm-platform-results .rm-results-context{margin:0;font-size:16px;line-height:24px;color:#b8c0cf}
.rm-result-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin:24px 0}
.rm-result-numbers>div{display:flex;flex-direction:column;gap:8px;min-width:0}
.rm-result-numbers dt{order:1;font-size:14px;line-height:21px;color:#b8c0cf}
.rm-result-numbers dd{margin:0}
.rm-result-value{font-size:46px;line-height:1.05;letter-spacing:-2px;font-weight:400;white-space:nowrap}
.rm-result-comparison{order:2;font-size:14px;line-height:21px;color:#e3ff00}
.rm-platform-results .rm-results-scope{margin:0;padding-top:20px;border-top:1px solid #485161;font-size:14px;line-height:21px;color:#b8c0cf}
@media(max-width:900px){.rm-platform-results{padding:28px}}
@media(max-width:760px){
  .rm-platform-results{padding:24px;border-radius:0}
  .rm-result-numbers{gap:20px}
  .rm-result-value{font-size:38px;letter-spacing:-1.5px}
}
@media(max-width:540px){.rm-result-numbers{grid-template-columns:1fr;gap:28px}}

/* Keep both screenshot stages compact and fit the complete artwork. */
.rm-picker-figure>.rm-screen-panel,
#selected-products>.rm-screen-panel{display:flex;align-items:center;justify-content:center;height:650px;padding:32px;box-sizing:border-box}
.rm-picker{flex:none;width:min(100%,calc(586px * 1052 / 867));height:auto;outline:none}
.rm-picker:focus-visible{outline:none}
.rm-picker-figure:has(.rm-picker:focus-visible) .rm-picker-toolbar{background:var(--media)}
.rm-selected-screen{flex:none;width:min(100%,calc(586px * 2560 / 4318));height:auto}
@media(max-width:760px){
  .rm-picker-figure>.rm-screen-panel,#selected-products>.rm-screen-panel{padding:24px}
  .rm-picker{width:min(100%,calc(602px * 1052 / 867))}
  .rm-selected-screen{width:min(100%,calc(602px * 2560 / 4318))}
}

/* Product intent mapped to a complete group of feed rows. */
.rm-model{grid-template-columns:minmax(0,.8fr) 32px minmax(0,1.6fr);align-items:center}
.rm-model-start{border:0;background:transparent;padding:8px}
.rm-model-start p{margin:0;font-size:16px;line-height:1.55}
.rm-model-group{gap:14px}
.rm-feed-selection{display:flex;align-items:center;gap:8px;font-size:13px;line-height:20px;font-weight:600}
.rm-feed-selection>span{display:grid;place-items:center;width:20px;height:20px;border-radius:5px;background:var(--text);color:var(--background,#fff)}
.rm-feed{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px;line-height:18px}
.rm-feed-caption{caption-side:bottom;text-align:left;padding-top:10px;color:var(--secondary);font-size:11px}
.rm-feed th{text-align:left;font-weight:400;color:var(--secondary);font-size:11px;background:var(--media)}
.rm-feed th,.rm-feed td{padding:9px 8px;border-bottom:1px solid var(--border);overflow-wrap:anywhere}
.rm-feed th:nth-child(1){width:23%}.rm-feed th:nth-child(2){width:35%}.rm-feed th:nth-child(3){width:24%}.rm-feed th:nth-child(4){width:18%}
.rm-feed small{display:block;font-size:11px;color:var(--secondary)}
.rm-feed-chosen{background:#e8f4bc;outline:2px solid #718531;outline-offset:-1px;color:#23251d}
.rm-feed-chosen small{color:#53602d}.rm-feed-chosen td:nth-child(3){font-weight:700}
.rm-feed-other{color:var(--secondary)}
.rm-model .rm-feed-note{margin:0;font-size:13px;line-height:20px}
@media(max-width:1000px){.rm-model{grid-template-columns:minmax(0,1fr)}.rm-model-arrow{justify-self:center;transform:rotate(90deg)}}
@media(max-width:540px){.rm-model-group{padding:16px}.rm-feed th,.rm-feed td{padding:8px 4px}.rm-feed{font-size:11px}.rm-feed th{font-size:10px}.rm-model{padding:20px}.rm-model-start{padding:4px}}

/* Native Figma checkbox and Yango Ads selection accent. */
.rm-feed-selection>.rm-feed-checkbox{display:block;position:relative;flex:0 0 16px;width:16px;height:16px;overflow:hidden;border-radius:0;background:none}
.case-figure .rm-feed-checkbox img{position:absolute;left:-2px;top:-14px;width:32px;max-width:none;height:64px;border-radius:0}
.rm-feed-chosen{background:#f5ffb3;outline-color:#d2ed00;color:#141b20}
.rm-feed-chosen small{color:#526020}
#selected-products>.rm-screen-panel{height:650px;align-items:stretch}
#selected-products .rm-selected-screen{width:100%;height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
#selected-products .rm-selected-screen img{display:block;width:100%;height:auto}

.rm-scroll-track{grid-column:1/-1;min-width:0;position:relative}
#selected-products .rm-scroll-track>.rm-screen-panel{position:sticky;top:88px;display:flex;align-items:stretch;justify-content:center;height:650px;max-height:calc(100svh - 104px);padding:32px;box-sizing:border-box;margin:0}
#selected-products .rm-scroll-track .rm-selected-screen{overflow:hidden;scrollbar-gutter:auto}
@media(max-width:760px){#selected-products .rm-scroll-track>.rm-screen-panel{padding:24px;top:76px;max-height:calc(100svh - 92px)}}

/* Status transition illustration: alternate composition for small screens. */
.rm-status-diagram picture{display:block;width:100%}
.rm-status-diagram img{display:block;width:100%;height:auto}

/* Keep the long campaign screen in the document scroll chain. */
#selected-products .rm-scroll-track .rm-selected-screen{overflow:clip;overscroll-behavior:auto;touch-action:pan-y}
#selected-products .rm-scroll-track>.rm-screen-panel{width:100%}
.rm-status-diagram{padding:32px;background:linear-gradient(125deg,#efff73,#7adebc);border-radius:20px}
.rm-status-heading{margin-bottom:24px}
.rm-status-heading h3{margin:0 0 8px;font-size:20px;line-height:1.4;font-weight:400;letter-spacing:normal}
.rm-status-heading p{margin:0;font-size:16px;line-height:1.5;color:#35473e}
.rm-status-table-scroll{overflow-x:auto;border-radius:12px;background:white;overscroll-behavior-x:contain}
.rm-status-table{width:100%;min-width:760px;border-collapse:collapse;font-size:14px;line-height:1.4;color:#141b20}
.rm-status-table th{text-align:left;padding:14px 16px;font-weight:500;background:#141b20;color:white}
.rm-status-table thead tr:first-child th{color:#d7ff00;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.rm-status-table td{padding:10px 16px;border-bottom:1px solid #e0e5e6}
.rm-status-table tbody tr:nth-child(6n+1) td{border-top:3px solid #aeb9af}
.rm-status-table td:nth-child(3){min-width:180px;white-space:nowrap}
.rm-status-pill{display:inline-block;padding:4px 10px;border-radius:20px;background:#edf0f2;font-size:12px}
.rm-status-pill.active{background:#e5ff78}
.rm-status-action{display:inline-block;margin-left:8px;padding:4px 8px;border-radius:6px;background:#141b20;color:white;font-size:11px}
.rm-status-error{background:#fff1ee;color:#8f2d20;text-align:center;letter-spacing:.06em;font-size:12px}
.rm-status-legend{display:grid;grid-template-columns:1fr 1fr;gap:14px 32px;margin:24px 0 0;font-size:13px;line-height:1.5}
.rm-status-legend dt{font-weight:600}.rm-status-legend dd{margin:0;color:#35473e}
@media(max-width:600px){.rm-status-diagram{padding:20px 16px}.rm-status-heading h3{font-size:20px}.rm-status-legend{grid-template-columns:1fr;gap:12px}.rm-status-table{font-size:13px}}
