/* =========================================
   HOME.CSS - Consolidated Homepage Styles
   ========================================= */

/* =========================================
   1. HERO SECTION (from hero.css)
   ========================================= */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Story+Script&display=swap');

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-media img,
.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-media iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-alpha-30);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    color: var(--text-white);
    width: 90%;
    max-width: 1200px;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 20px 0;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 8vw !important;
    }

    .hero-content p {
        font-size: 3vw !important;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }

    .hero-content {
        width: 95%;
        padding: 0 10px;
    }

    .hero-content h1 {
        font-size: 12vw !important;
        line-height: 1.1;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 4.5vw !important;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 14vw !important;
    }

    .hero-content p {
        font-size: 5vw !important;
    }
}

/* =========================================
   2. HOMEPAGE MODULES (from homepage_modules.css)
   ========================================= */

/* Action Boxes Section */
.action-boxes-section {
    position: relative;
    max-width: 1200px;
    margin: -60px auto 2rem;
    z-index: 10;
    padding: 0rem;
}

.action-boxes-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 0.5rem;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.action-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Aligns items from the top */
    padding: 1.8rem 1rem 0.5rem;
    /* Fixed top padding for consistent leveling */
    text-align: center;
    border: none;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    color: var(--text-light);
    height: 140px;
    text-decoration: none;
    background: var(--bg-body);
}


.action-box:hover {
    transform: translateY(-3px);
    box-shadow: none;
    z-index: 1;
}

.action-box i {
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.action-box h4 {
    font-size: 0.8rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
}

/* Search Bar & Quick Access Section */
.search-quick-access {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0rem;
}

.search-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: 0;
    border-radius: var(--radius-sm);
    position: relative;
}

/* Search Column */
.search-column {
    padding: 20px;
    display: flex;
    align-items: center;
}

.search-input-wrapper {
    display: flex;
    width: 100%;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0 15px;
    height: 50px;
    border: none;
    outline: none;
    font-family: var(--font-main);
}

.search-btn {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: var(--tertiary-color);
    color: var(--text-white);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.search-btn:hover {
    background: var(--secondary-color);
}

/* Dropdown Columns */
.dropdown-column {
    position: static;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--white-alpha-10);
}

.dropdown-trigger {
    width: 100%;
    height: 100%;
    min-height: 90px;
    background: transparent;
    border: none;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    cursor: pointer;
    font-weight: 500;
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: background 0.3s;
    gap: 10px;
}

.dropdown-trigger:hover {
    background: var(--white-alpha-10);
}

.trigger-icon {
    font-size: 1.2rem;
}

.dropdown-trigger .fa-chevron-down {
    font-size: 0.8rem;
    margin-left: 5px;
}

.dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;

    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: 0 10px 30px var(--black-alpha-15);
    z-index: 50;
    padding: 1rem;
    border-top: 3px solid var(--accent-color);
    border-radius: 0 0 8px 8px;

    /* Animation */
    transform: translateY(-15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* Layout for links inside */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 2rem;
    padding: 1.5rem 2rem;
}

/* Hover Trigger */
.dropdown-column:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: all 0.2s;
    text-decoration: none;
    text-align: left;
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 1px dashed #eee;
    position: relative;
}

.dropdown-menu a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin-right: 12px;
    transition: background-color 0.2s, transform 0.2s;
}

.dropdown-menu a:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateX(5px);
    border-color: #eee;
}

