/* Ten footer collections share content hierarchy and responsive behavior.
   Default and the established Chamber design are intentionally outside this scope. */
.yl-footer-design .footer-collection.footer-layout {
    --footer-ink: #fff;
    --footer-muted: #ffffffd9;
    --footer-line: #ffffff28;
    --footer-accent: var(--yl-theme-accent, #0f766e);
    --footer-icon-bg: #ffffff12;
    --footer-paper: #ffffff0c;
    color: var(--footer-ink);
    background: linear-gradient(110deg, var(--design-primary), var(--design-secondary) 70%, var(--design-primary));
    font-family: YlFooterPoppins, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    border-top: 0;
}
.yl-footer-design .footer-collection .footer-inner {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding: 52px clamp(20px, 3vw, 48px) 0;
}
.yl-footer-design .footer-collection .footer-main {
    display: grid;
    grid-template-columns: minmax(220px, 1.05fr) minmax(0, 2.15fr) minmax(220px, 1fr);
    gap: clamp(28px, 3vw, 48px);
    align-items: start;
    text-align: left;
}
.yl-footer-design .footer-collection .footer-main > * { min-width: 0; height: auto; }
.yl-footer-design .footer-collection .footer-main > .footer-brand {
    display: block;
    grid-column: auto;
    grid-row: auto;
    order: 0;
    align-self: start;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}
.yl-footer-design .footer-collection .footer-brand-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    max-width: none;
    font-family: inherit;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -.025em;
}
.yl-footer-design .footer-collection .footer-brand-link img {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    max-height: 96px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    object-fit: contain;
    object-position: left center;
}
.yl-footer-design .footer-collection .footer-brand-link span { text-wrap: balance; }
.yl-footer-design .footer-collection .footer-about {
    grid-column: auto;
    max-width: 44ch;
    margin: 16px 0 0;
    color: var(--footer-muted);
    font-size: 14px;
    line-height: 1.85;
}
.yl-footer-design .footer-collection .footer-menu-directory {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    align-items: start;
    gap: 28px;
    min-width: 0;
}
.yl-footer-design .footer-collection .footer-menu-column { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.yl-footer-design .footer-collection .footer-menu-directory > .footer-links { min-width: 0; }
.yl-footer-design .footer-collection .footer-links { padding: 0; border: 0; height: auto; background: transparent; }
.yl-footer-design .footer-collection .footer-links h2,
.yl-footer-design .footer-collection .footer-main > .footer-contact h2 {
    display: block;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    color: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -.015em;
}
.yl-footer-design .footer-collection .footer-links h2::after,
.yl-footer-design .footer-collection .footer-main > .footer-contact h2::after {
    content: '';
    display: block;
    width: 28px;
    height: 3px;
    margin-top: 12px;
    background: var(--footer-accent);
}
.yl-footer-design .footer-collection .footer-links ul { display: block; margin: 0; padding: 0; }
.yl-footer-design .footer-collection .footer-links li {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    color: var(--footer-muted);
    font-size: 14px;
    line-height: 1.8;
}
.yl-footer-design .footer-collection .footer-links li:last-child { margin-bottom: 0; }
.yl-footer-design .footer-collection .footer-links li > a { display: inline-block; padding: 0; }
.yl-footer-design .footer-collection .footer-links ul ul { padding: 8px 0 0 12px; margin-top: 8px; border-left: 1px solid var(--footer-line); }
.yl-footer-design .footer-collection .footer-links a:hover { color: var(--footer-ink) !important; }
.yl-footer-design .footer-collection .footer-main > .footer-contact {
    display: block;
    grid-column: auto;
    grid-row: auto;
    order: 2;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}
.yl-footer-design .footer-collection .footer-contact-line {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.8;
    font-style: normal;
    text-align: left;
}
.yl-footer-design .footer-collection .footer-contact-line > i {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--footer-icon-bg);
    color: inherit;
    opacity: 1;
    font-size: 16px;
}
.yl-footer-design .footer-collection .footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 42px;
    max-width: 100%;
    padding: 9px 15px;
    border: 1px solid var(--footer-line);
    border-radius: var(--design-radius);
    font-size: 13px;
    font-weight: 700;
}
.yl-footer-design .footer-collection .footer-map-link:hover { background: var(--footer-icon-bg); text-decoration: none; }
.yl-footer-design .footer-collection .footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    justify-content: normal;
    gap: 20px;
    margin: 40px 0 0;
    padding: 24px 0;
    border-top: 1px solid var(--footer-line);
    background: transparent;
    color: var(--footer-muted);
    font-size: 12px;
    text-transform: none;
}
.yl-footer-design .footer-collection .chamber-bottom-social { display: flex; justify-content: flex-end; margin: 0; min-width: 0; }
.yl-footer-design .footer-collection .footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; float: none; }
.yl-footer-design .footer-collection .footer-social a { width: 38px; height: 38px; border-color: var(--footer-line); font-size: 18px; }
.yl-footer-design .footer-collection .footer-social a:hover { background: var(--footer-icon-bg); color: var(--footer-ink) !important; }
.yl-footer-design .footer-collection .footer-credits { padding-top: 8px; }
.yl-footer-design .footer-collection .footer-main:not(:has(.footer-links)) { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.yl-footer-design .footer-collection .footer-menu-directory:not(:has(.footer-links)) { display: none; }
.yl-footer-design .footer-collection .footer-main:not(:has(> .footer-contact)) { grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr); }

