/* ============================================================
   GLOBAL
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

html,
body {

    font-family: Barlow-Regular;
    margin: 0;
    padding: 0;
}

/* ================================
   HEADER
================================ */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: background 0.3s ease;
}




@media (max-width: 768px) {

    /* Default hidden state */
    #headerNav {
        position: fixed;
        top: 0;
        right: 0;
        width: 75%;
        height: 65%;
        background: #FD5F00B2;

        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;

        transition: transform 0.4s ease, opacity 0.3s ease;
        z-index: 999;
    }

    /* When menu is open */
    #headerNav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .main-header {
        width: 100% !important;
    }
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
}

.liberty-logo {
    width: 150px;
    height: auto;
}

/* ================================
   NAVIGATION
================================ */
.header-container {
    flex: 0 0 auto;
    max-width: 600px;
    border-radius: 35px;
    padding: 6px 8px;
}

.header-row {
    background: #FD5F00;
    border-radius: 25px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;


    background: transparent;
    color: white;
    border: none;

    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Barlow-Regular';
}

.nav-item:not(:last-of-type)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    height: 16px;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);

    transition: opacity 0.3s ease;
}

.nav-item:last-of-type {
    border-right: none;
}

.nav-item:hover {
    background: #fff;
    color: #FD5F00;
    border-radius: 20px;
    margin-left: -5px;
}


.nav-item:hover::after {
    opacity: 0;
}

/*  Hide divider of NEXT item */
.nav-item:hover+.nav-item::after {
    opacity: 0;
}

.search-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.search-icon {
    width: 20px;
    height: 20px;
}

/* ================================
   SEARCH BAR
================================ */
.search-bar {
    background: #FD5F00B2;
    border-radius: 25px;
    padding: 8px 15px;
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.search-bar--active {
    display: flex;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    outline: none;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-family: 'Barlow-Regular';
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.close-search-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-search-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.close-search-btn svg {
    width: 18px;
    height: 18px;
}

/* ================================
   HAMBURGER MENU
================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #FD5F00;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 1px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -7px);
}

@media (max-width: 992px) {
    .header-wrapper {
        padding: 0 30px;
    }

    .nav-item {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .header-row {
        flex-direction: column;
        background: transparent;
        padding: 75px 10px !important;
        gap: 0;
    }


    .nav-item {
        width: 100%;
        text-align: left;
        padding: 15px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0;
        font-size: 16px;
    }

    .nav-item:hover {
        background: rgba(253, 95, 0, 0.7);
        border-radius: 8px;
        color: white;
    }

    .search-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 15px 20px;
        margin-left: 0;
        border-radius: 0;
    }

    .search-btn:hover {
        background: rgba(253, 95, 0, 0.3);
        border-radius: 8px;
    }

    .search-bar {
        margin-top: 15px;
        background: rgba(253, 95, 0, 0.5);
    }

    .liberty-logo {
        width: 120px;
    }


}

@media (max-width: 480px) {
    .liberty-logo {
        width: 100px;
    }
}

:root {
    --text-primary: #696E77;
    --text-heading: #444444;
    --brand-orange: #FD5F00;
    --background-gray: #ffffff;

}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Barlow-Regular;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-gray);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 120px 0px 0px;
}

/* Container */
.story-container {
    max-width: 820px;
    margin: 0 auto;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-orange);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    transition: opacity 0.2s ease;
}

.back-link:hover {
    opacity: 0.8;
}

.back-link svg {
    width: 20px;
    height: 20px;
}

/* Badge */
.badge {
    display: inline-block;
    background-color: var(--brand-orange);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}



.story-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #636363;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    font-family: Riddim-UltraBlack;
}

.story-date {
    font-size: 13px;
    color: #636363;
    font-weight: 400;
}

/* Featured Image */
.featured-image-container {
    margin-bottom: 40px;
    width: 100%;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

/* Story Content */
.story-content {
    font-size: 16px;
    color: #929292;
    line-height: 1.85;
}

.story-content p {
    margin-bottom: 28px;
}

.story-content h2 {
    font-size: 25px;
    font-weight: bold;
    font-family: Barlow-Regular;
    color: #636363;


}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding: 40px 16px;
    }

    .story-title {
        font-size: 26px;
    }

    .story-content {
        font-size: 15px;
    }

    .story-content h2 {
        font-size: 18px;
        margin-top: 36px;
    }
}

