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

:root {
    --black: #101010;
    --black-2: #181818;
    --white: #ffffff;
    --cream: #f7f6f3;
    --gray: #777777;
    --light-gray: #e7e5e1;
    --red: #b51222;
    --red-dark: #8f0d19;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
}

button {
    font-family: inherit;
}


/* HEADER */

.header {
    height: 70px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand {
    text-decoration: none;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.brand span {
    color: var(--red);
}

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

.search-btn,
.menu-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--light-gray);
    border-radius: 50%;
    background: #fff;
    color: var(--black);
    font-size: 23px;
    cursor: pointer;
}

.search-btn {
    font-size: 25px;
}


/* MENU */

.menu {
    position: fixed;
    top: 76px;
    right: 5%;
    width: 270px;
    background: #fff;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
    overflow: hidden;
    z-index: 1100;
    display: none;
}

.menu.active {
    display: block;
}

.menu-title {
    padding: 16px 18px;
    background: var(--black);
    color: #fff;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
}

.menu a {
    display: block;
    padding: 14px 18px;
    text-decoration: none;
    border-bottom: 1px solid var(--light-gray);
    font-size: 14px;
}

.menu a:hover {
    background: var(--cream);
    color: var(--red);
}


/* SEARCH */

.search-box {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px 5%;
    border-bottom: 1px solid var(--light-gray);
    z-index: 1050;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.search-box.active {
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 7px;
    outline: none;
    font-size: 14px;
}

.search-box button {
    width: 48px;
    border: 0;
    background: var(--black);
    color: #fff;
    border-radius: 7px;
    font-size: 20px;
}


/* BREAKING */

.breaking {
    display: flex;
    min-height: 40px;
    background: var(--black);
    color: #fff;
}

.breaking-label {
    background: var(--red);
    padding: 9px 16px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.breaking-text {
    padding: 9px 16px;
    font-size: 12px;
    color: #ddd;
    overflow: hidden;
    white-space: nowrap;
}


/* HERO */

.hero {
    background: var(--black);
    color: #fff;
    padding: 90px 5%;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 320px;
    height: 320px;
    border: 60px solid rgba(181,18,34,.15);
    border-radius: 50%;
}

.hero-inner {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-label {
    color: #d8a0a6;
    font-size: 11px;
    letter-spacing: 2.5px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(42px, 9vw, 76px);
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--red);
}

.hero p {
    max-width: 650px;
    color: #c6c6c6;
    font-size: 16px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    display: inline-block;
    padding: 13px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

.primary-btn {
    background: var(--red);
    color: #fff;
}

.primary-btn:hover {
    background: var(--red-dark);
}

.secondary-btn {
    border: 1px solid #444;
    color: #fff;
}


/* SECTIONS */

.section,
.latest-section {
    padding: 75px 5%;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 32px;
}

.section-heading span {
    color: var(--red);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
}

.section-heading h2 {
    font-size: 34px;
    line-height: 1.2;
    margin-top: 5px;
}

.view-all {
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}


/* CATEGORIES */

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    text-decoration: none;
    transition: .25s;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: var(--red);
    box-shadow: 0 12px 30px rgba(0,0,0,.07);
}

.category-card.featured {
    border-left: 4px solid var(--red);
}

.card-icon {
    min-width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--black);
    color: #fff;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 900;
}

.category-card h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.category-card p {
    color: var(--gray);
    font-size: 12px;
}

.category-card strong {
    margin-left: auto;
    font-size: 20px;
}


/* LATEST */

.latest-section {
    background: var(--cream);
}

.news-card {
    background: #fff;
    padding: 25px;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    margin-bottom: 14px;
}

.news-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.tag {
    color: var(--black);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.tag.red {
    color: var(--red);
}

.date {
    color: #999;
    font-size: 11px;
}

.news-card h3 {
    font-size: 21px;
    line-height: 1.35;
    margin-bottom: 10px;
}

.news-card p {
    color: var(--gray);
    font-size: 13px;
    max-width: 750px;
}

.read-more {
    display: inline-block;
    margin-top: 20px;
    color: var(--red);
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}


/* ABOUT */

.about {
    padding: 90px 5%;
    max-width: 900px;
}

.about-label {
    color: var(--red);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 18px;
}

.about h2 {
    font-size: clamp(34px, 7vw, 55px);
    line-height: 1.12;
    margin-bottom: 22px;
}

.about h2 span {
    color: var(--red);
}

.about p {
    max-width: 700px;
    color: var(--gray);
    font-size: 15px;
}


/* FOOTER */

footer {
    background: var(--black);
    color: #fff;
    padding: 50px 5%;
}

.footer-brand {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

footer > p {
    color: #999;
    font-size: 12px;
    margin-top: 6px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 12px;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 11px;
}


/* MOBILE */

@media (max-width: 700px) {

    .header {
        height: 64px;
    }

    .brand {
        font-size: 16px;
    }

    .menu {
        top: 70px;
        left: 5%;
        right: 5%;
        width: auto;
    }

    .search-box {
        top: 64px;
    }

    .hero {
        padding: 65px 5%;
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -1.5px;
    }

    .hero p {
        font-size: 14px;
    }

    .section,
    .latest-section {
        padding: 55px 5%;
    }

    .section-heading {
        align-items: start;
    }

    .section-heading h2 {
        font-size: 28px;
    }

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

    .category-card {
        padding: 18px;
    }

    .news-card {
        padding: 20px;
    }

    .news-card h3 {
        font-size: 18px;
    }

    .about {
        padding: 65px 5%;
    }

    .about h2 {
        font-size: 34px;
    }
}

/* =========================
   NOTICE DETAILS PAGE
========================= */

.notice-page {
    padding: 70px 5% 90px;
    max-width: 900px;
    margin: 0 auto;
}

.notice-category {
    display: inline-block;
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.notice-page h1 {
    font-size: clamp(34px, 7vw, 58px);
    line-height: 1.12;
    letter-spacing: -1px;
    max-width: 800px;
}

.notice-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
    color: #777;
    font-size: 12px;
}

.notice-divider {
    height: 1px;
    background: var(--light-gray);
    margin: 35px 0;
}

.notice-content {
    font-size: 16px;
    color: #444;
}

.notice-content p {
    margin-bottom: 25px;
}

.notice-content h2 {
    color: var(--black);
    font-size: 24px;
    margin: 35px 0 15px;
}

.important-box {
    background: var(--cream);
    border-left: 4px solid var(--red);
    padding: 20px;
    display: grid;
    gap: 16px;
    margin: 20px 0 30px;
}

.important-box div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
}

.important-box div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.important-box strong {
    color: var(--black);
}

.important-box span {
    color: #777;
}


/* OFFICIAL SOURCE */

.official-source {
    margin-top: 45px;
    padding: 22px;
    background: var(--black);
    color: #fff;
    border-radius: 10px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.official-source span,
.pdf-box span {
    color: #aaa;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.official-source h3,
.pdf-box h3 {
    margin-top: 5px;
    font-size: 17px;
}

.source-btn {
    background: var(--red);
    color: #fff;
    padding: 11px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}


/* PDF */

.pdf-box {
    margin-top: 15px;
    padding: 22px;
    border: 1px solid var(--light-gray);
    border-radius: 10px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.pdf-btn {
    background: var(--black);
    color: #fff;
    padding: 11px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}


/* BACK BUTTON */

.back-btn {
    display: inline-block;
    margin-top: 30px;
    color: var(--red);
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}


/* NOTICE MOBILE */

@media (max-width: 700px) {

    .notice-page {
        padding: 55px 5% 70px;
    }

    .notice-page h1 {
        font-size: 37px;
    }

    .notice-content {
        font-size: 15px;
    }

    .notice-content h2 {
        font-size: 21px;
    }

    .official-source,
    .pdf-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .source-btn,
    .pdf-btn {
        width: 100%;
        text-align: center;
    }

    .important-box div {
        flex-direction: column;
        gap: 4px;
    }

}

/* =========================================
   SHADAT FATIH — PREMIUM HOMEPAGE
========================================= */

.home-page {
    background: #fff;
}

.home-page .breaking {
    border-bottom: 1px solid #292929;
}

.home-page .breaking-text {
    text-overflow: ellipsis;
}

.home-page .hero {
    min-height: 560px;
    display: flex;
    align-items: center;
}

.home-page .hero-inner {
    width: 100%;
}

.home-page .hero h1 {
    max-width: 850px;
}

.home-page .hero-buttons a {
    transition: .25s ease;
}

.home-page .primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(181,18,34,.25);
}

.home-page .secondary-btn:hover {
    background: #fff;
    color: var(--black);
}


/* PREMIUM CATEGORY CARDS */

.home-page .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-page .category-card {
    min-height: 125px;
    position: relative;
    overflow: hidden;
}

.home-page .category-card::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -35px;
    bottom: -40px;
    border: 1px solid rgba(181,18,34,.12);
    border-radius: 50%;
    transition: .3s ease;
}

.home-page .category-card:hover::after {
    transform: scale(1.4);
}

.home-page .category-card.featured {
    background: #fffafa;
}

.home-page .card-icon {
    flex-shrink: 0;
}


/* PREMIUM NEWS */

.home-page .latest-section {
    position: relative;
}

.home-page .news-card {
    position: relative;
    overflow: hidden;
    transition: .25s ease;
}

.home-page .news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0,0,0,.08);
}

.home-page .news-card:first-of-type {
    border-left: 4px solid var(--red);
}

.home-page .read-more {
    transition: .2s ease;
}

.home-page .read-more:hover {
    padding-left: 5px;
}


/* PREMIUM ABOUT */

.home-page .about {
    max-width: 1000px;
    position: relative;
}

.home-page .about::before {
    content: "SF";
    position: absolute;
    right: 5%;
    top: 55px;
    font-size: 130px;
    line-height: 1;
    font-weight: 900;
    color: rgba(181,18,34,.035);
    pointer-events: none;
}


/* MOBILE */

@media (max-width: 700px) {

    .home-page .hero {
        min-height: auto;
    }

    .home-page .category-grid {
        grid-template-columns: 1fr;
    }

    .home-page .category-card {
        min-height: 110px;
    }

    .home-page .about::before {
        font-size: 90px;
        right: 4%;
        top: 35px;
    }

}

/* =========================================
   SHADAT FATIH — FEATURED CATEGORY GRID
========================================= */

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 35px;
}