.dropdown-menu a:hover::before {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* Responsive Action Boxes & Search */
@media (max-width: 1200px) {
    .action-boxes-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .search-grid {
        grid-template-columns: 1fr 1fr;
    }

    .search-column {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .action-boxes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .search-grid {
        grid-template-columns: 1fr;
    }

    .search-column {
        grid-column: span 1;
    }

    .dropdown-column {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-trigger {
        min-height: 50px;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .action-boxes-section {
        margin-top: 1rem;
        padding: 0 10px;
    }

    .action-boxes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: var(--radius-sm);
        overflow: hidden;
    }

    .action-box {
        border-right: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
        padding: 12px 8px;
        border-radius: 0;
        background: white;
    }

    .action-box:nth-child(3n) {
        border-right: none;
    }

    /* Last row - remove bottom border */
    .action-box:nth-last-child(-n+3) {
        border-bottom: none;
    }

    .action-box i,
    .action-box .material-symbols-outlined {
        font-size: 1.8rem;
    }

    .action-box h4 {
        font-size: 0.75rem;
        margin-top: 6px;
        line-height: 1.2;
    }
}

/* Güncel Module */
/* Split Sections */
.guncel-header-section {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color)) fixed;
    padding: 1rem 0 0 0;
    margin-top: 0rem;
    margin-bottom: 3rem;
}

.guncel-header-section .container,
.guncel-content-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0rem;
    width: 100%;
}

.guncel-content-section {
    padding: 0 0 0rem 0;
    margin-top: 0;
}

.guncel-title {
    color: var(--text-white);
}

.guncel-subtitle {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: -5px;
}

.guncel-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

/* Main Header Layout */
.guncel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Contact Info in Header */
.guncel-contact {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-left: auto;
}

.guncel-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.guncel-contact-item:hover {
    opacity: 0.8;
}

.guncel-contact-item i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--white-alpha-10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Tabs Navigation */
.guncel-tabs {
    display: flex;
    background: transparent;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    gap: 0.5rem;
    transform: translateY(50%);
    position: relative;
    z-index: 20;
    padding-bottom: 0;
}

.guncel-tab {
    flex: 1;
    padding: 1.5rem 1rem;
    background: var(--primary-color);
    border: none;
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    min-width: max-content;
    border-radius: var(--radius-xs);
}

.guncel-tab:hover {
    filter: brightness(1.1);
}

.guncel-tab.active {
    background: var(--tertiary-color);
    color: var(--text-white);
    position: relative;
    box-shadow: 0 4px 6px var(--black-alpha-10);
}

/* Content Panels */
.guncel-content {
    position: relative;
    min-height: 300px;
}

.guncel-panel {
    display: none;
    animation: fadeIn 0.3s ease;
    padding-top: 0;
}

.guncel-panel.active {
    display: block;
}

/* Secondary Panels (Announcements, Tenders, etc.) White Background Style */
.guncel-panel:not(#panel-news) {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px var(--black-alpha-05);
    margin-top: 1rem;
}

/* Hero Slider for NEWS Panel (#panel-news) override */
#panel-news {
    padding-top: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider CSS */
.guncel-slider {
    display: flex;
    align-items: center;
    position: relative;
    padding: 1rem 0;
}

/* Override slider padding for Hero News */
#panel-news .guncel-slider {
    padding: 0;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
}

/* Override track for Hero News */
#panel-news .slider-track {
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slider-arrow {
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.slider-arrow:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.slider-arrow.prev {
    margin-right: 1rem;
}

.slider-arrow.next {
    margin-left: 1rem;
}

/* Hero Arrows (Absolute) */
#panel-news .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--black-alpha-50);
    width: 50px;
    height: 50px;
}

#panel-news .slider-arrow:hover {
    background: var(--primary-color);
}

#panel-news .slider-arrow.prev {
    left: 20px;
    margin: 0;
}

#panel-news .slider-arrow.next {
    right: 20px;
    margin: 0;
}

.guncel-card {
    min-width: 100%;
    width: 100%;
    margin-right: 0;
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--black-alpha-05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    flex-shrink: 0;
    position: relative;
}

.guncel-card:last-child {
    margin-right: 0;
}

.guncel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--black-alpha-10);
}

/* News Grid & Panel Layout for Split View */
.news-grid-container {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 1rem;
}

.news-main-slider {
    min-width: 0;
}

.news-side-list {
    background: var(--bg-white);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--black-alpha-05);
    box-shadow: 0 4px 15px var(--black-alpha-05);
}