/* 01 / An understated, compact directory. */
.yl-footer-design .footer-simple.footer-collection { background: linear-gradient(90deg, var(--design-primary), var(--design-secondary)); border-top: 3px solid var(--footer-accent); }
.yl-footer-design .footer-simple.footer-collection .footer-inner { padding-top: 32px; }
.yl-footer-design .footer-simple.footer-collection .footer-brand-link { font-size: 18px; gap: 16px; }
.yl-footer-design .footer-simple.footer-collection .footer-brand-link img { width: 230px; }
.yl-footer-design .footer-simple.footer-collection .footer-bottom { margin-top: 28px; }

/* 02 / Centered brand signature, grounded navigation below. */
.yl-footer-design .footer-centered.footer-collection .footer-main { grid-template-columns: minmax(0, 2.4fr) minmax(230px, 1fr); }
.yl-footer-design .footer-centered.footer-collection .footer-main > .footer-brand { grid-column: 1/-1; text-align: center; padding-bottom: 30px; border-bottom: 1px solid var(--footer-line); }
.yl-footer-design .footer-centered.footer-collection .footer-brand-link { align-items: center; max-width: 720px; margin-inline: auto; font-size: 25px; }
.yl-footer-design .footer-centered.footer-collection .footer-brand-link img { object-position: center; }
.yl-footer-design .footer-centered.footer-collection .footer-about { margin-inline: auto; }

/* 03 / Light corporate directory with a precise brand divider. */
.yl-footer-design .footer-corporate.footer-collection { background: linear-gradient(135deg, var(--design-primary), var(--design-secondary)); }
.yl-footer-design .footer-corporate.footer-collection .footer-main > .footer-brand { padding-right: 28px; border-right: 1px solid var(--footer-line); }
.yl-footer-design .footer-corporate.footer-collection .footer-links h2 { color: inherit; }

