/* ============================================
   NEWSROOM PAGE CSS
   Navbar + Footer global.css mein hai
   ============================================ */

:root {
    --font-body: 'kyrial-sans-pro', 'Josefin Sans', sans-serif;
    --font-display: 'IvyJournal', 'Cormorant Garamond', serif;
    --font-ui: 'Josefin Sans', sans-serif;
    --teal: #50a7bc;
    --teal-deep: #31405b;
    --text: #555555;
    --text-strong: #31405b;
    --text-soft: rgba(49, 64, 91, 0.58);
    --surface: #fcfcfc;
    --border: rgba(159, 168, 143, 0.2);
    --accent: #ed7c53;
    --accent-hover: #cd3c07;
    --radius-lg: 20px;
    --radius-md: 15px;
    --shadow-soft: 0 22px 42px rgba(49, 64, 91, 0.08);
}

/* ── HERO WRAPPER ── */
.a--newsroom-hero-main {
    background: linear-gradient(to bottom, #effffd, #efcbb3);
}

/* ── HERO ── */
.vela-newsroom-hero {
    position: relative;
    min-height: 600px;
    display: grid;
    place-items: center;
    align-items: end;
    text-align: center;
    background: center center / cover no-repeat;
    overflow: hidden;
    border-radius: 100px 100px 0 0;
    max-width: 1720px;
    margin: auto;
}

.vela-newsroom-hero__inner {
    width: min(1485px, calc(100% - 40px));
    padding: 90px 0 0px;
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.vela-newsroom-hero h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 100px);
    font-weight: 500;
    line-height: 1.15;
    color: #f4ede4;
}

.vela-newsroom-hero h1 span {
    color: var(--teal);
}

.vela-newsroom-hero p {
    width: min(920px, 100%);
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.5;
    color: #f0f0f0;
    text-align: center;
}

/* ── FEATURED SECTION ── */
.vela-featured-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #efcbb3 0%, #f5eee6 100%);
    padding: 120px 0;
}

.vela-featured-section__flourish {
    position: absolute;
    top: 120px;
    right: 0;
    width: min(320px, 30vw);
    pointer-events: none;
    opacity: 1;
}

.vela-section-intro {
    max-width: 880px;
    margin: 0 auto 70px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.vela-section-intro h2 {
    margin: 0 0 20px;
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 50px);
    font-weight: 600;
    line-height: 1.08;
    color: var(--text-strong);
}

.vela-section-intro h2 span {
    color: var(--teal);
}

.vela-section-intro p {
    margin: 0;
    font-size: 20px;
    line-height: 1.45;
    color: var(--text);
}

.vela-featured-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: stretch;
}

.vela-featured-stack {
    display: grid;
    gap: 36px;
}

/* ── CARDS ── */
.vela-story-card,
.vela-feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.vela-story-card:hover,
.vela-story-card:focus-within,
.vela-feature-card:hover,
.vela-feature-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 26px 48px rgba(49, 64, 91, 0.12);
}

.vela-feature-card--large {
    padding: 20px;
    display: grid;
    gap: 24px;
    min-height: 690px;
    align-content: start;
}

.vela-feature-card--large .vela-feature-card__image {
    aspect-ratio: auto;
    max-height: 400px;
}

.vela-feature-card--side {
    min-height: 327px;
    padding: 20px;
    display: grid;
    grid-template-columns: minmax(40%, 1fr) 55%;
    gap: 24px;
    align-items: start;
}

.vela-story-card__image {
    min-height: 320px;
    width: 100%;
    object-fit: cover;
}

.vela-feature-card__image,
.vela-story-card__image {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #d6d6d6;
}

.vela-feature-card__image img,
.vela-story-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1);
    transition: transform 0.45s ease;
}

.vela-feature-card:hover .vela-feature-card__image img,
.vela-story-card:hover .vela-story-card__image img {
    transform: scale(1.03);
}

.vela-feature-card__image {
    height: 100%;
    object-fit: cover;
    max-height: 287px;
    min-height: 287px;
}

.vela-feature-card--large .vela-feature-card__copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.vela-feature-card--side .vela-feature-card__copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 8px;
    height: 100%;
}

.vela-story-tag {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.vela-story-title {
    margin: 12px 0;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-strong);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 65px;
}

.vela-story-excerpt {
    margin: 0;
    font-size: 20px;
    line-height: 1.38;
    color: var(--text);
}

/* ── LINE CLAMP ── */
.vela-feature-card--large .vela-story-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vela-feature-card--side .vela-story-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vela-story-card .vela-story-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vela-read-more {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--accent);
    font-size: 20px;
    line-height: 1.1;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.vela-read-more:hover,
.vela-read-more:focus-visible {
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

/* ── STORIES SECTION ── */
.vela-stories-section {
    background: linear-gradient(180deg, #f5eee6 0%, #f7b747 100%);
    padding: 120px 0;
}

/* ── Header: centered column ── */
.vela-stories-section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 70px;
}

.vela-stories-section__header .vela-section-intro {
    margin: 0;
    max-width: 879px;
    text-align: center;
}

/* ── Controls: stacked center ── */
.vela-stories-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    position: relative;
}

/* ── Search form: wider centered ── */
.vela-search-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(775px, 100%);
    min-height: 58px;
    padding: 3px 4px 3px 20px;
    border: 1px solid #63b5ca;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 28px rgba(49, 64, 91, 0.06);
}

.vela-search-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0;
    background: transparent;
    color: var(--text-strong);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 300;
    box-shadow: none;
}

.vela-search-form input::placeholder {
    color: #9a9a9a;
}

