/* Dunmore brand guide stylesheet (separate from style.css) */

:root {
    --d-brand-primary: #003968;
    --d-brand-accent: #004eaa;
    --d-brand-surface: #ffffff;

    --d-logo-blue: #1689ca;
    --d-logo-black: #000000;
    --d-steel-pink: #de7c50;

    --d-pms-7545: #2f3439;
    --d-pms-2955: #003968;
    --d-pms-2170: #004eaa;
    --d-pms-7699: #004eaa;
    --d-pms-2145: #004eaa;
    --d-pms-5425: #004eaa;
    --d-pms-4201: #4c6960;
    --d-pms-5635: #004eaa;
    --d-pms-7564: #de7c50;
    --d-pms-1245: #c89210;
}

body {
    background: #ffffff;
    color: #1a1a1a;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 57, 104, 0.12);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.brand-top-bar {
    height: 28px;
    background: linear-gradient(90deg, var(--d-pms-2955), var(--d-pms-2145));
}

.site-header .brand-header {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 14px 20px 12px;
    gap: 16px;
}

.brand-main-logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    justify-self: start;
}

.brand-main-logo img {
    display: block;
    width: auto;
    height: 58px;
    object-fit: contain;
}

.brand-company-right {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
}

.brand-company-right img {
    display: block;
    width: auto;
    height: 42px;
    max-width: min(36vw, 320px);
    object-fit: contain;
}

.brand-center-title {
    justify-self: center;
    font-weight: 800;
    color: var(--d-pms-7564);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: clamp(15px, 1.6vw, 21px);
    line-height: 1;
}

.news-container {
    padding-top: 26px;
}

.news-hero .news-kicker {
    background: transparent;
    color: var(--d-pms-7564);
    border: 0;
}

.news-hero .news-title {
    color: #000000;
}

.news-hero .news-title span {
    color: var(--d-pms-7564);
}

.heritage {
    background: linear-gradient(135deg, var(--d-pms-2955), var(--d-pms-7699));
    border-radius: 38px;
    overflow: hidden;
    margin: 38px 0;
    box-shadow: 0 24px 50px rgba(0, 57, 104, 0.26);
    position: relative;
}

.heritage::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.08);
}

.heritage-card {
    background: #ffffff;
    border: 1px solid rgba(0, 78, 170, 0.38);
    box-shadow: 0 18px 40px rgba(0, 57, 104, 0.24);
    text-align: center;
    border-radius: 24px;
}

.heritage-card h2 {
    color: var(--d-brand-primary);
    margin-bottom: 16px;
}

.heritage-card h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 99px;
    background: var(--d-pms-7564);
}

.heritage-card > p {
    color: var(--d-pms-7545);
    max-width: 760px;
    margin: 0 auto;
}

.heritage-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.heritage .stat {
    min-width: 220px;
    border-radius: 14px;
    padding: 20px 22px;
    border: 1px solid rgba(0, 78, 170, 0.28);
    background: #ffffff;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.heritage .stat h3 {
    color: var(--d-pms-2145);
}

.heritage .stat p {
    color: #415569;
}

/* Events */
.events-row {
    gap: 26px;
    align-items: stretch;
    padding: 8px 4px 14px;
}

.event-card {
    min-width: 400px;
    min-height: 280px;
    border-radius: 16px;
    border: 0;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
    padding: 30px;
    gap: 14px;
}

.event-meta {
    color: var(--d-pms-2145);
}

.event-name {
    color: #1d232a;
}

.event-link {
    color: var(--d-pms-2955);
    font-weight: 700;
}

.event-link:hover {
    color: var(--d-pms-2145);
}

.event-logo img {
    height: 34px;
    opacity: 1;
}

.quotes {
    background: linear-gradient(135deg, var(--d-pms-2955), var(--d-pms-7699));
}

.quotes .quotes-title-wrap {
    display: grid;
    gap: 12px;
    justify-items: start;
}

.quotes .quote-brand-logos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.quotes .quote-brand-logos img {
    display: block;
    width: auto;
    max-height: 52px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.94);
    padding: 8px 12px;
    border-radius: 8px;
}

.quotes .quote-btn {
    background: #ffffff;
    color: var(--d-brand-primary);
    border: 1px solid rgba(0, 57, 104, 0.2);
}

.quotes .quote-btn:hover {
    background: rgba(0, 78, 170, 0.12);
}

.featured-video .video-card {
    background: #ffffff !important;
    border: 2px solid var(--d-pms-2955);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.featured-video {
    background: transparent;
}

.featured-video .video-text,
.featured-video .video-title {
    color: var(--d-brand-primary);
}

.featured-video .video-meta {
    color: #ffffff;
    background: var(--d-pms-2955);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.featured-video .video-desc {
    color: var(--d-pms-7545);
}

.featured-video .video-cta {
    border: 1px solid rgba(0, 0, 0, 0.22);
    background: var(--d-pms-7564);
    color: #ffffff;
    box-shadow: none;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.featured-video .video-cta:hover {
    background: #c86f48;
    border-color: rgba(0, 0, 0, 0.28);
}

.customer-keypoint {
    background: var(--d-pms-2955);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.featured-customer .customer-card {
    background: #ffffff !important;
    border: 2px solid var(--d-pms-2955);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.featured-customer .customer-title {
    color: var(--d-pms-2955);
}

.featured-customer .customer-desc {
    color: var(--d-pms-7545);
}

.customer-cta {
    background: var(--d-pms-7564);
    border: 1px solid rgba(0, 0, 0, 0.22);
    color: #ffffff;
    box-shadow: none;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.customer-cta:hover {
    background: #c86f48;
    border-color: rgba(0, 0, 0, 0.28);
}

.featured-video .video-cta:focus-visible,
.customer-cta:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.news-grid-more,
.news-grid-more:visited {
    background: var(--d-brand-primary);
}

.news-grid-more:hover {
    background: var(--d-pms-2145);
}

.site-footer {
    background: #000000;
    color: #ffffff;
    margin-top: 70px;
    padding: 22px 0;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.newsroom-return {
    margin-bottom: 10px;
}

.newsroom-return-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    background: var(--d-pms-7564);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 999px;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.newsroom-return-link:hover {
    color: #ffffff;
    background: #c86f48;
}

.site-footer p {
    color: #d0d0d0;
    margin: 0;
    font-size: 13px;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--d-steel-pink);
    color: #ffffff;
    font-size: 25px;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(222, 124, 80, 0.45);
    cursor: pointer;
    z-index: 1200;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, background 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: #c86f48;
}

.back-to-top:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

@media (max-width: 960px) {
    .site-header .brand-header {
        padding: 12px 14px 10px;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 10px;
    }

    .brand-main-logo img {
        height: 48px;
    }

    .brand-main-logo {
        justify-self: center;
    }

    .brand-company-right {
        width: auto;
        justify-content: center;
        justify-self: center;
    }

    .brand-company-right img {
        height: 34px;
        max-width: 240px;
    }

    .quotes .quote-brand-logos img {
        max-height: 44px;
    }

    .heritage-card {
        padding: 36px 26px;
    }
}

@media (max-width: 640px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 46px;
        height: 46px;
        font-size: 22px;
    }
}