.side-items-wrapper {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    /* Ensure the list leaves room for the 'Tüm Haberler' link within the slider height */
    max-height: calc(520px - 50px);
}

.side-news-item {
    display: flex;
    gap: 0.8rem;
    padding: 0.65rem 1rem;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.side-news-item:hover {
    background: #f8fafc;
    color: var(--primary-color);
}

.side-item-img {
    width: 70px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.side-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-item-info h5 {
    margin: 0 0 0.2rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-item-date {
    font-size: 0.7rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.side-list-all {
    padding: 1rem;
    text-align: center;
    background: #f1f5f9;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 992px) {
    .news-grid-container {
        grid-template-columns: 1fr;
    }
}

.card-image {
    width: 100%;
    aspect-ratio: 5 / 3;
    height: auto;
    overflow: hidden;
    position: relative;
    background: var(--bg-subtle);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#panel-news .guncel-card:hover .card-image img {
    transform: scale(1.08);
}

/* Base Card Content Logic */
.card-content {
    padding: 1.5rem;
}

/* Featured Style for News Panel Slider */
#panel-news .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            transparent 100%);
    backdrop-filter: blur(2px);
    color: var(--text-white);
    padding: 6rem 2.5rem 2.5rem 2.5rem;
    text-align: left;
    transition: all 0.3s ease;
}

#panel-news .card-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--tertiary-color);
    transition: width 0.5s ease;
}

#panel-news .guncel-card:hover .card-content::after {
    width: 100%;
}

#panel-news .card-content::before {
    content: 'HABER';
    position: absolute;
    top: 3.5rem;
    left: 2.5rem;
    background: var(--tertiary-color);
    color: white;
    padding: 3px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#panel-news .card-content h4 {
    color: var(--text-white);
    font-size: 1.8rem;
    /* Adjusted for split view */
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

#panel-news .card-summary {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    /* Slightly smaller */
    line-height: 1.6;
    font-weight: 400;
    max-width: 90%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

#panel-news .card-date {
    display: none;
}


.card-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-summary {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;

    /* Line Clamp Standard */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-date {
    font-size: 0.75rem;
    color: var(--text-lighter);
    display: block;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .guncel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .guncel-contact {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .guncel-title h2 {
        font-size: 2rem;
    }

    .guncel-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .guncel-tabs {
        padding-bottom: 5px;
    }

    .guncel-card {
        min-width: 280px;
        width: 280px;
    }

    #panel-news .guncel-card {
        height: 400px;
    }
}

@media (max-width: 480px) {

    /* Güncel Header - Simplified */
    .guncel-header-section {
        padding: 1rem 0;
        margin-bottom: 0;
    }

    .guncel-title h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .guncel-subtitle {
        font-size: 0.85rem;
    }

    /* Contact info - inline compact */
    .guncel-contact {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0 15px;
        justify-content: center;
    }

    .guncel-contact-item {
        font-size: 0.75rem;
    }

    .guncel-contact-item i {
        font-size: 0.9rem;
    }

    /* Tabs - Full Width Vertical Stack */
    .guncel-tabs {
        flex-direction: column;
        flex-wrap: nowrap;
        overflow-x: visible;
        gap: 0;
        transform: none;
        padding: 0;
        margin-top: 1rem;
    }

    .guncel-tab {
        flex: none;
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        min-width: auto;
        border-radius: 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .guncel-tab:last-child {
        border-bottom: none;
    }

    .guncel-tab.active {
        background: var(--tertiary-color);
        border-radius: 0;
    }

    /* Content Area - No horizontal scroll */
    .guncel-content-section {
        padding: 0;
    }

    .guncel-content {
        padding: 1rem 0 0 0;
        min-height: auto;
    }

    /* Cards Container - Vertical List */
    .guncel-cards-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 15px;
        overflow-x: visible;
    }

    /* Cards - Full Width */
    .guncel-card {
        min-width: 100%;
        width: 100%;
        height: auto;
        flex-shrink: 0;
    }

    .guncel-card-image {
        height: 180px;
    }

    .guncel-card-content {
        padding: 0.75rem;
    }

    .guncel-card-title {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .guncel-card-date {
        font-size: 0.75rem;
    }

    /* Slide navigation hidden on mobile */
    .guncel-nav {
        display: none;
    }

    /* Panel specific - News cards */
    #panel-news .guncel-card {
        height: auto;
    }

    #panel-news .guncel-card-image {
        height: 160px;
    }

    /* Panel specific - Announcements/Tenders - Table style */
    .guncel-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .guncel-table {
        font-size: 0.8rem;
    }

    .guncel-table th,
    .guncel-table td {
        padding: 0.6rem 0.5rem;
    }
}

