/* Integration and additional layouts. No overrides of reference colors or hover effects. */
.at-header .at-logo > img { display:block; width:100%; height:auto; }
.atlas-ccl300 .atlas-source-brand-head > img { object-fit:contain; }
.atlas-ccl300 .atlas-shape-image > img { object-fit:contain; }
.atlas-ccl300 .client-logo-slot > a { display:block; width:100%; height:100%; }
.atlas-ccl300 .client-logo-slot > a > img { width:100%; height:100%; padding:5%; background:#fff; object-fit:contain; }
.atlas-ccl300 .client-logo-slot:has(img) { background:#fff; }
.atlas-ccl300 .line-gallery > figure { display:flex; flex-direction:column; }
.atlas-ccl300 .line-gallery > figure > img { min-height:0; flex:1; width:100%; object-fit:contain; }
.atlas-ccl300 .line-gallery figcaption { font:12px/1.5 var(--body); padding:10px; }
/* Dynamic count, calculated by PHP; the six-row reference resolves identically. */
.atlas-ccl300 :is(#configuration-and-customization-options,[data-atlas-kind="customization"]) .prose { grid-template-rows:repeat(var(--atlas-option-count,6),auto); }
.atlas-ccl300 :is(#configuration-and-customization-options,[data-atlas-kind="customization"]) .prose > p:first-child { grid-row:1 / span var(--atlas-option-count,6); }
/* Extra section families reuse the reference's materials, spacing and type scale. */
.atlas-ccl300 .atlas-generic-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.atlas-ccl300 .atlas-generic-card { padding:32px; background:var(--white); border:1px solid var(--line); border-top:2px solid var(--gold); min-width:0; }
.atlas-ccl300 .atlas-generic-card h3 { margin-block:22px 18px; font-size:26px; }
.atlas-ccl300 .atlas-generic-card p,.atlas-ccl300 .atlas-generic-card li { color:var(--muted); font-size:14px; line-height:1.85; }
.atlas-ccl300 .atlas-generic-image,.atlas-ccl300 .atlas-component-image { aspect-ratio:16/10; margin-bottom:20px; }
.atlas-ccl300 .atlas-generic-image img,.atlas-ccl300 .atlas-component-image img { width:100%; height:100%; object-fit:contain; }
.atlas-ccl300 .atlas-generic .prose { margin-bottom:32px; }
.atlas-ccl300 .prose ul { padding-left:1.2em; }
.atlas-ccl300 .prose li { padding-block:8px; }
/* WordPress toolbar belongs to administration, not the anonymous reference. */
body.admin-bar .at-header { top:calc(32px - var(--at-top-height)); }
body.admin-bar .atlas-ccl300.atlas-ccl300--embedded { --atlas-sticky-offset:calc(var(--at-bar-height) + 33px); }
@media(max-width:782px) {
 body.admin-bar .at-header { top:calc(46px - var(--at-top-height)); }
 body.admin-bar .atlas-ccl300.atlas-ccl300--embedded { --atlas-sticky-offset:calc(var(--at-bar-height) + 47px); }
}
@media(max-width:600px) {
 body.admin-bar .at-header { top:calc(0px - var(--at-top-height)); }
 body.admin-bar .atlas-ccl300.atlas-ccl300--embedded { --atlas-sticky-offset:calc(var(--at-bar-height) + 1px); }
}
@media(max-width:960px) { .atlas-ccl300 .atlas-generic-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .atlas-ccl300 .atlas-generic-grid { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { .atlas-ccl300 .client-logo-card[aria-hidden="true"] { display:none; } }
/* Neutral fallback for pages, archives, search and 404; never used to replace a line section. */
.atlas-basic { color:#1d2423; background:#fdfbf4; padding:clamp(48px,7vw,112px) 0; font:16px/1.8 'Helvetica Neue',Arial,sans-serif; }
.atlas-basic * { box-sizing:border-box; }
.atlas-basic-wrap { width:calc(100% - clamp(44px,8.4vw,168px)); max-width:1456px; margin-inline:auto; }
.atlas-basic h1 { margin:0 0 40px; font-size:clamp(36px,4.5vw,72px); font-weight:500; letter-spacing:-.05em; line-height:1.1; }
.atlas-basic h2 { font-size:28px; font-weight:500; line-height:1.25; letter-spacing:-.03em; }
.atlas-basic a { color:inherit; text-underline-offset:.25em; }
.atlas-basic a:hover { color:#b58a38; }
.atlas-basic img { display:block; max-width:100%; height:auto; }
.atlas-basic-prose { max-width:960px; color:#616963; }
.atlas-basic-kicker { color:#b58a38; }
.atlas-list-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.atlas-list-card { background:#fff; border:1px solid #dcded6; border-top:3px solid #b58a38; padding:24px; }
.atlas-list-card > a { text-decoration:none; }
.atlas-list-card img { width:100%; aspect-ratio:16/10; object-fit:contain; }
.atlas-search-form { display:flex; gap:14px; align-items:end; margin-top:30px; flex-wrap:wrap; }
.atlas-search-form input { display:block; padding:12px; border:1px solid #dcded6; }
.atlas-search-form button { padding:13px 24px; border:0; background:#000; color:#fff; cursor:pointer; }
.screen-reader-text { border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); height:1px; margin:-1px; overflow:hidden; padding:0; position:absolute!important; width:1px; word-wrap:normal!important; }
@media(max-width:960px) { .atlas-list-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .atlas-list-grid { grid-template-columns:1fr; } }

/* Empty optional slots collapse only when there is no data; the reference is unaffected. */
.atlas-ccl300 .spec-layout:not(:has(.spec-intro > *)) { grid-template-columns:minmax(0,1fr); }
.atlas-ccl300 .spec-intro:empty { display:none; }
.atlas-ccl300 [data-atlas-kind="overview"] .split:not(:has(.feature-panel)) { grid-template-columns:1fr; }
.atlas-ccl300 .hero-grid:not(:has(.hero-visual)) { grid-template-columns:minmax(0,1fr); }
.atlas-ccl300 .hero-grid:not(:has(.hero-visual)) .share { grid-column:1; grid-row:8; justify-content:flex-start; }

/* 1.0.1 — requested corrections only. Original reference CSS remains untouched. */
/* Rich-text links retain surrounding typography; buttons/navigation keep their own designs. */
.atlas-ccl300 a.atlas-inline-link, .atlas-ccl300 :is(p,li,td,th) a {
 color:inherit!important; font:inherit!important; letter-spacing:inherit!important;
 text-decoration:none!important;
}
.atlas-ccl300 a.atlas-inline-link:hover, .atlas-ccl300 :is(p,li,td,th) a:hover { color:var(--gold,#b58a38)!important; }
.atlas-ccl300 .crumb { text-transform:uppercase; }
.atlas-ccl300 .crumb a { color:inherit; font:inherit; text-decoration:none; }
.atlas-ccl300 .crumb a:hover { color:var(--gold); }
.atlas-ccl300 .crumb .crumb-current { color:inherit; padding:0; }
/* Reserve intrinsic width for FINISHED SNACK without increasing the panel or clipping text. */
.atlas-ccl300 .feature-journey {
 font-size:clamp(17px,1.7vw,27px);
 grid-template-columns:minmax(0,max-content) minmax(1.55em,1fr) max-content;
 column-gap:14px;
}
.atlas-ccl300 .feature-journey > b { text-align:center; justify-self:stretch; }
.atlas-ccl300 .feature-journey > span:last-child { white-space:nowrap; }
.atlas-ccl300 .feature-panel { container-type:inline-size; }
@container (max-width:350px) {
 .atlas-ccl300 .feature-journey { grid-template-columns:min-content minmax(1.55em,1fr) max-content; }
}
@container (max-width:285px) {
 .atlas-ccl300 .feature-journey { font-size:clamp(14px,6.35cqi,17px); column-gap:6px; }
 .atlas-ccl300 .feature-journey > b { font-size:1.55em; }
}
/* 1.0.2: desktop preset = percentage of the available .wrap, not viewport width.
   Both lower cards fit the same width as the large card, including the original 20px gap. */
@media screen and (min-width:1201px) and (hover:hover) and (pointer:fine) {
 .atlas-ccl300 [data-atlas-kind="gallery"] .line-gallery {
  width:60%; max-width:100%; margin-inline:auto;
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
 .atlas-ccl300 [data-atlas-kind="gallery"] .atlas-gallery-scale-50 { width:50%; }
 .atlas-ccl300 [data-atlas-kind="gallery"] .atlas-gallery-scale-70 { width:70%; }
 .atlas-ccl300 [data-atlas-kind="gallery"] .line-gallery > * { width:100%; height:auto; }
 .atlas-ccl300 [data-atlas-kind="gallery"] .line-gallery > :first-child { width:100%; justify-self:center; }
}
/* Category links and their targets share the same stable WordPress term IDs. */
.atlas-category-index,.atlas-category-children { display:flex; flex-wrap:wrap; gap:14px 26px; }
.atlas-category-index { padding-block:24px; border-block:1px solid #dcded6; margin-block:28px 44px; }
.atlas-category-children { margin-block:18px 24px; }
.atlas-category-index a,.atlas-category-children a,.atlas-category-section .atlas-basic-prose a {
 color:inherit; text-decoration:none;
}
.atlas-category-index a:hover,.atlas-category-children a:hover,.atlas-category-section .atlas-basic-prose a:hover { color:#b58a38; }
.atlas-category-section { padding-block:28px 44px; scroll-margin-top:calc(var(--at-bar-height) + 27px); }
.atlas-category-section h2 { margin-bottom:24px; }
.atlas-category-section .atlas-list-card h3 { font-size:24px; line-height:1.25; font-weight:500; }
body.admin-bar .atlas-category-section { scroll-margin-top:calc(var(--at-bar-height) + 59px); }
@media(min-width:601px) and (max-width:782px) { body.admin-bar .atlas-category-section { scroll-margin-top:calc(var(--at-bar-height) + 73px); } }
@media(max-width:600px) { body.admin-bar .atlas-category-section { scroll-margin-top:calc(var(--at-bar-height) + 27px); } }

/* 1.0.3: preserve each Production Line Views image's intrinsic aspect ratio on
   phone/tablet/coarse-pointer layouts. Desktop 50/60/70 presets remain unchanged. */
@media screen and (max-width:1200px), screen and (hover:none), screen and (pointer:coarse) {
 .atlas-ccl300 [data-atlas-kind="gallery"] .line-gallery > *,
 .atlas-ccl300 [data-atlas-kind="gallery"] .line-gallery > :first-child {
  aspect-ratio:auto;
  height:auto;
 }
 .atlas-ccl300 [data-atlas-kind="gallery"] .line-gallery > img {
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
 }
 .atlas-ccl300 [data-atlas-kind="gallery"] .line-gallery > figure {
  height:auto;
 }
 .atlas-ccl300 [data-atlas-kind="gallery"] .line-gallery > figure > img {
  flex:0 0 auto;
  width:100%;
  height:auto;
  object-fit:contain;
 }
}
