/* Base Styles & Variables */
:root {
    --primary-color: #592d61; /* Deep Purple */
    --secondary-color: #D78A69; /* Peach/Orange */
    --secondary-hover: #C57B5A;
    --text-dark: #333333;
    --text-light: #555555;
    --bg-light: #F9F9F9;
    --white: #FFFFFF;
    /* Icon Colors */
    --icon-yellow: #F4C430;
    --icon-green: #8CC63F;
    --icon-teal: #00A99D;
    --icon-pink: #ED1E79;
    /* Typography */
    --font-heading: 'Libre Baskerville', serif;
    --font-body: 'Montserrat', sans-serif;
    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 16px;
}

.mt-4 {
    margin-top: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.header-actions .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.header-actions .btn-primary:hover {
    background: transparent !important;
    background-color: transparent !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    box-shadow: none;
}

.header-actions .btn-primary:hover i {
    color: var(--primary-color) !important;
}

.btn-secondary {
    background: #C57F5D;
    background: linear-gradient(90deg, rgba(197, 127, 93, 1) 0%,rgba(251, 202, 166, 1) 51%,rgba(222, 147, 116, 255) 99%);
    color: var(--primary-color);
    border: none;
}

.btn-secondary:hover {
    background: #C57F5D;
    background: linear-gradient(45deg, rgba(197, 127, 93, 1) 0%,rgba(251, 202, 166, 1) 51%,rgba(222, 147, 116, 255) 99%);
    box-shadow: 0 4px 12px rgba(215, 138, 105, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    border-color: var(--text-dark);
    background-color: #f4f0f5;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.badge-line {
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-color);
    padding: 4px 8px;
    border: 1px solid var(--primary-color);
}

/* --- Header Section --- */
.top-bar {
    background: #f4f0f5;
    border-bottom: 1px solid #EAEAEA;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-inner {
    display: flex;
    justify-content: end !important;
    align-items: center;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.empty-left {
    display: none;
}


.top-bar-right a {
    border-radius: 8px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-links a {
    color: var(--primary-color);
    font-size: 18px;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.divider {
    width: 1px;
    height: 14px;
    background-color: var(--primary-color);
}

.top-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.top-link:hover {
    color: var(--primary-color);
}

.main-header {
    background-color: #f4f0f5;
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top:5px;
}

.header-inner::after {
    content: none;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-weight: 500;
    font-size: 15px;
    color: var(--primary-color);
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: all .25s ease;
}

.main-nav a:hover {
    border: 1px solid var(--primary-color);
    background: transparent;
    text-decoration: none;
}

.header-actions .btn-primary::after {
    content: none !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions .btn-primary {
    background: var(--primary-color) !important;
    text-decoration: none !important;
}

 .header-actions .btn-primary i {
     color: var(--white) !important;
 }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--white);
    overflow: hidden;
}

.hero .hero-inner {
    align-items: center;
    background: var(--white);
    width: 100% !important;
}

.hero .hero-inner .hero-content h1 {
    font-size: 28px;
    line-height: 1.5;
    margin-bottom: 24px;
    color: #222;
}

.hero .hero-inner .hero-content p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 90%;
}

.hero .hero-inner .hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 32px;
}

.hero-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.hero-links p {
    font-weight: 500;
}

.dot {
    font-weight: bold;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* --- Quick Links Bar --- */
.quick-links {
    background-color: #f4f0f5;
    padding: 0;
    position: relative;
    z-index: 10;
}

.quick-links > .container {
    width: 100% !important;
}

.quick-links-inner {
    display: flex;
    gap: 20px;
}

.quick-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    color: var(--white);
    border-right: 1px solid rgba(255,255,255,0.1);
    font-weight: 500;
    font-size: 15px;
    background: var(--primary-color);
    border-radius: 4px;
}

.quick-link:last-child {
    border-right: none;
}

.quick-link:hover {
    background-color: rgba(255,255,255,0.1);
}
.ql-icon {
    font-size: 21px;
    display: flex;
}

/* --- About Section --- */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about > .container {
    width: 100%;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 10px 10px 0 var(--primary-color);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* --- Areas of Care --- */
.areas-of-care {
    background-color: var(--primary-color);
    padding: 80px 0;
    color: var(--white);
}

.light-text h2, .light-text p {
    color: var(--white);
}

.section-header {
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-header p {
    line-height: 1.7;
}

.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
/* ── Care Card base ── */
/* ── Care Card base ── */
.care-card {
    background-color: var(--white);
    border-radius: 0 !important;
    padding: 30px 20px;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    border: 3px solid transparent;
}

    .care-card:hover {
        transform: translateY(-5px);
    }

    /* ── Full card borders ── */
    .care-card:has(.icon-mh) {
        border-color: var(--icon-yellow);
    }

    .care-card:has(.icon-rc) {
        border-color: var(--icon-green);
    }

    .care-card:has(.icon-cy) {
        border-color: var(--icon-pink);
    }

    .care-card:has(.icon-cm) {
        border-top: 3px solid var(--icon-teal);
        border-left: 3px solid var(--icon-teal);
        border-bottom: 3px solid var(--icon-teal);
        border-right: 3px solid var(--icon-teal);
    }

    /* ── Inner wrapper ── */
    .care-card > div {
        position: relative;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

/* ── Top row: accent line LEFT, icons RIGHT ── */
.card-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
    position: static; /* remove absolute */
}

    /* Accent line as pseudo on card-icons */
    .card-icons::before {
        content: "";
        display: block;
        width: 36px;
        height: 3px;
        flex-shrink: 0;
    }

.care-card:has(.icon-mh) .card-icons::before {
    background-color: var(--icon-yellow);
}

.care-card:has(.icon-rc) .card-icons::before {
    background-color: var(--icon-green);
}

.care-card:has(.icon-cm) .card-icons::before {
    background-color: var(--icon-teal);
}

.care-card:has(.icon-cy) .card-icons::before {
    background-color: var(--icon-pink);
}

/* Icons group pushed to the right */
.card-icons-group {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

/* ── Hexagonal icons ── */
.care-icon {
    width: 34px;
    height: 34px;
    border-radius: 0 !important;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10px;
}

.icon-mh {
    background-color: var(--icon-yellow);
    color: var(--text-dark);
}

.icon-ad {
    background-color: var(--icon-yellow);
    color: var(--text-dark);
}

.icon-rc {
    background-color: var(--icon-green);
    color: var(--white);
}

.icon-cm {
    background-color: var(--icon-teal);
    color: var(--white);
}

.icon-pc {
    background-color: var(--icon-teal);
    color: var(--white);
}

.icon-cy {
    background-color: var(--icon-pink);
    color: var(--white);
}

/* ── Remove old ::before on care-card ── */
.care-card::before {
    content: none;
}

/* ── Typography ── */
.care-card h3 {
    font-size: 19px;
    margin-bottom: 15px;
    min-height: 50px;
    padding-right: 0;
}

.care-card p {
    font-size: 14px;
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 20px;
}

/* ── Card link ── */
.card-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color);
}

.card-link:hover {
    color: var(--secondary-color);
}

/* --- Facilities --- */
.facilities {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.carousel-nav:hover {
    background-color: var(--secondary-color);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    overflow: hidden;
    flex-grow: 1;
}

.facility-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.10);
}

.facility-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.facility-info {
    padding: 20px;
}

.facility-info h3 {
    font-size: 17px;
    margin-bottom: 10px;
    /*min-height: 45px;*/
}

.campus {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
    font-weight: 600;
}

.address {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.help-finding-banner {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px 30px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.10);
}

.extra-corner {
    position: relative;
}

.extra-corner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 30px;
    border-radius: 6px 0 0 0;
    border-top: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
}