/* Inline Elements inside Content */
.story-quote {
    background-color: #F6F6F7;
    border: 1px solid #E8E8EA;
    border-radius: 15px;
    padding: 30px 40px;
    margin: 40px 0;
    font-size: 15px;
    font-style: italic;
    font-family: Source Serif Pro;
    color: #636363;
    line-height: 1.8;
    border-left: 4px solid #E8E8EA;
}

.story-inline-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 24px;
    display: block;
}

/* ============================= */
/* Related Stories Section */
/* ============================= */
.related-stories {
    margin-top: 80px;
    padding-bottom: 40px;
    margin-left: 40px;

}


/* Splide container fix */
.splide {
    width: 100%;
}

/* Ensure slides align properly */
.splide__slide {
    display: flex;
}


/* ============================= */
/* Your existing styles (unchanged) */
/* ============================= */
.carousel-item {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.carousel-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.carousel-text {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
}

.learn-more {
    font-size: 14px;
    color: #f64c7e;
    text-decoration: none;
    font-weight: 500;
}

.learn-more:hover {
    text-decoration: underline;
}

@media(max-width:767px) {
    .carousel-item img {
        height: 220px !Important;
    }

    .related-stories {
        margin-left: 0px !important;
        margin-top: 0px !important;
    }

    .contact-section {
        padding-top: 0px !important;
    }

    .mobile-discover {
        text-align: center;
    }
}


/* ================================
   RESET & BASE
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.fade-block {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-block.visible {
    opacity: 1;
    transform: translateY(0);
}

@font-face {
    font-family: "Riddim-UltraBlack";
    src: url("https://www.cwc.com/fonts/Riddim-UltraBlack.woff") format("woff"),
        url("https://www.cwc.com/fonts/Riddim-UltraBlack.ttf") format("truetype");
    font-weight: 900;
}

@font-face {
    font-family: "Barlow-Regular";
    src: url("https://www.cwc.com/fonts/Barlow-Regular.ttf") format("truetype");
    font-weight: 900;
}
@font-face {
    font-family: "Riddim";
    src: url("https://www.cwc.com/fonts/Riddim-Bold.woff") format("woff");
    font-weight: 400;
    /* treat as regular */
    font-style: normal;
}

/* Scroll Animations */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-element.is-visible {
    opacity: 1;
    transform: none;
}

.footer {
    background: #636363;
    color: white;
    padding: 40px 0 0 !important;
    /* remove bottom padding */
    position: relative;
}


/* ---------- FOOTER LAYOUT (IMPORTANT FIX) ---------- */
.footer-inner {
    display: flex;
    flex-wrap: nowrap;
    /* forces alignment in one row */
    justify-content: space-between;
    align-items: flex-start;
    /* PERFECT vertical alignment */
    gap: 0px;
    /* removes unwanted spacing */
    max-width: 1300px;
    margin: auto;
}

/* ---------- EACH COLUMN ---------- */
.footer-col {
    min-width: 200px;
    /* consistent width */
}

/* ---------- TITLES ---------- */
.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    /* reduced for cleaner look */
    color: white;
    font-family: 'Barlow-Regular';
}

/* ---------- LINKS ---------- */
.footer-links a {
    display: block;
    color: white;
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 8px;
    /* tighter spacing */
    text-decoration: none;
    font-family: 'Barlow-Regular';
}

.footer-links a:hover {
    opacity: 1;
}

/* ---------- EMAIL (Styled as requested) ---------- */
.email {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    color: white;
    opacity: 1;
    display: inline-block;
    font-family: 'Barlow-Regular';
}

/* ---------- SOCIAL ICONS ---------- */
.social-icons {
    display: flex;
    gap: 14px;

}

/* ---------- BIG BACKGROUND ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œLIBERTYÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â TEXT ---------- */
.footer-bg-text {
    position: absolute;
    bottom: 40px;
    /* perfect centered position */
    left: 50%;
    transform: translateX(-50%);
    font-size: 180px;
    font-weight: 800;
    opacity: 0.12;
    pointer-events: none;
    white-space: nowrap;
}

