
:root {
    --navy: #071c30;
    --navy2: #102e49;
    --blue: #087db5;
    --cyan: #20b8d5;
    --red: #d92736;
    --bg: #f2f5f8;
    --white: #ffffff;
    --ink: #182635;
    --muted: #778493;
    --border: #e5eaf0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1380px;
    margin: auto;
    padding: 0 24px;
}

/* ÜST PİYASA */

.top-strip {
    background: #04111e;
    color: #cbd5e1;
    font-size: 12px;
}

.top-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.market-info,
.top-date {
    display: flex;
    align-items: center;
    gap: 18px;
}

.market-info strong {
    color: white;
}

.market-label {
    background: var(--blue);
    color: white;
    padding: 3px 9px;
    font-weight: 800;
}

.top-date {
    justify-content: flex-end;
}

/* HEADER */

.site-header {
    background: var(--navy);
    color: white;
    border-bottom: 3px solid var(--cyan);
}

.header-inner {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.brand-logo {
    width: 53px;
    height: 53px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0788c5, #20c2d8);
    color: white;
    font-size: 23px;
    font-weight: 900;
    border-radius: 9px;
}

.brand-name {
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.2;
}

.brand-name span {
    color: #36c4df;
}

.brand-desc {
    color: #aabac9;
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    color: #dbe5ed;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 13px;
    border-radius: 5px;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--blue);
    color: white;
}

/* KATEGORİ MENÜSÜ */

.category-nav {
    background: white;
    border-bottom: 1px solid var(--border);
}

.category-inner {
    display: flex;
    align-items: center;
    gap: 23px;
    overflow-x: auto;
    white-space: nowrap;
    min-height: 46px;
}

.category-inner a {
    font-size: 12px;
    font-weight: 700;
    color: #465565;
}

.category-inner a:hover {
    color: var(--blue);
}

.category-inner > span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
}

/* SON DAKİKA */

.breaking-bar {
    background: var(--red);
    color: white;
}

.breaking-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 39px;
    overflow: hidden;
}

.breaking-inner > strong {
    font-size: 11px;
    white-space: nowrap;
}

.breaking-list {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
}

/* SAYFA */

.page-content {
    padding-top: 25px;
}

/* HIZLI ERİŞİM */

.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}

.quick-links > a {
    background: white;
    border: 1px solid var(--border);
    padding: 17px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-radius: 8px;
    transition: .2s;
}

.quick-links > a:hover {
    transform: translateY(-3px);
    border-color: var(--blue);
    box-shadow: 0 8px 22px #102e4910;
}

.quick-links > a > span {
    font-size: 27px;
}

.quick-links strong,
.quick-links small {
    display: block;
}

.quick-links strong {
    font-size: 13px;
    color: var(--navy);
}

.quick-links small {
    font-size: 11px;
    color: var(--muted);
}

/* BÖLÜM BAŞLIKLARI */

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid var(--navy);
    padding-bottom: 13px;
    margin-bottom: 19px;
}

.section-title small {
    display: block;
    font-size: 10px;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.section-title h1,
.section-title h2 {
    color: var(--navy);
    font-size: 23px;
    font-weight: 900;
}

.section-title > a {
    font-size: 12px;
    color: var(--blue);
    font-weight: 800;
    white-space: nowrap;
}

/* ÜÇ SÜTUNLU MANŞET */

.headlines {
    margin-bottom: 38px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) minmax(230px, .82fr);
    gap: 17px;
    align-items: stretch;
}

/* ANA MANŞET */

.hero-main {
    position: relative;
    height: 430px;
    overflow: hidden;
    background: var(--navy);
    border-radius: 9px;
}

.hero-main > a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.hero-main:hover img {
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    color: white;
    background: linear-gradient(
        0deg,
        rgba(3,17,30,.98) 0%,
        rgba(3,17,30,.75) 42%,
        transparent 100%
    );
}