/* =========================================
   3. MAYOR SECTION (from mayor_section.css)
   ========================================= */

/* Mayor's Message Section */
.mayor-message-section {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 30px 0 0 0;
    color: var(--text-white);
    overflow: hidden;
    margin: 60px 0;
}

.mayor-content-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 10px;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

/* Left Column: Message */
.mayor-text-col {
    padding-bottom: 0px;
}

.mayor-message-body {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--white-alpha-95);
}

.mayor-message-body p {
    margin-bottom: 1rem;
}

/* Signature Block */
.mayor-signature {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.mayor-name {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Great Vibes', cursive, var(--font-main);
    margin-bottom: 5px;
    color: var(--text-white);
}

.mayor-name-text {
    font-family: 'Story Script', cursive;
    font-size: 1.5rem;
    line-height: 1.0;
    color: var(--text-white);
}

.mayor-title {
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.mayor-socials {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.mayor-social-link {
    width: 36px;
    height: 36px;
    border: 1px solid var(--text-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.mayor-social-link:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--bg-white);
    transform: translateY(-2px);
}

/* Right Column: Photo */
.mayor-photo-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
}

.mayor-photo {
    width: 100%;
    max-width: 850px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 20px var(--black-alpha-30));
    margin-bottom: 0px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .mayor-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mayor-mobile-order {
        display: flex;
        flex-direction: column-reverse;
    }

    .mayor-photo-col {
        order: -1;
        justify-content: center;
    }

    .mayor-photo {
        max-width: 300px;
    }

    .mayor-message-body {
        column-count: 1;
    }

    .mayor-text-col {
        padding-bottom: 50px;
    }
}

/* Mobile Mayor Section */
@media (max-width: 480px) {
    .mayor-message-section {
        padding: 20px 15px 0 15px;
        margin: 30px 0;
    }

    .mayor-content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* Photo and Signature side by side */
    .mayor-photo-col {
        order: 0;
        position: relative;
    }

    .mayor-photo {
        max-width: 55%;
        margin-left: auto;
        margin-right: 0;
    }

    /* Signature overlapping photo on left */
    .mayor-signature {
        position: absolute;
        left: 0;
        bottom: 10px;
        text-align: left;
        align-items: flex-start;
        z-index: 5;
        padding: 0 10px;
    }

    .mayor-name-text {
        font-size: 1.2rem;
    }

    .mayor-title {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .mayor-socials {
        margin-bottom: 10px;
    }

    .mayor-social-link {
        width: 30px;
        height: 30px;
    }

    /* Message body */
    .mayor-text-col {
        padding: 15px 0 30px 0;
    }

    .mayor-message-body {
        font-size: 0.75rem;
        line-height: 1.5;
        column-count: 1;
    }

    .mayor-message-content {
        column-count: 1 !important;
        column-gap: 0;
    }

    .mayor-message-content.collapsed {
        max-height: 180px;
        overflow: hidden;
        mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%) !important;
        -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%) !important;
        mask-composite: unset !important;
        -webkit-mask-composite: unset !important;
    }

    .mayor-bottom-row {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        justify-content: center;
    }

    .read-more-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .mayor-more-btn,
    .read-more-btn {
        font-size: 0.85rem;
        padding: 10px 20px;
    }
}

