.makeup-guide-tabs{display:flex;flex-wrap:wrap;gap:8px 23px;margin:0 0 22px;border-bottom:1px solid #111}
.makeup-guide-tabs button{position:relative;padding:5px 0 14px;border:0;background:none;color:#777;font-size:13px}
.makeup-guide-tabs button:hover{color:#111}
.makeup-guide-tabs button[aria-selected=true]{color:#111;font-weight:600}
.makeup-guide-tabs button[aria-selected=true]::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:3px;background:#111}
.makeup-guide-panel[hidden],.articlegrid[hidden]{display:none}
.makeup-guide-heading{margin:0 0 20px}
.makeup-guide-heading h2{margin:0;font-size:22px;font-weight:500}
.makeup-guide-heading p{margin:6px 0 0;font-size:12px;color:#777}
.makeup-guide-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.makeup-guide-card{min-width:0;border:1px solid #111;display:flex;flex-direction:column}
.makeup-guide-card-wide{grid-column:1/-1}
.makeup-guide-card-heading{padding:17px 17px 13px}
.makeup-guide-card-heading>span{font-size:10px;color:#777}
.makeup-guide-card-heading h3{font-size:16px;font-weight:500;margin:4px 0 0;line-height:1.4}
.makeup-guide-image{display:grid;place-items:center;width:100%;min-height:300px;padding:12px;background:#fafafa;border:0;border-top:1px solid #111;border-bottom:1px solid #111;overflow:hidden}
.makeup-guide-card-wide .makeup-guide-image{min-height:0;padding:0}
.makeup-guide-crop{display:block;position:relative;overflow:hidden;width:min(100%,calc(var(--crop-ratio)*300px));aspect-ratio:var(--crop-ratio);background:#fff}
.makeup-guide-card-wide .makeup-guide-crop{width:100%}
.makeup-guide-crop img{position:absolute;display:block;max-width:none;width:var(--crop-width);height:auto;left:var(--crop-left);top:var(--crop-top)}
.makeup-guide-step{margin:14px 17px;font-size:12px;line-height:1.7;color:#666}
.makeup-guide-source{display:flex;flex-direction:column;align-items:start;gap:9px;padding:0 17px 17px;margin-top:auto}
.makeup-guide-source>span{font-size:10px;color:#888}
.makeup-guide-source button{display:inline-flex;align-items:center;gap:5px;font-size:11px;padding:0;background:none;border:0;color:#111}
.makeup-guide-source button svg{width:12px;height:12px}
@media(max-width:700px){.makeup-guide-tabs{gap:6px 19px}.makeup-guide-tabs button{font-size:12px;padding-bottom:12px}.makeup-guide-card-grid{gap:14px}.makeup-guide-card-heading{padding:12px}.makeup-guide-card-heading h3{font-size:14px}.makeup-guide-image{min-height:230px;padding:7px}.makeup-guide-crop{width:min(100%,calc(var(--crop-ratio)*230px))}.makeup-guide-step{margin:12px;font-size:11px}.makeup-guide-source{padding:0 12px 12px}.makeup-guide-heading h2{font-size:20px}}
@media(max-width:380px){.makeup-guide-card-grid{grid-template-columns:1fr}.makeup-guide-crop{width:min(100%,calc(var(--crop-ratio)*300px))}.makeup-guide-image{min-height:300px}}

.standalone-section{margin-top:42px}.maincolumn>section:first-child{margin-top:0}.maincolumn>section[hidden],.more[hidden]{display:none}.stacked-sidebar{margin-top:35px}.stacked-sidebar .sidehead{margin-bottom:14px}@media(max-width:700px){.standalone-section{margin-top:32px}}

.about-garden-copy{font-size:14px;line-height:1.9;color:#666;padding:10px 0 30px}.about-garden-copy h3{color:#222;font-size:24px;font-weight:500;margin:4px 0 18px}.about-garden-copy p{margin:0 0 18px}.about-garden-contact{display:inline-flex;align-items:center;gap:8px;border:1px solid #111;color:#111;padding:9px 15px;font-size:12px;margin-top:8px}.about-garden-contact:hover{background:#fafafa}#about-us{padding-bottom:32px}

/* Complete posters stay on the home page; all cropped steps live in a dialog. */
#headlines[hidden]{display:none}.mainlayout{margin-top:14px}
.makeup-cover-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.makeup-cover-card{min-width:0;border:1px solid #111;background:#fff}
.makeup-cover-image{display:block;width:100%;padding:0;border:0;border-bottom:1px solid #111;background:#fafafa}
.makeup-cover-image img{display:block;width:100%;height:390px;object-fit:contain;background:#fff}
.makeup-cover-image:hover img{filter:brightness(.98)}
.makeup-cover-copy{padding:16px 18px 18px}
.makeup-cover-copy>span{font-size:10px;letter-spacing:.3px;color:#777}
.makeup-cover-copy h3{font:400 23px/1.25 Georgia,serif;margin:7px 0 14px}
.makeup-cover-copy h3 button{font:inherit;padding:0;border:0;background:none;text-align:left;color:#111}
.makeup-cover-link{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:0;font-size:11px;color:#111}
.makeup-cover-link svg{width:12px;height:12px}.makeup-view-more{margin-top:18px}
.makeup-gallery-dialog{width:min(980px,calc(100vw - 32px));max-width:980px}
.makeup-dialog-intro{color:#777;font-size:13px;margin:0 0 22px}
.makeup-dialog-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 22px;font-size:12px;color:#777}
.makeup-dialog-toolbar button{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;font-size:12px;color:#111}
.makeup-dialog-toolbar svg{width:13px;height:13px}
.makeup-detail-grid{grid-template-columns:1fr}.makeup-detail-grid .makeup-guide-card-wide{grid-column:auto}
.makeup-detail-grid .makeup-guide-image{min-height:0;padding:18px}
.makeup-detail-grid .makeup-guide-crop{width:min(100%,calc(var(--crop-ratio)*480px))}
.makeup-detail-grid .makeup-guide-card-wide .makeup-guide-crop{width:100%}
.makeup-collection-grid .makeup-cover-image img{height:360px}
@media(max-width:700px){.makeup-cover-grid{gap:16px}.makeup-cover-image img{height:320px}.makeup-cover-copy{padding:13px}.makeup-cover-copy h3{font-size:20px}.makeup-gallery-dialog{padding:25px 18px}.makeup-detail-grid .makeup-guide-crop{width:min(100%,calc(var(--crop-ratio)*380px))}.makeup-dialog-toolbar{align-items:start;flex-direction:column;gap:8px}}
@media(max-width:420px){.makeup-cover-grid{gap:11px}.makeup-cover-image img{height:245px}.makeup-cover-copy{padding:11px}.makeup-cover-copy h3{font-size:18px}.makeup-cover-link{font-size:10px}.makeup-cover-copy>span{font-size:9px}}

.brand-directory-note{font-size:10px;color:#888;margin:8px 0 3px}#official-brand-directory .source{padding:11px 0}#official-brand-directory .source>span{font-size:11px;letter-spacing:.1px}#official-brand-directory .source small{font-size:9px;margin-top:3px}#official-brand-directory .source:hover>span{color:#111}#official-brand-directory .source:hover svg{transform:translate(2px,-2px)}

/* Shared grid rows keep the two editorial heading pairs level as content changes. */
#latest>.sectionhead,#new-launches>.sectionhead,.sidebar-intro>.sidebarSection:first-child>.sidehead,#official-brand-directory>.sidehead{height:42px;min-height:42px;box-sizing:border-box;margin-top:0;border-bottom:2px solid #111}
.sidebar-intro>.sidebarSection:first-child>.sidehead,#official-brand-directory>.sidehead{display:flex;align-items:center;padding:0;margin-bottom:14px}
@media(min-width:701px){
 .mainlayout{grid-template-areas:"guides briefing" "launches sources" "offers sources" "news sources" "about aboutside";row-gap:42px;align-items:start}
 .mainlayout:has(#articleResults:not([hidden])){grid-template-areas:"results results" "guides briefing" "launches sources" "offers sources" "news sources" "about aboutside"}
 .mainlayout>.maincolumn,.mainlayout>aside{display:contents}
 .maincolumn>.standalone-section{margin-top:0}
 #articleResults{grid-area:results}#latest{grid-area:guides}#new-launches{grid-area:launches}#beauty-offers{grid-area:offers}#beauty-news{grid-area:news}#about-us{grid-area:about}
 .sidebar-intro{grid-area:briefing}.sidebar-intro>.editorNote{margin-bottom:0}
 #official-brand-directory{grid-area:sources;margin-bottom:0}
 .mainlayout>aside>.stacked-sidebar{grid-area:aboutside;margin-top:0}
}
@media(max-width:700px){.sidebar-intro{grid-column:1/-1}.sidebar-intro>.sidebarSection{margin-bottom:29px}.sidebar-intro>.editorNote{margin-bottom:0}}

header.wrap>.navrow{display:flex;flex-wrap:nowrap;align-items:center;gap:18px;border-top:0;border-bottom:0}

@media(min-width:701px){.sidebar-intro #briefing{padding-top:var(--makeup-tab-height,42.1px)}}

header.wrap>.navrow nav{flex:1 1 auto;width:auto;max-width:none;min-width:0;flex-wrap:nowrap;gap:14px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
header.wrap>.navrow nav::-webkit-scrollbar{display:none}
header.wrap>.navrow nav>button,header.wrap>.navrow nav>a{font-size:12px;padding:15px 0}
header.wrap>.navrow .search{border-top:0}

.top-accent{height:16px;width:100%;background:#222}

header.wrap>.navrow .search{margin:0;flex:0 0 auto;width:auto;gap:9px;padding:7px 10px;border:1px solid #111;border-radius:0}
header.wrap>.navrow .search input{width:155px;padding:0;outline-offset:5px}
@media(max-width:1050px){header.wrap>.navrow{gap:12px}header.wrap>.navrow nav{gap:10px}header.wrap>.navrow nav>button,header.wrap>.navrow nav>a{font-size:11px}header.wrap>.navrow .search input{width:140px;font-size:11px}}
@media(max-width:700px){header.wrap>.navrow{gap:10px}header.wrap>.navrow .search input{width:120px}}

header.wrap>.masthead{justify-content:center}

#about-us>.sectionhead,.mainlayout>aside>.stacked-sidebar .sidehead{height:42px;min-height:42px;box-sizing:border-box;margin-top:0;border-bottom:2px solid #111}
.mainlayout>aside>.stacked-sidebar .sidehead{display:flex;align-items:center;padding:0;margin-bottom:14px}

@media(min-width:701px){.sidebar-intro{display:flex;flex-direction:column}.sidebar-intro #briefing>.briefstory:last-child{margin-bottom:0}}

@media(min-width:701px){
 #latest{display:flex;flex-direction:column;align-self:stretch}
 #makeupGuidePanel{display:flex;flex-direction:column;flex:1;padding-bottom:var(--guide-note-tail,0px)}
 #makeupGuidePanel>.makeup-cover-grid{margin-bottom:18px}
 #makeupGuidePanel>.makeup-view-more{margin-top:auto}
 .sidebar-intro{align-self:stretch}
 .sidebar-intro>.editorNote{margin-top:auto;min-height:var(--guide-more-height,42px)}
}