/* 04 / Charcoal with a restrained theme-colored glow. */
.yl-footer-design .footer-midnight.footer-collection {
    --footer-ink: #fff;
    --footer-muted: #c2ced8;
    --footer-line: #ffffff24;
    --footer-icon-bg: #ffffff0f;
    background: radial-gradient(ellipse at top left, var(--design-primary), transparent 75%), var(--design-secondary);
}
.yl-footer-design .footer-midnight.footer-collection .footer-brand-link img { background: #fff; padding: 10px 14px; border-radius: var(--design-radius); }

/* 05 / A distinctive identity panel beside a balanced directory. */
.yl-footer-design .footer-split.footer-collection .footer-main > .footer-brand {
    padding: 28px;
    background: #ffffff0d;
    border: 1px solid var(--footer-line);
    border-radius: var(--design-radius);
    color: #fff;
    box-shadow: 0 16px 36px color-mix(in srgb, var(--design-primary) 14%, transparent);
}
.yl-footer-design .footer-split.footer-collection .footer-about { color: #ffffffd9; }
.yl-footer-design .footer-split.footer-collection .footer-brand-link { font-size: 19px; }

/* 06 / Three considered surfaces, rather than a card for every menu. */
.yl-footer-design .footer-cards.footer-collection { background: linear-gradient(135deg, var(--design-primary), var(--design-secondary)); }
.yl-footer-design .footer-cards.footer-collection .footer-main { gap: 20px; }
.yl-footer-design .footer-cards.footer-collection .footer-main > * {
    padding: 26px;
    border: 1px solid var(--footer-line);
    border-radius: var(--design-radius);
    background: var(--footer-paper);
    box-shadow: 0 8px 24px #172b3c05;
}
.yl-footer-design .footer-cards.footer-collection .footer-menu-directory { gap: 24px; }
.yl-footer-design .footer-cards.footer-collection .footer-brand-link { font-size: 19px; }

/* 07 / A full brand ribbon, with a clear directory beneath it. */
.yl-footer-design .footer-ribbon.footer-collection .footer-main { grid-template-columns: minmax(0, 2.4fr) minmax(230px, 1fr); }
.yl-footer-design .footer-ribbon.footer-collection .footer-main > .footer-brand {
    grid-column: 1/-1;
    padding: 30px;
    border-radius: var(--design-radius);
    background: #ffffff0d;
    border: 1px solid var(--footer-line);
    color: #fff;
}
.yl-footer-design .footer-ribbon.footer-collection .footer-brand-link { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: center; gap: 32px; font-size: 25px; }
.yl-footer-design .footer-ribbon.footer-collection .footer-ribbon-copy { min-width: 0; text-align: center; }
.yl-footer-design .footer-ribbon.footer-collection .footer-ribbon-copy > span { display: block; }
.yl-footer-design .footer-ribbon.footer-collection .footer-about { max-width: none; margin: 12px 0 0; color: #ffffffd9; text-align: center; }

/* 08 / A well-organized directory, preceded by a slim brand masthead. */
.yl-footer-design .footer-sitemap.footer-collection .footer-main { grid-template-columns: minmax(0, 2.4fr) minmax(230px, 1fr); }
.yl-footer-design .footer-sitemap.footer-collection .footer-main > .footer-brand { grid-column: 1/-1; order: 0; padding-bottom: 28px; border-bottom: 1px solid var(--footer-line); }
.yl-footer-design .footer-sitemap.footer-collection .footer-brand-link { flex-direction: row; align-items: center; gap: 32px; }
.yl-footer-design .footer-sitemap.footer-collection .footer-brand-link img { flex: 0 1 240px; width: 240px; }
.yl-footer-design .footer-sitemap.footer-collection .footer-about { max-width: none; }
.yl-footer-design .footer-sitemap.footer-collection .footer-links li { border-bottom: 1px solid var(--footer-line); padding-bottom: 10px; }

/* 09 / Editorial typography and fine, warm rules. */
.yl-footer-design .footer-editorial.footer-collection { background: linear-gradient(135deg, var(--design-secondary), var(--design-primary)); }
.yl-footer-design .footer-editorial.footer-collection .footer-main > .footer-brand { border-top: 3px solid var(--footer-accent); padding-top: 24px; }
.yl-footer-design .footer-editorial.footer-collection .footer-brand-link { font-family: Georgia, serif; font-size: clamp(25px, 2vw, 32px); font-weight: 400; line-height: 1.4; }
.yl-footer-design .footer-editorial.footer-collection .footer-links h2 { font-family: Georgia, serif; font-size: 21px; }

/* 10 / Contact is the focal point on desktop, after navigation on mobile. */
.yl-footer-design .footer-contact.footer-collection .footer-main { grid-template-columns: minmax(230px, 1fr) minmax(0, 3fr); }
.yl-footer-design .footer-contact.footer-collection .footer-main > .footer-contact {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.6fr auto;
    align-items: start;
    gap: 18px 24px;
    grid-column: 1/-1;
    order: -1;
    padding: 28px 32px;
    border-radius: var(--design-radius);
    background: #ffffff0d;
    border: 1px solid #ffffff28;
    color: #fff;
    --footer-line: #ffffff40;
    --footer-icon-bg: #ffffff18;
}
.yl-footer-design .footer-contact.footer-collection .footer-main > .footer-contact h2 { grid-column: 1/-1; margin: 0; font-size: 22px; }
.yl-footer-design .footer-contact.footer-collection .footer-contact-line { margin: 0; }
.yl-footer-design .footer-contact.footer-collection .footer-map-link { align-self: start; }

@media (max-width: 1150px) {
    .yl-footer-design .footer-collection .footer-main { grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); gap: 32px; }
    .yl-footer-design .footer-collection .footer-main > .footer-contact { grid-column: 1/-1; padding-top: 24px; border-top: 1px solid var(--footer-line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
    .yl-footer-design .footer-collection .footer-main > .footer-contact h2 { grid-column: 1/-1; margin-bottom: 8px; }
    .yl-footer-design .footer-collection .footer-map-link { justify-self: start; }
    .yl-footer-design .footer-collection .footer-bottom { grid-template-columns: 1fr auto; }
    .yl-footer-design .footer-collection .footer-bottom > .footer-copyright { grid-column: 1; grid-row: 2; }
    .yl-footer-design .footer-collection .footer-bottom > .footer-trust-row { grid-column: 1; grid-row: 1; justify-self: start; }
    .yl-footer-design .footer-collection .footer-bottom > .chamber-bottom-social { grid-column: 2; grid-row: 1; }
    .yl-footer-design .footer-collection .footer-bottom > .footer-credits { grid-column: 1/-1; grid-row: 3; }
    .yl-footer-design .footer-contact.footer-collection .footer-main > .footer-contact { grid-template-columns: 1fr 1fr; order: -1; padding: 26px; }
}
@media (max-width: 650px) {
    .yl-footer-design .footer-collection .footer-inner { padding: 28px 20px 0; }
    .yl-footer-design .footer-collection.footer-layout.yl-footer-mobile-ready .footer-main { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
    .yl-footer-design .footer-collection .footer-main > .footer-brand { order: 0; padding: 0; border: 0; text-align: left; }
    .yl-footer-design .footer-collection .footer-brand-link { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; font-size: 20px; }
    .yl-footer-design .footer-collection .footer-brand-link img { flex: none; width: 240px; max-height: 80px; }
    .yl-footer-design .footer-collection:is(.footer-ribbon, .footer-sitemap) .footer-brand-link { display: flex; flex-direction: column; align-items: center; gap: 16px; }
    .yl-footer-design .footer-collection:is(.footer-ribbon, .footer-sitemap) .footer-brand-link img { flex: none; width: 240px; max-width: 100%; height: auto; }
    .yl-footer-design .footer-collection .footer-about { font-size: 13px; margin-top: 12px; }
    .yl-footer-design .footer-collection .footer-menu-directory { display: block; order: 1; width: 100%; padding: 0; border: 0; background: transparent; box-shadow: none; }
    .yl-footer-design .footer-collection .footer-menu-directory .footer-links { padding: 0; margin: 0; border: 0; border-bottom: 1px solid var(--footer-line); background: transparent; }
    .yl-footer-design .footer-collection .footer-links h2 { display: block; font-family: inherit; font-size: 16px; margin: 0; }
    .yl-footer-design .footer-collection .footer-links h2::after { display: none; }
    .yl-footer-design .footer-collection .footer-menu-toggle { min-height: 50px; padding: 12px 0; cursor: pointer; }
    .yl-footer-design .footer-collection .footer-menu-panel { padding: 4px 0 16px; }
    .yl-footer-design .footer-collection .footer-menu-panel li { font-size: 14px; margin-bottom: 8px; }
    .yl-footer-design .footer-collection .footer-links li > a { padding-block: 4px; }
    .yl-footer-design .footer-collection.footer-layout.yl-footer-mobile-ready .footer-main > .footer-contact { display: block; order: 2; grid-column: auto; padding: 20px 0 0; border: 0; border-top: 1px solid var(--footer-line); background: transparent; color: inherit; border-radius: 0; }
    .yl-footer-design .footer-collection .footer-main > .footer-contact h2 { font-size: 17px; margin-bottom: 22px; }
    .yl-footer-design .footer-collection .footer-contact-line { font-size: 14px; margin-bottom: 18px; }
    .yl-footer-design .footer-collection .footer-contact-line > i { flex-basis: 32px; width: 32px; height: 32px; }
    .yl-footer-design .footer-collection.footer-layout.yl-footer-mobile-ready .footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 28px 0 0; padding: 22px 0; text-align: center; }
    .yl-footer-design .footer-collection .chamber-bottom-social { order: 0; width: 100%; justify-content: center; }
    .yl-footer-design .footer-collection .footer-copyright { order: 1; font-size: 11px; }
    .yl-footer-design .footer-collection .footer-trust-row { order: 2; width: 100%; }
    .yl-footer-design .footer-collection .footer-credits { order: 3; font-size: 11px; padding-top: 0; }
    .yl-footer-design .footer-centered.footer-collection .footer-brand-link { align-items: center; }
    .yl-footer-design .footer-centered.footer-collection .footer-main > .footer-brand { text-align: center; }
    .yl-footer-design .footer-split.footer-collection .footer-main > .footer-brand,
    .yl-footer-design .footer-ribbon.footer-collection .footer-main > .footer-brand { padding: 24px; }
    .yl-footer-design .footer-cards.footer-collection .footer-main > .footer-brand { padding: 22px; border: 1px solid var(--footer-line); }
    .yl-footer-design .footer-editorial.footer-collection .footer-brand-link { font-size: 27px; }
    .yl-footer-design .footer-contact.footer-collection .footer-main > .footer-contact { --footer-line: #ffffff28; --footer-icon-bg: #ffffff12; }
}
@media (prefers-reduced-motion: no-preference) {
    .yl-footer-design .footer-collection .footer-social a,
    .yl-footer-design .footer-collection .footer-map-link { transition: background-color .18s ease, border-color .18s ease; }
}
