/* ============================================================
   GLOBAL
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

html,
body {
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

/* ================================
   HEADER
================================ */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    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{
		
		    flex-direction: column !important;
			background: transparent !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;
    }


    .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;
    }
	.header-row {
		flex-direction: column;
		background: transparent !important;
		padding: 0;
		gap: 0;
	}


}

@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 Header */
.story-header {
    margin-bottom: 24px;
}

.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;
    margin-top: 48px;
    margin-bottom: 16px;
	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;
	    color: #636363;
    }
}

/* 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:200px !important;
	}
	.related-stories{
		margin-left:0px !important;
	}
}


/* ================================
   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;
    }
}

.search-highlight {
    background-color: #FD5F00B2;
    color: #fff;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 4px;
}