/* =========================================
   4. SOCIAL MEDIA BAR (from social_media_bar.css)
   ========================================= */

/* Social Media Bar */
.social-media-bar {
    width: 100%;
    margin-bottom: 60px;
}

.social-bar-container {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    gap: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px var(--black-alpha-10);
}

.social-bar-title {
    background: var(--black-alpha-10);
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.social-bar-title h3 {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

.social-bar-title h2 {
    color: var(--text-white);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.social-icons-wrapper {
    display: flex;
    padding: 0 2rem;
}

.social-stat-item {
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    border-right: 1px solid var(--white-alpha-20);
    height: 80px;
    text-decoration: none;
    transition: background 0.3s;
}

.social-stat-item:last-child {
    border-right: none;
}

.social-stat-item:hover {
    background: var(--white-alpha-10);
}

.social-stat-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--white-alpha-80);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--text-white);
    font-size: 1.25rem;
}

.social-stat-info {
    display: flex;
    flex-direction: column;
}

.social-stat-count {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.social-stat-label {
    color: var(--white-alpha-80);
    font-size: 0.8rem;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 992px) {
    .social-icons-wrapper {
        flex-wrap: wrap;
        padding: 0;
        border-top: 1px solid var(--white-alpha-10);
    }

    .social-stat-item {
        flex: 1 1 50%;
        border-bottom: 1px solid var(--white-alpha-10);
        border-right: 1px solid var(--white-alpha-10);
        justify-content: center;
        height: 100px;
    }

    .social-stat-item:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 576px) {
    .social-stat-item {
        flex: 1 1 100%;
        border-right: none;
        justify-content: flex-start;
        padding-left: 2rem;
    }
}

/* =========================================
   5. MULTIMEDIA SECTION (from multimedia_section.css)
   ========================================= */

.multimedia-section {
    padding: 0;
    margin-top: 40px;
}

.multimedia-container {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 40px;
    border-radius: var(--radius-sm);
    color: var(--text-white);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    z-index: 1;
}

/* Decorative 'traces' at bottom right */
.multimedia-container::before,
.multimedia-container::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--white-alpha-05);
    z-index: 0;
    pointer-events: none;
}

.multimedia-container::after {
    bottom: -80px;
    right: -20px;
    width: 250px;
    height: 250px;
    background: var(--white-alpha-05);
}

.multimedia-title-area {
    flex: 1;
    min-width: 250px;
    position: relative;
    z-index: 1;
}

.multimedia-title-area h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    text-transform: uppercase;
}

.multimedia-title-area h2 span {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: none;
    margin-bottom: 5px;
}

.multimedia-content-area {
    flex: 2;
    background: transparent;
    box-shadow: none;
    padding: 0;
    display: flex;
    gap: 1rem;
}

@media (max-width: 992px) {
    .multimedia-content-area {
        flex-direction: column;
    }
}

.gallery-group {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 6px var(--black-alpha-05);
    align-content: flex-start;
}

.gallery-group-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    background: transparent;
    padding: 0;
    border-radius: var(--radius-sm);
    transition: transform 0.2s;
    flex: 1;
    min-width: 120px;
}

.gallery-item:hover {
    transform: translateY(-3px);
    background: transparent;
}

.gallery-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 4px var(--black-alpha-10);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--black-alpha-50);
    color: var(--text-white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.gallery-info {
    width: 100%;
}

.gallery-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.gallery-date {
    display: none;
}

.multimedia-curve-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #fff;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
    display: none;
}

/* =========================================
   6. QUICK LINKS (from quick_links.css)
   ========================================= */

/* Quick Links Section */
.quick-links-section {
    padding: 0px;
    background: transparent;
}

.quick-links-wrapper {
    overflow: hidden;
    width: auto;
    padding: 3rem 0 0 0;

}

