/* Homepage palette and classes retained from the existing published page. */
.awd-v125-portal-home,
.awd-v125-portal-home * { box-sizing: border-box; }
.awd-v125-portal-home { width: 100%; max-width: 100%; min-width: 0; margin-inline: auto; }
.awd-v125-portal-home .portal-hero-section {
    position: relative;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    left: auto !important;
    padding: 150px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    overflow: hidden;
    background-color: #0f171e;
    background-image: none !important;
}
.awd-v125-portal-home .portal-hero-image {
    position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
    object-fit: cover; object-position: center; z-index: 0;
}
.awd-v125-portal-home .portal-hero-overlay {
    position: absolute; inset: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 30, 0.95) 0%, rgba(15, 23, 30, 0.7) 100%);
    z-index: 1;
}
.awd-v125-portal-home .portal-hero-content { position: relative; z-index: 2; width: 100%; max-width: 800px; min-width: 0; }
.awd-v125-portal-home .portal-hero-title {
    color: #ffffff; font-size: 3.5rem; font-weight: 800; margin: 0 0 20px;
    letter-spacing: -1px; line-height: 1.15; overflow-wrap: anywhere; white-space: normal;
}
.awd-v125-portal-home .portal-hero-brand { white-space: normal; overflow-wrap: anywhere; }
.awd-v125-portal-home .portal-hero-subtitle { color: #e0e0e0; font-size: 1.2rem; line-height: 1.6; margin-bottom: 40px; overflow-wrap: anywhere; }
.awd-v125-portal-home .hero-btn-blue {
    display: inline-flex !important; justify-content: center !important; align-items: center !important;
    margin: 0 auto 20px !important; background-color: #00aced !important; color: #ffffff !important;
    padding: 15px 30px !important; border-radius: 6px !important; font-size: 14px !important;
    font-weight: bold !important; text-transform: uppercase !important; text-decoration: none !important;
    letter-spacing: 1px !important; box-shadow: 0 10px 20px rgba(0, 172, 237, 0.3) !important;
    transition: all 0.3s ease !important; border: 2px solid #00aced !important;
}
.awd-v125-portal-home .hero-btn-blue:hover { background-color: transparent !important; border-color: #00aced !important; color: #00aced !important; transform: translateY(-2px) !important; }
.awd-v125-portal-home .portal-hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.awd-v125-portal-home .hero-btn-primary,
.awd-v125-portal-home .hero-btn-secondary {
    display: inline-flex !important; justify-content: center !important; align-items: center !important;
    padding: 15px 30px; border-radius: 6px; font-size: 14px; font-weight: bold;
    text-transform: uppercase; text-decoration: none; transition: all 0.3s ease; letter-spacing: 1px;
}
.awd-v125-portal-home .hero-btn-blue,
.awd-v125-portal-home .hero-btn-primary,
.awd-v125-portal-home .hero-btn-secondary { max-width: 100%; min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.5; text-align: center; }
.awd-v125-portal-home .hero-btn-primary { background-color: #e63946; color: #ffffff !important; border: 2px solid #e63946; box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3); }
.awd-v125-portal-home .hero-btn-primary:hover { background-color: transparent; color: #e63946 !important; transform: translateY(-2px) !important; }
.awd-v125-portal-home .hero-btn-secondary { background-color: transparent; color: #ffffff !important; border: 2px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(5px); }
.awd-v125-portal-home .hero-btn-secondary:hover { background-color: rgba(255, 255, 255, 0.1); border-color: #ffffff; transform: translateY(-2px) !important; }
.awd-v125-portal-home a:focus-visible { outline: 3px solid #00aced; outline-offset: 4px; }
.awd-v125-portal-home .portal-custom-footer { width: 100%; max-width: 100%; padding-inline: 20px; }
.awd-v125-portal-home .portal-footer-content { max-width: 100%; overflow-wrap: anywhere; }
.awd-v125-portal-home .portal-footer-links,
.awd-v125-portal-home .portal-social-links { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: center; }
.awd-v125-portal-home .portal-business-details { display: flex; flex-wrap: wrap; gap: 32px; background: #0f171e; color: #e0e0e0; padding: 40px clamp(20px, 5vw, 64px); }
.awd-v125-portal-home .portal-business-details section { flex: 1 1 280px; min-width: 0; overflow-wrap: anywhere; }
.awd-v125-portal-home .portal-business-details h2,
.awd-v125-portal-home .portal-business-details h3 { color: #ffffff; }
.awd-v125-portal-home .portal-business-details a { color: #00aced; }
.awd-v125-portal-home .portal-business-details address { font-style: normal; margin-bottom: 16px; }
.awd-v125-portal-home .portal-social-links { justify-content: flex-start; }
@media only screen and (max-width: 767px) {
    .awd-v125-portal-home .portal-hero-section { padding: 80px 20px; }
    .awd-v125-portal-home .portal-hero-title { font-size: clamp(1.75rem, 7vw, 2.2rem); }
    .awd-v125-portal-home .portal-hero-buttons { flex-direction: column !important; gap: 10px !important; align-items: center; }
    .awd-v125-portal-home .hero-btn-blue { margin-bottom: 10px !important; }
    .awd-v125-portal-home .hero-btn-blue,
    .awd-v125-portal-home .hero-btn-primary,
    .awd-v125-portal-home .hero-btn-secondary { width: 100% !important; max-width: 350px !important; padding: 12px 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .awd-v125-portal-home .hero-btn-blue,
    .awd-v125-portal-home .hero-btn-primary,
    .awd-v125-portal-home .hero-btn-secondary { transition: none !important; transform: none !important; }
}

/* The homepage shortcode adds a wrapper inside the theme's growing flex main.
   Continue that chain so the hero fills spare height, without fixing the page
   height or clipping longer text. These scoped selectors also win over the
   older body.home rules saved in WordPress Additional CSS. */
html body .awd-v125-portal-home {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    min-height: 0;
}
html body .awd-v125-portal-home .portal-hero-section {
    flex: 1 0 auto;
    min-height: 0 !important;
    padding: clamp(40px, 8vh, 96px) clamp(20px, 4vw, 64px) !important;
}
html body .awd-v125-portal-home .portal-hero-content {
    min-width: 0;
    max-width: 1200px !important;
}
html body .awd-v125-portal-home .portal-hero-title {
    font-size: clamp(26px, 4vw, 56px) !important;
    line-height: 1.2 !important;
    margin: 0 0 20px !important;
}
html body .awd-v125-portal-home .portal-hero-title .portal-hero-brand {
    white-space: normal !important;
    overflow-wrap: anywhere;
}
html body .awd-v125-portal-home .portal-hero-subtitle {
    font-size: clamp(16px, 1.5vw, 20px) !important;
    margin: 0 auto 32px !important;
}
html body .awd-v125-portal-home .portal-hero-buttons {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 16px !important;
    max-width: 1040px;
    margin-inline: auto;
}
html body .awd-v125-portal-home .portal-hero-buttons > a {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100% !important;
    width: auto !important;
    margin: 0 !important;
    padding: 16px 20px !important;
    min-height: 56px;
    font-size: 14px !important;
    line-height: 1.5 !important;
}
html body .awd-v125-portal-home .portal-custom-footer,
html body .awd-v125-portal-home .portal-business-details {
    flex: 0 0 auto;
}
html body .awd-v125-portal-home .portal-custom-footer {
    margin-top: 0 !important;
}
@media (max-width: 959px) {
    html body .awd-v125-portal-home .portal-hero-buttons {
        flex-direction: column !important;
        max-width: 400px;
        gap: 12px !important;
    }
    html body .awd-v125-portal-home .portal-hero-buttons > a {
        flex: 0 0 auto;
        width: 100% !important;
        padding: 14px 18px !important;
        min-height: 52px;
    }
    html body .awd-v125-portal-home .portal-hero-section {
        padding-block: clamp(32px, 6vh, 64px) !important;
    }
    html body .awd-v125-portal-home .portal-footer-links .footer-divider {
        display: none !important;
    }
    html body .awd-v125-portal-home .portal-footer-links a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}