.featured-card {
    position: relative;
    display: block;
    min-height: 190px;
    padding: 25px;
    background: #fff;
    color: var(--black);
    text-decoration: none;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: .25s ease;
}

.featured-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -55px;
    bottom: -65px;
    border: 30px solid rgba(181,18,34,.06);
    border-radius: 50%;
    transition: .3s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    border-color: var(--red);
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.featured-card:hover::after {
    transform: scale(1.3);
}

.featured-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.featured-card-top span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: var(--black);
    color: #fff;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 900;
}

.featured-card-top small {
    color: var(--red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.featured-card h3 {
    font-size: 21px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.featured-card p {
    max-width: 420px;
    color: var(--gray);
    font-size: 12px;
    line-height: 1.6;
}

.featured-card strong {
    position: absolute;
    left: 25px;
    bottom: 20px;
    color: var(--red);
    font-size: 12px;
    z-index: 2;
}


/* FEATURED NU */

.featured-nu {
    background: #fffafa;
    border-left: 4px solid var(--red);
}


/* FEATURED BOARD */

.featured-board {
    background: #fafafa;
}


/* MOBILE */

@media (max-width: 700px) {

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .featured-card {
        min-height: 175px;
        padding: 22px;
    }

    .featured-card h3 {
        font-size: 19px;
    }

    .featured-card strong {
        left: 22px;
        bottom: 18px;
    }

}

/* =========================================
   NOTICE LISTING PAGE
========================================= */

.notice-list-page {
    background: #fff;
}

.notice-list-hero {
    background: var(--black);
    color: #fff;
    padding: 75px 5%;
    position: relative;
    overflow: hidden;
}

.notice-list-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -100px;
    top: -100px;
    border: 55px solid rgba(181,18,34,.14);
    border-radius: 50%;
}

.notice-list-label {
    color: #d8a0a6;
    font-size: 11px;
    letter-spacing: 2.5px;
    font-weight: 900;
    margin-bottom: 18px;
}

.notice-list-hero h1 {
    position: relative;
    z-index: 2;
    max-width: 800px;
    font-size: clamp(40px, 8vw, 68px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.notice-list-hero h1 span {
    color: var(--red);
}

.notice-list-hero p {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: #bbb;
    font-size: 15px;
    margin-top: 20px;
}


/* FILTER */

.notice-filter-section {
    padding: 30px 5% 10px;
    background: var(--cream);
}

.notice-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.notice-filter-btn {
    border: 1px solid #ddd;
    background: #fff;
    color: var(--black);
    padding: 10px 15px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    transition: .2s ease;
}

.notice-filter-btn:hover {
    border-color: var(--red);
    color: var(--red);
}

.notice-filter-btn.active {
    background: var(--black);
    color: #fff;
    border-color: var(--black);
}


/* NOTICE LIST */

.notice-list {
    background: var(--cream);
    padding: 25px 5% 75px;
    display: grid;
    gap: 14px;
}

.notice-list-card {
    background: #fff;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 25px;
    transition: .25s ease;
}

.notice-list-card:hover {
    transform: translateY(-3px);
    border-color: var(--red);
    box-shadow: 0 14px 35px rgba(0,0,0,.07);
}

.notice-list-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 14px;
}

.notice-tag {
    color: var(--black);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.notice-tag.red {
    color: var(--red);
}

.notice-date {
    color: #999;
    font-size: 11px;
    white-space: nowrap;
}

.notice-list-card h2 {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 9px;
}

.notice-list-card p {
    max-width: 760px;
    color: var(--gray);
    font-size: 13px;
}

.notice-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.notice-card-bottom span {
    color: #888;
    font-size: 11px;
}

.notice-card-bottom a {
    color: var(--red);
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}

.notice-card-bottom a:hover {
    padding-right: 4px;
}


/* EMPTY */

.no-notice {
    display: none;
    background: var(--cream);
    text-align: center;
    padding: 60px 5%;
    color: var(--gray);
    font-size: 14px;
}


/* MOBILE */

@media (max-width: 700px) {

    .notice-list-hero {
        padding: 60px 5%;
    }

    .notice-list-hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .notice-list-hero p {
        font-size: 14px;
    }

    .notice-filter-section {
        padding: 22px 5% 8px;
    }

    .notice-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
    }

    .notice-filter-btn {
        flex-shrink: 0;
    }

    .notice-list {
        padding: 18px 5% 60px;
    }

    .notice-list-card {
        padding: 20px;
    }

    .notice-list-top {
        align-items: flex-start;
    }

    .notice-list-card h2 {
        font-size: 19px;
    }

    .notice-card-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .notice-card-bottom a {
        width: 100%;
        text-align: center;
        background: var(--black);
        color: #fff;
        padding: 11px;
        border-radius: 6px;
    }

}

.news-card .post-image {
    width: 100%;
    max-height: 350px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 16px;
    background: #f5f5f5;
}

.news-card .post-image img {
    width: 100%;
    height: auto;
    max-height: 350px;
    display: block;
    object-fit: contain;
}

/* =====================================================
   BREAKING NEWS
===================================================== */

.breaking {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.breaking-label {
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.breaking-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.breaking-text {
    animation: breakingScroll 15s linear infinite;
}

@keyframes breakingScroll {

    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }

}

.hero {
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.45)
        ),
        url("images/cover.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.total-visits {
    text-align: center;
    padding: 24px 15px;
    margin: 0;
    background: var(--dark);
    color: var(--white);
}

.total-visits span {
    font-size: 18px;
    margin-right: 6px;
}

.total-visits strong {
    font-size: 20px;
    font-weight: 700;
}

.total-visits small {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    letter-spacing: 1.5px;
    opacity: 0.65;
}