.quick-links-track {
    display: flex;
    gap: 10px;
    transition: transform 0.5s ease-in-out;
    width: max-content;
    will-change: transform;
    align-items: center;
}

.quick-link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    padding: 5px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 6px var(--black-alpha-05);
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    min-width: 100px;
    width: 180px;
    height: 100px;
    position: relative;
}

.quick-link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--black-alpha-10);
    border-color: var(--primary-color);
    z-index: 10;
}

.quick-link-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-link-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.2s;
}

.quick-link-item:hover .quick-link-logo img {
    transform: scale(1.05);
}

.quick-link-title {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-main);
    color: var(--text-white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, bottom 0.2s;
    box-shadow: 0 2px 5px var(--black-alpha-20);
    pointer-events: none;
}

/* Little arrow for tooltip */
.quick-link-title::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 5px 5px 5px;
    border-style: solid;
    border-color: transparent transparent var(--text-main) transparent;
}

.quick-link-item:hover .quick-link-title {
    opacity: 1;
    visibility: visible;
    bottom: -60px;
}

@media (max-width: 768px) {
    .quick-link-item {
        min-width: 200px;
        padding: 12px 20px;
    }

    .quick-link-title {
        font-size: 0.85rem;
    }
}

/* ===========================
   7. Gazete Gönen Banner
   =========================== */
.gazete-gonen-banner {
    background: transparent;
    padding: 0;
    margin-top: 5rem;
    margin-bottom: 4rem;
    position: relative;
    height: 120px;
    overflow: visible;
    z-index: 10;
}

.gazete-container {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-sm);
    padding: 0 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gazete-link-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    text-decoration: none;
    position: relative;
    width: 100%;
}

.gazete-text-group {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 300;
    font-family: var(--font-header);
    z-index: 2;
    padding-left: 1rem;
}

.gazete-right-group {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
    position: relative;
    padding-right: 1rem;
}

.gazete-logo {
    height: 65px;
    background: var(--bg-white);
    padding: 10px 100px 10px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px var(--black-alpha-15);
    z-index: 2;
    margin-right: -80px;
    position: relative;
    display: block;
    width: auto;
}

.gazete-cover-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.gazete-cover {
    height: 180px;
    width: auto;
    object-fit: contain;
    transform: rotate(12deg) translateY(-15px);
    box-shadow: 5px 10px 30px var(--black-alpha-30);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3;
    pointer-events: none;
    position: relative;
}

.gazete-link-wrapper:hover .gazete-cover {
    transform: rotate(0deg) translateY(0) scale(1.1);
}

.click-underline {
    position: relative;
    font-weight: 500;
}

.click-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--bg-white);
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .gazete-gonen-banner {
        height: auto;
        padding: 1.5rem 0;
        overflow: hidden;
    }

    .gazete-link-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .gazete-right-group {
        flex-direction: column;
        gap: 1rem;
    }

    .gazete-cover-wrapper {
        display: none;
    }

    .gazete-cover {
        transform: none;
        height: auto;
        max-width: 150px;
    }
}

/* ===========================
   Restored Tab Content Styles
   =========================== */

/* Empty State */
.empty-state {
    text-align: center;
    padding: 0rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.empty-state i {
    font-size: 1.5rem;
    opacity: 0.5;
}

.empty-state p {
    font-size: 0.8rem;
    margin: 0;
}

/* Bulletins List (Table View) */
.bulletins-list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.bulletins-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.5rem;
}

.bulletins-table th {
    text-align: left;
    padding: 0.85rem 1rem;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 2px solid var(--primary-color-alpha-10);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background-color: transparent;
}

.bulletins-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: all 0.2s;
    vertical-align: middle;
}

.bulletins-table tr {
    transition: transform 0.2s ease;
}

.bulletins-table tr:nth-child(even) td {
    background-color: #fcfdfe;
}

.bulletins-table tr:hover td {
    background-color: #f8fafc;
    color: var(--primary-color);
}

.bulletins-table tr:last-child td {
    border-bottom: none;
}