.hero-overlay > span {
    background: var(--blue);
    width: fit-content;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-overlay h2 {
    font-size: clamp(21px, 2.2vw, 30px);
    line-height: 1.3;
    font-weight: 900;
    margin-bottom: 10px;
}

.hero-overlay p {
    font-size: 13px;
    color: #d5e0e9;
    margin-bottom: 13px;
}

.hero-overlay > strong {
    color: #47c9e7;
    font-size: 12px;
}

/* ORTA MANŞETLER */

.hero-secondary {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
}

.hero-small {
    flex: 1;
    min-height: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-small-image {
    display: block;
    height: 155px;
    flex-shrink: 0;
    overflow: hidden;
    background: #dce6ed;
}

.hero-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.hero-small:hover img {
    transform: scale(1.04);
}

.hero-small-content {
    padding: 12px 14px;
}

.hero-small-content small {
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-small-content h3 {
    font-size: 14px;
    line-height: 1.4;
    margin: 5px 0 9px;
}

.hero-small-content time {
    color: var(--muted);
    font-size: 10px;
}

/* SAĞ GÜNDEM */

.headline-side {
    background: white;
    border: 1px solid var(--border);
    border-top: 4px solid var(--navy);
    border-radius: 8px;
    padding: 17px;
}

.headline-side h3 {
    font-size: 13px;
    font-weight: 900;
    color: var(--navy);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 7px;
}

.agenda-item {
    display: flex;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f3;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
}

.agenda-item strong {
    color: var(--blue);
    font-size: 19px;
    min-width: 22px;
}

.agenda-item:hover span {
    color: var(--blue);
}

/* HABER ALANI */

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 25px;
    align-items: start;
    margin-top: 35px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.news-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 9px;
    overflow: hidden;
    transition: .25s;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px #102e4912;
}

/* HABER FOTOĞRAFLARI - SABİT ALAN */

.news-image {
    display: block;
    position: relative;
    height: 205px;
    overflow: hidden;
    background: #dce6ed;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

.news-card:hover .news-image img {
    transform: scale(1.04);
}

.news-image > span {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: var(--blue);
    color: white;
    padding: 5px 9px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
}

.image-empty {
    width: 100%;
    height: 100%;
    min-height: 100px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0c3553, #087db5);
    color: white;
    font-size: 35px;
}

.news-body {
    padding: 16px;
}

.news-body h3 {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 10px;
    color: var(--navy);
}

.news-body h3 a:hover {
    color: var(--blue);
}

.news-body p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.news-meta {
    border-top: 1px solid var(--border);
    padding-top: 11px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
    color: var(--muted);
}

.news-meta a {
    color: var(--blue);
    font-weight: 800;
}

/* TÜM HABERLER */

.all-news {
    text-align: center;
    margin-top: 25px;
}

.all-news a {
    display: inline-block;
    background: var(--navy);
    color: white;
    padding: 13px 25px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    transition: .2s;
}

.all-news a:hover {
    background: var(--blue);
}

/* SAĞ PANEL */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.widget {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 19px;
}

.widget h3 {
    color: var(--navy);
    font-size: 13px;
    font-weight: 900;
    border-bottom: 2px solid var(--border);
    padding-bottom: 11px;
    margin-bottom: 12px;
}

.widget p {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 13px;
    line-height: 1.7;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f3;
}

.popular-item strong {
    color: var(--blue);
    font-size: 19px;
}

.popular-item span {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.popular-item:hover span {
    color: var(--blue);
}

.widget-button {
    display: block;
    text-align: center;
    background: var(--navy);
    color: white;
    padding: 11px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 5px;
}

.widget-button:hover {
    background: var(--blue);
}

.pharmacy {
    border-top: 3px solid var(--red);
}

.pharmacy small {
    color: var(--muted);
    font-size: 11px;
}

.tools a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    font-weight: 700;
}

.tools a:hover {
    color: var(--blue);
}

/* REKLAM */

.advert {
    background: linear-gradient(145deg, #09243c, #087db5);
    color: white;
    padding: 23px 19px;
    border-radius: 8px;
}

.advert small {
    font-size: 10px;
    color: #8de4f5;
    font-weight: 900;
    letter-spacing: 1px;
}

.advert h3 {
    font-size: 18px;
    line-height: 1.4;
    margin: 13px 0 8px;
}

.advert p {
    color: #d2e5f0;
    font-size: 12px;
    margin-bottom: 16px;
}

.advert a {
    font-size: 11px;
    font-weight: 900;
    color: white;
}

/* KATEGORİLER */

.category-section {
    margin-top: 45px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.category-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    transition: .2s;
}

.category-card:hover {
    border-color: var(--blue);
    transform: translateY(-3px);
}

.category-card > span {
    font-size: 27px;
}

.category-card strong {
    font-size: 13px;
    color: var(--navy);
}

.category-card small {
    color: var(--blue);
    font-size: 11px;
}

/* FOOTER */

.site-footer {
    background: #061827;
    color: #aab9c7;
    margin-top: 55px;
    padding: 45px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ffffff18;
}

.footer-brand {
    margin-bottom: 17px;
}

.footer-brand .brand-name {
    color: white;
    font-size: 23px;
}

.footer-grid p {
    max-width: 430px;
    font-size: 12px;
    line-height: 1.8;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-column h4 {
    color: white;
    font-size: 13px;
    margin-bottom: 5px;
}

.footer-column a {
    font-size: 12px;
}

.footer-column a:hover {
    color: #35c4e2;
}

.footer-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 11px;
}

/* BOŞ HABER */

.empty-news {
    background: white;
    padding: 35px;
    text-align: center;
    border-radius: 8px;
    color: var(--muted);
}

/* TABLET */

@media (max-width: 1100px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .hero-grid {
        grid-template-columns: 1.4fr 1fr;
    }

    .headline-side {
        grid-column: 1 / -1;
    }

    .content-grid {
        grid-template-columns: 1fr 270px;
    }

    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBİL */

@media (max-width: 700px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .top-inner {
        padding-top: 8px;
        padding-bottom: 8px;
        align-items: flex-start;
        flex-direction: column;
    }

    .market-info {
        gap: 10px;
        flex-wrap: wrap;
    }

    .top-date {
        font-size: 11px;
    }

    .header-inner {
        align-items: center;
    }

    .main-nav {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }

    .main-nav a {
        font-size: 11px;
        padding: 9px;
    }

    .brand-name {
        font-size: 23px;
    }

    .category-inner {
        gap: 18px;
    }

    .breaking-inner {
        gap: 10px;
    }

    .quick-links {
        gap: 9px;
    }

    .quick-links > a {
        padding: 12px 9px;
        gap: 8px;
    }

    .quick-links > a > span {
        font-size: 22px;
    }

    .quick-links strong {
        font-size: 11px;
    }

    .quick-links small {
        font-size: 10px;
    }

    .section-title h1,
    .section-title h2 {
        font-size: 19px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-main {
        height: 330px;
    }

    .hero-secondary {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-small-image {
        height: 125px;
    }

    .hero-small-content {
        padding: 10px;
    }

    .hero-small-content h3 {
        font-size: 12px;
    }

    .headline-side {
        grid-column: auto;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .news-image {
        height: 215px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 380px) {
    .hero-secondary {
        grid-template-columns: 1fr;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }
}