.vela-search-form input:focus {
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
}

.vela-search-submit {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(80, 167, 188, 0.22);
    transition: transform 0.2s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.vela-search-submit:hover,
.vela-search-submit:focus-visible {
    background: var(--teal-deep);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(49, 64, 91, 0.18);
}

/* ── Filter Tabs: pill row ── */
.vela-filter-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

/* ── Filter pill ── */
.vela-filter-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 10px 18px;
    border: 1px solid #63b5ca;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: #656565;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.vela-filter-option:hover,
.vela-filter-option:focus-visible {
    transform: translateY(-1px);
    background: rgba(80, 167, 188, 0.1);
    color: var(--teal-deep);
    box-shadow: 0 10px 22px rgba(80, 167, 188, 0.14);
}

.vela-filter-option.is-active {
    background: var(--teal);
    border-color: var(--teal);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(80, 167, 188, 0.22);
}

/* ── STORY GRID ── */
.vela-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
}

.vela-story-card {
    padding: 20px;
    display: grid;
    gap: 24px;
    min-height: 610px;
    align-content: start;
}

.vela-story-card__image {
    aspect-ratio: 509 / 297;
}

.vela-story-card__copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.vela-story-grid-empty {
    grid-column: 1 / -1;
    min-height: 280px;
    display: grid;
    place-items: center;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(49, 64, 91, 0.08);
    text-align: center;
    color: var(--text-strong);
    font-size: 22px;
    line-height: 1.5;
}

.vela-view-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 52px;
}

.vela-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    border: 0;
    border-radius: 30px;
    background: var(--teal);
    color: #ffffff;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.vela-primary-button:hover,
.vela-primary-button:focus-visible {
    background: var(--teal-deep);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(49, 64, 91, 0.16);
}

/* ── RESPONSIVE ── */
@media (max-width: 1500px) {
    .vela-featured-grid,
    .vela-story-grid {
        gap: 24px;
    }
    .vela-featured-stack {
        gap: 24px;
    }
}

@media (max-width: 1340px) {
    .vela-stories-section__header .vela-section-intro {
        max-width: 700px;
    }
}


@media (max-width: 1280px) {
    .vela-newsroom-hero {
        min-height: calc(80vh - 58px);
        border-radius: 0 0 1.2rem 1.2rem;
        padding-bottom: 40px;
    }
    .vela-newsroom-hero h1{
    	font-size: clamp(4rem, 12vw, 4rem);
    }
    .vela-featured-grid {
        grid-template-columns: 1fr;
    }
    .vela-featured-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .vela-feature-card--large,
    .vela-story-card {
        min-height: auto;
    }
    .vela-story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .vela-feature-card--side {
        grid-template-columns: auto;
    }
    .vela-filter-tabs {
        flex-wrap: nowrap;
    	overflow-y: scroll;
        scroll-behavior: smooth;
        padding: 1px;
    }
    .vela-filter-option {
        padding: 8px 20px;
        min-width: max-content;
    }
    
}

@media (max-width: 1100px) {
    .vela-newsroom-hero__inner {
        padding: 72px 0 0px;
    }
    .vela-filter-tabs {
    	justify-content: flex-start;
    }
}

@media (max-width: 960px) {
    .vela-newsroom-hero {
        min-height: 460px;
    }
    .vela-newsroom-hero h1 {
        font-size: clamp(3rem, 12vw, 3rem);
    }
    .vela-featured-section,
    .vela-stories-section {
        padding: 80px 0;
    }
    .vela-feature-card--side {
        grid-template-columns: 1fr;
    }
    .vela-featured-stack {
        grid-template-columns: 1fr;
    }
    .vela-story-grid {
        grid-template-columns: 1fr;
    }
    .vela-search-form {
        width: 100%;
    }
	.vela-featured-section{
    	padding: 80px 0px;
    }
    .vela-section-intro p{
    	font-size: 18px;
    }
}

@media (max-width: 767px) {
    .vela-newsroom-hero {
        min-height: 360px;
        padding-bottom: 30px;
    }
    .vela-newsroom-hero h1 {
        font-size: 40px;
    }
    .vela-newsroom-hero p,
    .vela-section-intro p,
    .vela-story-excerpt {
        font-size: 16px;
    }
    .vela-section-intro h2 {
        font-size: 36px;
    }
    .vela-feature-card--large,
    .vela-feature-card--side,
    .vela-story-card {
        padding: 16px;
        gap: 20px;
    }
    .vela-story-title {
        font-size: 24px;
    }
    .vela-search-form {
        width: 100%;
    }
    .vela-feature-card__image {
        min-height: 280px;
        max-height: 280px;
        width: 100%;
        object-fit: cover;
    }
    .vela-filter-tabs {
        gap: 8px;
        flex-wrap: nowrap;
    	overflow-y: scroll;
        justify-content: flex-start;
        scroll-behavior: smooth;
    }
    .vela-filter-option.is-active, .vela-filter-option:hover, .vela-filter-option:focus-visible{
    	box-shadow: none;
    }

    .vela-filter-option {
        font-size: 14px;
        padding: 8px 20px;
        min-width: max-content;
        min-height: 40px;
    }
}

@media (max-width: 560px) {

    .vela-newsroom-hero__inner {
        padding: 52px 0 0px;
    }
    .vela-featured-section,
    .vela-stories-section {
        padding: 50px 0;
    }
    .vela-section-intro {
        margin-bottom: 36px;
    }
    .vela-stories-section__header {
        margin-bottom: 36px;
    }
    .vela-primary-button,
    .vela-read-more,
    .vela-filter-option {
        font-size: 14px;
    }
}