/* ---------- COPYRIGHT ---------- */
.footer-bottom {
    background: #585858;
    text-align: center;
    padding: 16px 10px;
    font-size: 14px;
    margin-top: 40px;
    font-family: 'Barlow-Regular';
    /* gives clean separation */
}

/* ---------- RESPONSIVE FIXES ---------- */
@media (max-width: 1200px) {
    .footer-inner {
        flex-wrap: wrap;
        /* allow wrapping on mid screens */
        gap: 30px;
    }
}

@media (max-width: 768px) {

    .footer {
        padding: 40px 20px 80px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 25px;
    }

    .footer-col {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 80px;
    }

    .footer-bg-text {
        font-size: 95px;
        bottom: 120px;
    }

    .social-icons {
        display: flex;
        gap: 14px;
        justify-content: center;
    }


}


a {
    color: #FD5F00;
}

.fade-element {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;

    /*  Prevent overflow caused by transform */
    will-change: transform;
}

.fade-element.show {
    opacity: 1;
    transform: translateY(0);
}

.story-container h1 {
    font-family: Riddim-UltraBlack;
    color: #636363;
}

/* ================================
   STORIES SECTION
================================ */
.stories-section {

    padding: 10px 0 90px;
    min-height: 60vh;
}

.stories-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ================================
   STORIES GRID
================================ */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ================================
   STORY CARD
================================ */
.story-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.3s ease;
    cursor: pointer;

    /* Entry animation state */
    opacity: 0;
    transform: translateY(28px);
}

/* Triggered by IntersectionObserver */
.story-card--in-view {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.5s ease, box-shadow 0.35s ease, opacity 0.5s ease;
}

.story-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}

/* Hidden state for search filtering */
.story-card--hidden {
    display: none !important;
}

/* ======= CARD IMAGE ======= */
.story-card__image-wrap {
    width: 100%;
    height: 210px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e8e8e8;
}

.story-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.story-card:hover .story-card__image {
    transform: scale(1.05);
}

/* ======= CARD BODY ======= */
.story-card__body {
    padding: 24px 22px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.story-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.2px;
}

.story-card__excerpt {
    font-size: 14px;
    line-height: 1.75;
    color: #5a5a5a;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-card__link {
    display: inline-block;
    color: #E52A73;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 6px;
    transition: color 0.2s ease, gap 0.2s ease;
    align-self: flex-start;
    position: relative;
}

/* .story-card__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E52A73;
    transition: width 0.3s ease;
} */

.story-card__link:hover::after {
    width: 100%;
}

.story-card__link:hover {
    color: #c01f5e;
}

/* ================================
   SEARCH HIGHLIGHT
================================ */
/* .search-highlight {
    background: #fff3cd;
    color: #a35200;
    border-radius: 3px;
    padding: 0 2px;
    font-weight: 600;
} */

/* ================================
   NO RESULTS
================================ */
.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 0;
    color: #888;
    text-align: center;
}

.no-results svg {
    width: 64px;
    height: 64px;
    opacity: 0.35;
    stroke: #FD5F00;
}

.no-results p {
    font-size: 18px;
    font-weight: 500;
    color: #666;
}

@media(max-width:767px) {
    .stories-grid {
        display: flex !important;
        flex-direction: column !important;
        margin-top: 30px;
    }
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    background: #A8A8A7B2;
    padding: 12px 22px;
    border-radius: 40px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    gap: 10px;
    font-family: 'Barlow-Regular';
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #8E8E8D;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.contact-btn:hover .btn-arrow {
    background: #ffffff;
    color: black;
}

.btn-arrow {
    background: #ffff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}


@media(max-width:767px){
	
	.contact-btn{
        font-size: 14px !important;
        padding: 4px 7px !important;
        gap: 13px !important;
        right: 20px !important;
        position: absolute !important;
        margin-top: 30px !important;
	}
	.story-container{
		margin-top:33px !important;
	}
	
	.lc-banner__img{
	    width: 100% !important;
    	height: 30vh !important;
	}
}