.panel-footer-link {
    text-align: right;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    gap: 0.8rem;
    opacity: 0.8;
}

.pdf-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
}

.pdf-link i {
    color: #ef4444;
    font-size: 1.2rem;
}

.bulletin-no {
    width: 150px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Mayor Message Read More Styles */
.mayor-message-content {
    transition: all 0.5s ease;
    position: relative;
    column-count: 2;
    column-gap: 20px;
}

.mayor-message-content.collapsed {
    max-height: 300px;
    overflow: hidden;
    mask-image: linear-gradient(to right, black 50%, transparent 50%), linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 50%), linear-gradient(to bottom, black 40%, transparent 100%);

    mask-composite: add;
    -webkit-mask-composite: source-over;
}

/* Fallback for better browser support */
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .mayor-message-content.collapsed {
        mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    }
}

.mayor-message-content.expanded {
    max-height: 2000px;
    mask-image: none;
    -webkit-mask-image: none;
    transition: max-height 0.8s ease-in-out;
}

.mayor-bottom-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 130px;
    margin-top: 15px;
    padding-bottom: 5px;
    padding-right: 10px;
}

.read-more-wrapper {
    margin: 0;
    z-index: 10;
}

.read-more-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--white-alpha-20);
    border-radius: 30px;
    color: var(--text-white);
    font-weight: 500;
    cursor: pointer;
    padding: 6px 16px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

/* Mobile: Stack them */
@media (max-width: 768px) {
    .mayor-bottom-row {
        flex-direction: column-reverse;
        align-items: flex-end;
        gap: 15px;
    }
}

.read-more-btn:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--bg-white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.read-more-btn::after {
    content: '↓';
    font-size: 1.1em;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.read-more-btn.active::after {
    transform: rotate(180deg);
}

.bulletin-date {
    width: 120px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.bulletin-title a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.bulletin-title a:hover {
    color: var(--primary-color);
}

.bulletin-title i {
    font-size: 1.2rem;
    color: #ef4444;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 columns */
    gap: 1.5rem;
    margin-top: 1rem;
}

.event-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    /* Horizontal */
    min-height: 220px;
    align-items: stretch;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.event-image-wrapper {
    position: relative;
    width: 40%;
    padding-top: 0;
    background: #f1f5f9;
    /* 4:5 Aspect Ratio */
    aspect-ratio: 4 / 5;
    flex-shrink: 0;
}

.aspect-ratio-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.aspect-ratio-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    width: 60%;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    gap: 0;
    /* Managed by children margins */
}

/* Badge Layout - Right aligned */
.event-badge {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    /* Use margin-left: auto to push it to the right in flex column */
    margin-left: auto;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
    color: white;
    z-index: 1;
}

.event-badge.paid {
    background-color: #ef4444;
}

.event-badge.free {
    background-color: #22c55e;
}

.event-card h4 {
    font-size: 1.25rem;
    /* Larger font */
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    color: var(--text-main);

    /* Line Clamp */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta Data Group */
.event-meta-group {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
}

.event-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Space between label and value */
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    /* Larger font */
    line-height: 1.3;
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-main);
    font-weight: 600;
}

.meta-label {
    /* Label text */
    flex-shrink: 0;
}

.meta-left i {
    font-size: 1.2rem;
    /* Larger icon */
    color: var(--primary-color);
}

.meta-value {
    font-weight: 600;
    text-align: right;
    color: var(--text-dark);
}

.location-row .meta-value {
    text-align: right;
    font-weight: 500;
    font-size: 0.9rem;

    /* Line clamp for location just in case */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: 1fr;
        /* Stack on tablet/mobile */
        gap: 1.5rem;
    }

    .event-card {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .event-card {
        flex-direction: column;
    }

    .event-image-wrapper {
        width: 100%;
        aspect-ratio: 16/9;
        /* Standard wide for mobile stack */
    }

    .event-content {
        width: 100%;
    }
}