.extra-corner::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 30px;
    border-radius: 0 0 6px 0;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.help-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.help-icon i{
    color: var(--white);
}

.help-text {
flex-grow: 1;
margin-left: 20px;
}

.help-text h3 {
    font-size: 21px;
    margin-bottom: 5px;
}

.help-text p {
    color: var(--text-light);
    font-size: 15px;
}

/* --- Blog Preview --- */
.blog-preview {
    padding: 80px 0;
}

.blog-header {
    margin-bottom: 30px;
}

.blog-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.blog-header-inner h2 {
    font-size: 24px;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 500;
}

.view-all:hover {
    color: var(--primary-color);
}

.blog-card {
    display: flex;
    background-color: var(--white);
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.10);
    border: 1px solid #EAEAEA;
    border-radius: 6px 0 0 0;
}

.blog-card.extra-corner::after, .blog-card.extra-corner::before {
    z-index: 1;
}

.blog-image {
    width: 38%;
    height: 325px;
    border-radius: 6px 0 0 0;
}

    .blog-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 6px 0 0 0;
    }

.blog-content {
    width: 62%;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.tag {
    font-size: 14px;
    line-height: 1.33;
    padding: 4px 10px;
    font-weight: 400;
}

.tag-purple {
    background-color: var(--primary-color);
    color: var(--white);
}

.tag-dark {
    background-color: var(--text-dark);
    color: var(--white);
}

.blog-date {
    font-size: 14px;
    color: var(--text-light);
}

.blog-content h3 {
    font-size: 20px;
    line-height: 1.33;
    margin-bottom: 15px;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* --- Footer --- */
.main-footer {
    background-color: #222222;
    color: #EAEAEA;
    padding-top: 10px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.footer-logo {
    flex-shrink: 0;
    width: 250px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    flex-grow: 1;
}

.footer-col h4 {
    color: var(--white);
    font-size: 14px;
    line-height: 1.3;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-family: var(--font-heading);
    font-weight: 400;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #CCCCCC;
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--white);
}

.contact-info strong {
    display: block;
    color: var(--white);
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 600;
}

.contact-info p {
    color: #CCCCCC;
    font-size: 14px;
    line-height: 1.5;
}

.footer-middle {
    border-top: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
    padding: 20px 0;
    margin-bottom: 60px;
}

.footer-middle ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-middle ul li a {
    font-size: 16px;
    font-weight: 500;
    color: #CCCCCC;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    font-size: 14px;
    color: #999;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a:hover {
    color: var(--white);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .cards-grid-4, .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-inner, .about-inner, .blog-card {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        height: 350px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-nav, .header-actions .btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .quick-links-inner {
        flex-direction: column;
    }

    .quick-link {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .cards-grid-4, .facilities-grid, .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .help-finding-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .help-text {
        margin-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/*#region Home page (Juan) */
section.hero {
    display: grid;
    align-items: center !important;
    grid-template-columns: 1fr 1fr;
}
/*#endregion */

/* isolate new header from legacy main.css */
#new-header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#new-header li {
    display: list-item;
}

#new-header .main-nav ul {
    display: flex;
    gap: 25px;
}

#new-header .main-nav li {
    display: block;
}

/* override skeleton container */
main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/*.hero .hero-inner {*/
/*display: grid !important;*/
/*grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}*/

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.main-nav ul li {
    padding: 0;
    background: none !important;
}

.top-bar-inner {
    border-bottom: 1px solid var(--primary-color) !important;
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
}

.hero .hero-inner h1 {
    font-size: 32px;
}

.hero .hero-inner p {
    margin-bottom: 16px;
}

.hero-buttons .btn-outline::before {
    content: none;
}

.carousel-wrapper .carousel-nav i {
    color: white;
}

.hero-buttons .btn-outline:hover {
    color: var(--primary-color);
    /*text-decoration:none;*/
}

.quick-links .quick-links-inner > div {
    display:flex;
    gap:20px;
    justify-content:space-between;
}
.quick-links .quick-links-inner {
 display:block;
 padding: 16px 0;
}

.quick-links .quick-links-inner .quick-link span, .quick-links .quick-links-inner .quick-link .ql-icon em {
    color: white !important;
}

.quick-links .quick-links-inner .quick-link:hover {
    background: var(--white) !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.quick-links .quick-links-inner .quick-link:hover span,
.quick-links .quick-links-inner .quick-link:hover .ql-icon em {
    color: var(--primary-color) !important;
}

.main-footer .footer-top .footer-col ul, .main-footer .footer-middle ul {
    padding: 0;
}
.main-footer .footer-top .footer-col ul li, .main-footer .footer-middle ul li {
    padding: 0;
    background: none;
}

.footer-bottom .copyright, .footer-bottom .legal-links a {
    color:#999;
}

@media (min-width: 1000px) {
    div.blog-items .four.columns {
        width: 100%;
        margin-left: 4%;
    }
}

div.blog-item {
    position: relative;
    max-width: 100%;
    min-height: 100%;
    margin: 0 auto;
    margin-bottom: 40px;
    border: 1px solid #cccccc;
    display: flex;
}

div.blog-item-img {
    text-align: center;
    height: 325px;
    width: 28%;
    overflow: hidden;
    height: 325px;
    width: 28%;
    overflow: hidden;
}

.container div.blog-item-img img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

div.blog-item-content {
    width: 72%;
}

.carousel-nav {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
}

.facilities-container {
    overflow: hidden;
    width: 100%;
}

.facilities-grid {
    display: flex;
    transition: transform 0.4s ease;
}

.facility-card {
    min-width: 25%;
    padding: 10px;
    box-sizing: border-box;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.nav-prev {
    left: -40px;
}

.nav-next {
    right: -40px;
}

/* Slider container */
.carousel-wrapper {
    position: relative;
    margin-top: 40px;
}

/* Hide overflow */
.facilities-container {
    overflow: hidden;
    position: relative;
}

/* slider track */
.facilities-grid {
    display: flex !important;
    transition: transform .45s ease;
}

/* card width = 4 items */
.facility-card {
    flex: 0 0 calc(25% - 20px);
    margin-right: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

/* image */
.facility-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* nav buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 10px;
    background: #592d61;
    color: white;
    border: none;
    z-index: 5;
}

.nav-prev {
    left: -25px;
}

.nav-next {
    right: -25px;
}

/* fade shadow like figma */
.facilities-container:before,
.facilities-container:after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.facilities-container:before {
    left: 0;
    background: linear-gradient(to right,#f9f9f9,transparent);
}

.facilities-container:after {
    right: 0;
    background: linear-gradient(to left,#f9f9f9,transparent);
}

.facility-card:hover {
    transform: translateY(-5px);
    transition: .25s;
}


/* =============================================================
   OurFacilities Carousel  –  standalone styles
   Depends on: --primary-color (#592d61) from site root vars
   ============================================================= */

/* ── Layout shell ─────────────────────────────────────────── */
.fac-carousel {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    position: relative;
}

/* ── Clipping window ──────────────────────────────────────── */
.fac-window {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    /* STATE 1 — at start: right fade only, no left fade */
    -webkit-mask-image: linear-gradient(to right, black 0%, black 88%, transparent 100%);
    mask-image: linear-gradient(to right, black 0%, black 88%, transparent 100%);
}

    /* STATE 2 — mid scroll: fade both sides */
    .fac-window.fac--mid {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 88%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 8%, black 88%, transparent 100%);
    }

    /* STATE 3 — at end: left fade only, no right fade */
    .fac-window.fac--end {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 8%, black 100%);
    }

/* ── Sliding track ────────────────────────────────────────── */
.fac-track {
    display: flex;
    gap: 20px;
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ── Cards ────────────────────────────────────────────────── */
.fac-card {
    flex: 0 0 calc(32.2% - 7px);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    cursor: pointer;
}

.fac-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(89, 45, 97, 0.16);
}

/* ── Image ────────────────────────────────────────────────── */
.fac-img {
    width: 100%;
    height: 186px;
    overflow: hidden;
    background: #ede8f0;
}

.fac-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.38s ease;
}

.fac-card:hover .fac-img img {
    transform: scale(1.04);
}

/* ── Orange accent line — sits at top of body, below image ── */
.fac-line {
    display: block;
    width: 40px;
    height: 3px;
    background-color: #D78A69; /* matches --secondary-color */
    border-radius: 2px;
    margin-bottom: 14px;
}

/* ── Body ─────────────────────────────────────────────────── */
.fac-body {
    padding: 20px 20px 24px;
}

    /* Title — dark charcoal, matches image 1 */
    .fac-body h3 {
        font-family: 'Libre Baskerville', serif;
        font-size: 15px;
        font-weight: 700;
        color: #592d61;
        line-height: 1.4;
        margin: 0 0 8px;
    }

/* Campus/location — purple, matches image 1 */
.fac-campus {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #746e6e;
    margin: 0 0 10px;
    line-height: 1.4;
}

/* Address row */
.fac-address,
a.fac-address {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #666;
    line-height: 1.45;
    margin: 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fac-address i {
    color: #592d61;
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
}

a.fac-address:hover {
    color: #592d61;
}

a.fac-address:hover span {
    text-decoration: underline;
}

/* ── Nav buttons ──────────────────────────────────────────── */
.fac-nav {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 7px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.fac-nav i {
    color: #fff;
    line-height: 1;
}

/* Active — purple */
.fac-nav:not(:disabled) {
    background: #592d61;
    box-shadow: 0 4px 14px rgba(89, 45, 97, 0.28);
}

.fac-nav:not(:disabled):hover {
    background: #3d2050;
    box-shadow: 0 6px 20px rgba(89, 45, 97, 0.38);
}

/* Disabled — muted grey */
.fac-nav:disabled {
    background: #ccc3d0;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.55;
}


/* ── Responsive ───────────────────────────────────────────── */

/* Tablet: 2 full + partial 3rd */
@media (max-width: 1024px) {
    .fac-card {
        flex: 0 0 calc(47% - 7px);
    }
}

/* Mobile: 1 full + partial 2nd */
@media (max-width: 640px) {
    .fac-card {
        flex: 0 0 calc(84% - 7px);
    }

    .fac-nav {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

.fac-img {
    border-bottom: 3px solid #592d61;
}

/* =============================================================
   BlogHome – style additions / overrides
   Add these to your main stylesheet (or a blog-specific CSS)
   ============================================================= */

/* ── Blog card: corner bracket decoration ── */
.blog-item.extra-corner {
    position: relative;
    border: none; /* remove old full border */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    border-radius: 4px;
    background: #fff;
}

/* top-left bracket */
.blog-item.extra-corner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 34px;
    border-top: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
    border-radius: 4px 0 0 0;
    z-index: 1;
}

/* bottom-right bracket */
.blog-item.extra-corner::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 44px;
    height: 34px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    border-radius: 0 0 4px 0;
    z-index: 1;
}

/* ── Date + categories row ── */
.blog-item-date-cat {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

/* Category tags — purple filled pills */
.blog-item-category a {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-body);
    padding: 4px 12px;
    border-radius: 3px;
    text-decoration: none;
    margin-right: 4px;
    transition: background 0.2s ease;
}

.blog-item-category a:hover {
    background-color: #3d2050;
}

/* Remove the old " | " separator injected in code-behind */
.blog-item-category {
    font-size: 0; /* hides the " | " text node */
}

/* Date — plain grey text, after the tags */
.blog-item-date {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-light);
    white-space: nowrap;
}

/* ── Blog title ── */
.blog-item-title h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    margin: 0 0 14px;
}

/* ── Short description ── */
.blog-item-short-desc p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 24px; /* space above button */
}

/* ── Read Full Story button — already uses .btn.btn-secondary ── */
/* btn-secondary is already peach/gold in your existing styles   */
/* Just ensure consistent sizing here:                           */
.blog-item-content .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* ← center the text */
    gap: 8px;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: 4px;
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    width: 31% !important; /* ← full width */
    box-sizing: border-box;
}

/* ── Blog item layout ── */
div.blog-item {
    display: flex;
    align-items: stretch;
    border: 1px solid #eee;
    margin-bottom: 32px;
}

div.blog-item-img {
    height: 100%;
    width: 38%;
    min-height: 300px;
    flex-shrink: 0;
    overflow: hidden;
}

div.blog-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

div.blog-item-content {
    width: 62%;
    padding: 36px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    div.blog-item {
        flex-direction: column;
    }

    div.blog-item-img,
    div.blog-item-content {
        width: 100%;
    }

    div.blog-item-img {
        min-height: 220px;
    }

    div.blog-item-content {
        padding: 24px 20px;
    }
}

.top-bar-right i {
    color: var(--primary-color);
}

.btn-outline .fa-location-dot {
    color: var(--primary-color) !important;
}

.btn-outline:hover em,
.btn-outline:hover em::before,
.btn-outline:hover i,
.btn-outline:hover i::before {
    color: var(--white) !important;
}

.top-link.badge-text {
    text-decoration: none !important; 
    cursor: default; 
}

.top-link.badge-text:hover {
    text-decoration: none !important;
    cursor: default;
}

a {
   text-decoration: none !important; 
}

.btn-outline:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.btn-outline:hover i {
    color: var(--white) !important;
}

.quick-link {
    transition: all 0.25s ease;
    cursor: pointer;
}

.quick-link:hover {
    background: transparent !important;
    border: 1px solid var(--white);
    color: var(--white);
}

.quick-link:hover span,
.quick-link:hover .ql-icon em {
    color: var(--white) !important;
}

.quick-link {
    transition: all 0.25s ease;
    cursor: pointer;
}

.quick-link:hover {
    background: var(--white) !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.quick-link:hover span {
    color: var(--primary-color) !important;
}

.quick-link:hover .ql-icon em {
    color: var(--primary-color) !important;
}

.quick-link:hover .ql-icon {
    color: var(--primary-color) !important;
}

.header-actions btn btn-primary i::after {
    content:none;
}
/* ── Search Dropdown Bar ── */
.search-bar-dropdown {
    display: none;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 24px;
    align-items: center;
    gap: 14px;
    height: 52px;
    position: relative;
    z-index: 99;
    box-sizing: border-box;
}

.search-bar-dropdown.active {
    display: flex;
}

.search-bar-dropdown .search-icon {
    color: #555;
    font-size: 15px;
    flex-shrink: 0;
}

/* ── Legacy control wrappers — flatten to flex ── */
.search-bar-dropdown .searchPanel,
.search-bar-dropdown .tableSearch,
.search-bar-dropdown .div-table,
.search-bar-dropdown .div-table-row {
    display: flex !important;
    width: 100% !important;
    flex: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.search-bar-dropdown .div-table-cell {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
}

.search-bar-dropdown .corner_tops,
.search-bar-dropdown .corner_bottoms {
    width: 100% !important;
    display: flex !important;
}

/* ── Input field ── */
.search-bar-dropdown #ctl00_SearchText1_tbSearch,
.search-bar-dropdown input.tbSearch {
    width: 100% !important;
    height: 52px !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: var(--text-dark) !important;
    text-transform: none !important;
    text-align: left !important;
    padding: 0 8px !important;
    letter-spacing: 0 !important;
    border-radius: 0 !important;
    -webkit-appearance: none !important;
}

.search-bar-dropdown input.tbSearch::placeholder {
    color: #aaa !important;
    font-size: 15px !important;
    font-weight: 400 !important;
}

/* ── Hide Go button and label ── */
.search-bar-dropdown .last-child,
.search-bar-dropdown #ctl00_SearchText1_btSearch,
.search-bar-dropdown #ctl00_SearchText1_lbsearch,
.search-bar-dropdown span#lbsearch {
    display: none !important;
}

/* ── Close (X) button ── */
.search-close-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: color 0.2s ease;
}

.search-close-btn:hover {
    color: var(--primary-color);
}

.div-table-row .div-table-cell .corner_tops::before, .div-table-row .div-table-cell .corner_bottoms::before, .div-table-row .div-table-cell .corner_tops::after, .div-table-row .div-table-cell .corner_bottoms::after {
 content:none;
}

/* ── Search bar borders — line above AND below ── */
.search-bar-dropdown {
    display: none;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    padding: 0 24px;
    align-items: center;
    gap: 14px;
    height: 52px;
    position: relative;
    z-index: 99;
    box-sizing: border-box;
}

/* ── Hide the "Search" label text from the control ── */
/*.search-bar-dropdown span#lbsearch,
.search-bar-dropdown .searchPanel span,
#ctl00_SearchText1_Panel1 #ctl00_SearchText1_lbsearch {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
}
*/

.search-bar-dropdown {
    display: none;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    padding: 0 40px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 52px;
    position: relative;
    z-index: 99;
    box-sizing: border-box;
}

.search-bar-dropdown.active {
    display: flex;
}

/* Center the search input group */
.search-bar-dropdown .search-icon {
    color: #555;
    font-size: 15px;
    flex-shrink: 0;
}

.search-bar-dropdown .searchPanel {
    flex: 0 1 700px; /* max width, centered */
}

/* Close button pinned to the right */
.search-close-btn {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: color 0.2s ease;
}

.search-close-btn:hover {
    color: var(--primary-color);
}

/*Translator */
/*.elfsight-app-2270dddb-4dcd-4c3f-ae97-0b3adc371676 div[role='region']:before {
    font-family: "Font Awesome 6 Free";
    content: "\f0ac";
}*/
.elfsight-app-2270dddb-4dcd-4c3f-ae97-0b3adc371676 .hTlmlV {
    padding:6px 12px!important;
}