/* =========================================================
   İRADE-İ MİLLİYE / MAIN CSS
========================================================= */

/* =========================================================
   1) TEMEL
========================================================= */
:root {
    --im-primary: #0b1f3a;
    --im-primary-2: #132947;
    --im-secondary: #7a1c1c;
    --im-accent: #c9a74e;
    --im-accent-2: #e3c97f;
    --im-white: #ffffff;
    --im-black: #111111;
    --im-text: #1f2937;
    --im-text-soft: #5f6b7a;
    --im-surface: #f7f5f0;
    --im-surface-2: #eef2f6;
    --im-border: rgba(11, 31, 58, 0.12);
    --im-border-light: rgba(255, 255, 255, 0.12);
    --im-shadow-sm: 0 10px 30px rgba(11, 31, 58, 0.08);
    --im-shadow-md: 0 18px 45px rgba(11, 31, 58, 0.14);
    --im-radius-sm: 10px;
    --im-radius-md: 16px;
    --im-radius-lg: 24px;
    --im-container: 1240px;
    --im-transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--im-text);
    background: var(--im-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.admin-bar .site-header {
    top: 32px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--im-transition);
}

p {
    margin: 0 0 18px;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 16px;
    font-family: "Playfair Display", serif;
    line-height: 1.2;
    font-weight: 700;
    color: var(--im-primary);
}

h1 {
    font-size: clamp(2.4rem, 4vw, 4.3rem);
}

h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.container {
    width: min(100% - 32px, var(--im-container));
    margin-inline: auto;
}

.section {
    padding: 88px 0;
}

.section-sm {
    padding: 64px 0;
}

.bg-light {
    background: var(--im-surface);
}

.text-center {
    text-align: center;
}

/* =========================================================
   2) HEADER TOP
========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(11, 31, 58, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-top {
    background: linear-gradient(90deg, var(--im-secondary), #8d2424);
    color: var(--im-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-top .container {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.header-top-left,
.header-top-right {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
}

.header-top-left span,
.header-top-right a,
.header-top-right span {
    color: rgba(255, 255, 255, 0.9);
}

.header-top-right a:hover {
    color: var(--im-accent-2);
}

/* =========================================================
   3) HEADER MAIN
========================================================= */
.header-main {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex-shrink: 0;
}

.site-logo,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-logo img,
.custom-logo-link img {
    max-height: 64px;
    width: auto;
}

.site-title-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.site-title {
    margin: 0;
    font-size: 1.24rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-title a {
    color: var(--im-white);
}

.site-title a:hover {
    color: var(--im-accent-2);
}

.site-description {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

/* =========================================================
   4) MENÜ
========================================================= */
.main-navigation {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-item {
    position: relative;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: var(--im-white);
    font-size: 0.97rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 4px 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 3px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--im-accent), var(--im-accent-2));
    transition: var(--im-transition);
}

.nav-link:hover {
    color: var(--im-accent-2);
}

.nav-link:hover::after,
.current-menu-item > .nav-link::after,
.current_page_item > .nav-link::after,
.current-menu-ancestor > .nav-link::after,
.current-page-ancestor > .nav-link::after {
    width: 100%;
}

/* =========================================================
   5) DROPDOWN
========================================================= */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > .nav-link {
    padding-right: 14px;
}

.menu-item-has-children > .nav-link::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: translateY(-65%) rotate(45deg);
    transition: var(--im-transition);
}

.menu-item-has-children:hover > .nav-link::before {
    border-color: var(--im-accent-2);
}

.sub-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    min-width: 245px;
    padding: 12px 0;
    background: var(--im-white);
    border-radius: var(--im-radius-md);
    box-shadow: var(--im-shadow-md);
    border: 1px solid rgba(11, 31, 58, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--im-transition);
    z-index: 50;
}

.sub-menu li {
    width: 100%;
}

.sub-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 18px;
    color: var(--im-text);
    font-size: 0.95rem;
    font-weight: 500;
}

.sub-menu a:hover {
    background: var(--im-surface);
    color: var(--im-secondary);
}

.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================================================
   6) MOBİL MENÜ BUTONU
========================================================= */
.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-toggle-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--im-white);
    border-radius: 999px;
    transition: var(--im-transition);
}

/* =========================================================
   7) HERO
========================================================= */
.hero-section {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(11, 31, 58, 0.48), rgba(11, 31, 58, 0.82)),
        url("../images/hero.jpg") center/cover no-repeat;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(201, 167, 78, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(122, 28, 28, 0.18), transparent 28%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 120px 0;
    color: var(--im-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--im-accent-2);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    margin-bottom: 20px;
    color: var(--im-white);
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hero-text {
    max-width: 650px;
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
}

.hero-stats {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 760px;
}

.hero-stat {
    padding: 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--im-radius-md);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.hero-stat strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.35rem;
    color: var(--im-accent-2);
}

.hero-stat span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* =========================================================
   8) BUTONLAR
========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--im-transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--im-secondary), #8d2424);
    color: var(--im-white);
    box-shadow: 0 12px 26px rgba(122, 28, 28, 0.22);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(122, 28, 28, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--im-white);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--im-accent-2);
}

.btn-gold {
    background: linear-gradient(135deg, var(--im-accent), var(--im-accent-2));
    color: var(--im-primary);
    box-shadow: 0 14px 28px rgba(201, 167, 78, 0.22);
}

.btn-gold:hover {
    transform: translateY(-2px);
}

/* =========================================================
   9) KARTLAR
========================================================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.card {
    height: 100%;
    overflow: hidden;
    border-radius: var(--im-radius-lg);
    border: 1px solid var(--im-border);
    background: var(--im-white);
    box-shadow: var(--im-shadow-sm);
    transition: var(--im-transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--im-shadow-md);
}

.card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 26px;
}

.card-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--im-secondary);
    font-size: 0.9rem;
    font-weight: 700;
}

.card-title {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.card-text {
    color: var(--im-text-soft);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--im-secondary);
    font-weight: 700;
}

.card-link:hover {
    color: var(--im-accent);
}

/* =========================================================
   10) DUYURU KUTULARI
========================================================= */
.news-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-item {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--im-border);
    border-radius: var(--im-radius-lg);
    background: linear-gradient(180deg, #ffffff, #fbfbfc);
    box-shadow: var(--im-shadow-sm);
    transition: var(--im-transition);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--im-shadow-md);
}

.news-date {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--im-secondary);
    font-size: 0.92rem;
    font-weight: 700;
}

.news-item h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.news-item p {
    color: var(--im-text-soft);
}

/* =========================================================
   11) YÖNETİM
========================================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.team-card {
    overflow: hidden;
    text-align: center;
    border-radius: var(--im-radius-lg);
    background: var(--im-white);
    border: 1px solid var(--im-border);
    box-shadow: var(--im-shadow-sm);
    transition: var(--im-transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--im-shadow-md);
}

.team-photo {
    aspect-ratio: 4 / 4.3;
    overflow: hidden;
    background: var(--im-surface-2);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-content {
    padding: 22px 18px 24px;
}

.team-content h3 {
    margin-bottom: 6px;
    font-size: 1.2rem;
}

.team-role {
    display: block;
    color: var(--im-secondary);
    font-weight: 700;
    font-size: 0.95rem;
}

.team-content p {
    margin-top: 10px;
    color: var(--im-text-soft);
    font-size: 0.95rem;
}

/* =========================================================
   12) ŞUBELER
========================================================= */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.branch-card {
    padding: 28px;
    border-radius: var(--im-radius-lg);
    background: var(--im-white);
    border: 1px solid var(--im-border);
    box-shadow: var(--im-shadow-sm);
    transition: var(--im-transition);
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--im-shadow-md);
}

.branch-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.branch-card p {
    color: var(--im-text-soft);
    margin-bottom: 12px;
}

.branch-link {
    color: var(--im-secondary);
    font-weight: 700;
}

.branch-link:hover {
    color: var(--im-accent);
}

/* =========================================================
   13) SAYFA HERO
========================================================= */
.page-hero {
    padding: 86px 0 74px;
    background:
        linear-gradient(180deg, rgba(11, 31, 58, 0.82), rgba(11, 31, 58, 0.9)),
        url("../images/page-banner.jpg") center/cover no-repeat;
    color: var(--im-white);
}

.page-hero h1 {
    color: var(--im-white);
    margin-bottom: 12px;
}

.page-hero p,
.breadcrumbs {
    color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   14) İÇERİK
========================================================= */
.content-area {
    padding: 88px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 42px;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 0.94rem;
    color: var(--im-text-soft);
}

.entry-thumbnail {
    margin-bottom: 28px;
    overflow: hidden;
    border-radius: var(--im-radius-lg);
}

.entry-thumbnail img {
    width: 100%;
    object-fit: cover;
}

.entry-content {
    font-size: 1.02rem;
}

.entry-content a {
    color: var(--im-secondary);
    font-weight: 600;
}

.entry-content a:hover {
    color: var(--im-accent);
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 18px 20px;
    padding: 0;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content blockquote {
    margin: 24px 0;
    padding: 24px 28px;
    border-left: 4px solid var(--im-accent);
    background: var(--im-surface);
    color: var(--im-primary);
    font-style: italic;
    border-radius: 0 var(--im-radius-md) var(--im-radius-md) 0;
}

/* =========================================================
   15) SIDEBAR
========================================================= */
.widget {
    margin-bottom: 26px;
    padding: 24px;
    border: 1px solid var(--im-border);
    border-radius: var(--im-radius-lg);
    background: var(--im-white);
    box-shadow: var(--im-shadow-sm);
}

.widget-title {
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(11, 31, 58, 0.08);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget a:hover {
    color: var(--im-secondary);
}

/* =========================================================
   16) FOOTER
========================================================= */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, #09172b, #07111f);
    color: rgba(255, 255, 255, 0.82);
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(201, 167, 78, 0.08), transparent 24%),
        radial-gradient(circle at bottom left, rgba(122, 28, 28, 0.14), transparent 22%);
    pointer-events: none;
}

.footer-top {
    position: relative;
    padding: 78px 0 42px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
}

.footer-brand h3,
.footer-col h4 {
    color: var(--im-white);
    margin-bottom: 18px;
}

.footer-brand p,
.footer-col p,
.footer-col li,
.footer-col a {
    color: rgba(255, 255, 255, 0.76);
}

.footer-col ul {
    display: grid;
    gap: 10px;
}

.footer-col a:hover,
.footer-link:hover {
    color: var(--im-accent-2);
}

.footer-bottom {
    position: relative;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* =========================================================
   17) FORMLAR
========================================================= */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
textarea,
select {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid rgba(11, 31, 58, 0.14);
    border-radius: 14px;
    background: #ffffff;
    color: var(--im-text);
    outline: none;
    transition: var(--im-transition);
}

textarea {
    min-height: 150px;
    resize: vertical;
    padding-top: 16px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--im-accent);
    box-shadow: 0 0 0 4px rgba(201, 167, 78, 0.12);
}

/* =========================================================
   18) PAGINATION
========================================================= */
.pagination,
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--im-border);
    background: var(--im-white);
    color: var(--im-primary);
    font-weight: 700;
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--im-secondary);
    color: var(--im-white);
    border-color: var(--im-secondary);
}

/* =========================================================
   19) WP ORTAK SINIFLAR
========================================================= */
.alignleft {
    float: left;
    margin: 0 22px 18px 0;
}

.alignright {
    float: right;
    margin: 0 0 18px 22px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
    padding: 10px;
    border-radius: var(--im-radius-md);
    background: var(--im-surface);
}

.wp-caption-text {
    margin-top: 8px;
    font-size: 0.92rem;
    color: var(--im-text-soft);
    text-align: center;
}

.gallery {
    display: grid;
    gap: 18px;
}

.sticky,
.bypostauthor {
    position: relative;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

.screen-reader-text:focus {
    left: 10px;
    top: 10px;
    z-index: 100000;
    padding: 10px 14px;
    background: #ffffff;
    color: #000000;
}

/* =========================================================
   20) SELECTION
========================================================= */
::selection {
    background: rgba(201, 167, 78, 0.28);
    color: var(--im-primary);
}

/* =========================================================
   HOME PAGE / PORTAL LAYOUT PATCH
========================================================= */

.home-page {
    background:
        radial-gradient(circle at top left, rgba(11, 31, 58, 0.025), transparent 20%),
        linear-gradient(180deg, #f8f8f7 0%, #ffffff 18%, #ffffff 100%);
}

/* Üst banner */
.home-top-banner {
    padding: 24px 0 10px;
}

.home-top-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 26px;
    border-radius: 20px;
    background: linear-gradient(90deg, #1770b8 0%, #1da2d8 50%, #2d88d8 100%);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(23, 112, 184, 0.16);
    overflow: hidden;
    position: relative;
}

.home-top-banner-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at left center, rgba(255, 255, 255, 0.14), transparent 18%),
        radial-gradient(circle at right center, rgba(255, 255, 255, 0.1), transparent 20%);
    pointer-events: none;
}

.home-top-banner-badge,
.home-top-banner-text,
.home-top-banner-link {
    position: relative;
    z-index: 2;
}

.home-top-banner-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-top-banner-text {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.home-top-banner-link {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    color: #eaf7ff;
}

/* Ana grid */
.home-main-showcase {
    padding: 22px 0 40px;
}

.home-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(300px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.home-main-left,
.home-main-right {
    min-width: 0;
}

/* Sol büyük slider kartı */
.home-slider-card {
    position: relative;
    margin-bottom: 28px;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(11, 31, 58, 0.08);
    box-shadow: 0 18px 40px rgba(11, 31, 58, 0.08);
}

.home-slider {
    position: relative;
}

.home-slide {
    position: relative;
    display: none;
    min-height: 620px;
    background: #dfe7ef;
}

.home-slide.is-active {
    display: block;
}

.home-slide-image-link {
    display: block;
}

.home-slide-image {
    min-height: 620px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 31, 58, 0.08), rgba(11, 31, 58, 0.7)),
        linear-gradient(90deg, rgba(11, 31, 58, 0.24), rgba(11, 31, 58, 0));
    pointer-events: none;
}

.home-slide-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 34px 34px 32px;
    color: #ffffff;
}

.home-slide-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #f7f7f7;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-slide-title {
    margin-bottom: 12px;
    font-size: clamp(1.8rem, 2.3vw, 2.8rem);
    line-height: 1.15;
}

.home-slide-title,
.home-slide-title a {
    color: #ffffff;
}

.home-slide-title a:hover {
    color: var(--im-accent-2);
}

.home-slide-excerpt {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

/* Slider kontroller */
.home-slider-controls {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.home-slider-prev,
.home-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--im-primary);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(11, 31, 58, 0.16);
    pointer-events: auto;
    transition: var(--im-transition);
}

.home-slider-prev:hover,
.home-slider-next:hover {
    background: var(--im-accent-2);
    color: var(--im-primary);
}

.home-slider-prev {
    left: 18px;
}

.home-slider-next {
    right: 18px;
}

.home-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 20px 20px;
    background: #ffffff;
}

.home-slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(11, 31, 58, 0.18);
    cursor: pointer;
    transition: var(--im-transition);
}

.home-slider-dot.is-active,
.home-slider-dot:hover {
    width: 28px;
    background: var(--im-secondary);
}

/* Sol alttaki içerik listesi */
.home-block-title {
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(11, 31, 58, 0.08);
}

.home-block-title h2 {
    margin: 0;
    font-size: 1.6rem;
}

.home-featured-posts {
    padding: 0;
}

.home-featured-list {
    display: grid;
    gap: 18px;
}

.home-featured-item {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(11, 31, 58, 0.05);
    transition: var(--im-transition);
}

.home-featured-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(11, 31, 58, 0.08);
}

.home-featured-thumb {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #edf2f6;
}

.home-featured-thumb img {
    width: 100%;
    height: 100%;
    min-height: 155px;
    object-fit: cover;
}

.home-featured-content.no-thumb {
    padding: 8px 0;
}

.home-featured-category {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(23, 112, 184, 0.08);
    color: #1770b8;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-featured-content h3 {
    margin-bottom: 10px;
    font-size: 1.34rem;
    line-height: 1.25;
}

.home-featured-content h3 a:hover {
    color: var(--im-secondary);
}

.home-featured-meta {
    margin-bottom: 10px;
    color: var(--im-text-soft);
    font-size: 0.9rem;
}

.home-featured-content p {
    color: var(--im-text-soft);
    margin-bottom: 10px;
}

.home-inline-link {
    color: var(--im-secondary);
    font-weight: 700;
}

.home-inline-link:hover {
    color: var(--im-accent);
}

/* Sağ sidebar */
.home-main-right {
    display: grid;
    gap: 18px;
}

.sidebar-panel {
    padding: 22px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(11, 31, 58, 0.08);
    box-shadow: 0 14px 30px rgba(11, 31, 58, 0.06);
}

.sidebar-panel-highlight {
    background:
        linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    border-color: rgba(23, 112, 184, 0.14);
}

.sidebar-mini-title {
    display: inline-flex;
    margin-bottom: 10px;
    color: #1770b8;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sidebar-panel h3 {
    margin-bottom: 10px;
    font-size: 1.32rem;
}

.sidebar-panel p {
    color: var(--im-text-soft);
    margin-bottom: 16px;
    font-size: 0.96rem;
}

.sidebar-full-btn {
    width: 100%;
}

.sidebar-magazine-cover {
    margin: 14px 0 18px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, #4788d1 0%, #2f69b6 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.sidebar-magazine-inner {
    min-height: 320px;
    padding: 28px 22px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

.sidebar-magazine-inner strong {
    font-size: 1.9rem;
    line-height: 1.05;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.sidebar-magazine-inner span {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
}

.sidebar-magazine-inner small {
    margin-top: auto;
    font-size: 0.9rem;
    opacity: 0.84;
}

.sidebar-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.sidebar-panel-head h3 {
    margin: 0;
    font-size: 1.18rem;
}

.sidebar-panel-head a {
    color: #1770b8;
    font-size: 0.88rem;
    font-weight: 700;
}

.sidebar-panel-head a:hover {
    color: var(--im-secondary);
}

.sidebar-list {
    display: grid;
    gap: 14px;
}

.sidebar-list-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.sidebar-list-thumb {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: #edf2f6;
}

.sidebar-list-thumb img {
    width: 72px;
    height: 72px;
    object-fit: cover;
}

.sidebar-list-content h4 {
    margin-bottom: 6px;
    font-size: 1rem;
    line-height: 1.3;
}

.sidebar-list-content p {
    margin: 0;
    color: var(--im-text-soft);
    font-size: 0.9rem;
    line-height: 1.6;
}

.sidebar-empty {
    color: var(--im-text-soft);
    margin: 0;
}

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sidebar-tag {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f4f7fb;
    border: 1px solid rgba(11, 31, 58, 0.08);
    color: var(--im-primary);
    font-size: 0.9rem;
    font-weight: 700;
}

.sidebar-tag:hover {
    background: var(--im-secondary);
    border-color: var(--im-secondary);
    color: #ffffff;
}

/* Sol hizalı section head */
.section-head-left {
    max-width: 760px;
    margin: 0 0 42px;
    text-align: left;
}

/* Reveal animasyon için */
.reveal-init {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll header iyileştirme */
.site-header.is-scrolled {
    background: rgba(11, 31, 58, 0.98);
    box-shadow: 0 12px 28px rgba(11, 31, 58, 0.14);
}

/* Mobil submenu JS desteği */
@media (max-width: 1024px) {
    .menu-item-has-children .sub-menu {
        display: none;
    }

    .menu-item-has-children.submenu-open .sub-menu {
        display: block;
    }

    .menu-item-has-children.submenu-open > .nav-link::before {
        transform: translateY(-35%) rotate(225deg);
    }

    .home-main-grid {
        grid-template-columns: 1fr;
    }

    .home-main-right {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .home-slide,
    .home-slide-image {
        min-height: 520px;
    }
}

@media (max-width: 768px) {
    .home-top-banner {
        padding: 18px 0 8px;
    }

    .home-top-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        border-radius: 18px;
    }

    .home-top-banner-badge {
        min-width: auto;
        min-height: 42px;
        font-size: 0.82rem;
    }

    .home-top-banner-text {
        font-size: 0.98rem;
    }

    .home-main-showcase {
        padding: 16px 0 28px;
    }

    .home-main-right {
        grid-template-columns: 1fr;
    }

    .home-slide,
    .home-slide-image {
        min-height: 420px;
    }

    .home-slide-overlay {
        padding: 24px 20px 22px;
    }

    .home-slide-title {
        font-size: 1.5rem;
    }

    .home-slide-excerpt {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .home-slider-prev,
    .home-slider-next {
        width: 46px;
        height: 46px;
        font-size: 1.6rem;
    }

    .home-slider-prev {
        left: 10px;
    }

    .home-slider-next {
        right: 10px;
    }

    .home-featured-item {
        grid-template-columns: 1fr;
    }

    .home-featured-thumb img {
        min-height: 210px;
    }

    .section-head-left {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .home-slide,
    .home-slide-image {
        min-height: 360px;
    }

    .home-slide-kicker {
        font-size: 0.74rem;
        padding: 7px 11px;
    }

    .home-slide-title {
        font-size: 1.28rem;
    }

    .home-slide-excerpt {
        font-size: 0.9rem;
    }

    .sidebar-panel {
        padding: 18px;
        border-radius: 16px;
    }

    .sidebar-magazine-inner {
        min-height: 260px;
        padding: 22px 16px;
    }

    .sidebar-magazine-inner strong {
        font-size: 1.5rem;
    }
}

/* =========================================================
   SINGLE POST NAVIGATION
========================================================= */
.single-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(11, 31, 58, 0.08);
}

.single-post-nav-item a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 16px;
    background: #ffffff;
    color: var(--im-primary);
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(11, 31, 58, 0.04);
}

.single-post-nav-item a:hover {
    background: var(--im-secondary);
    color: #ffffff;
    border-color: var(--im-secondary);
}

.single-post-nav-next {
    text-align: right;
}

.single-post-nav-next a {
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .single-post-navigation {
        grid-template-columns: 1fr;
    }

    .single-post-nav-next {
        text-align: left;
    }

    .single-post-nav-next a {
        justify-content: flex-start;
    }
}

/* =========================================================
   ARCHIVE PAGE
========================================================= */
.archive-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-card .card-title {
    font-size: 1.3rem;
}

.archive-pagination {
    margin-top: 36px;
}

.archive-empty-state {
    display: flex;
    justify-content: center;
}

.archive-empty-card {
    width: 100%;
    max-width: 720px;
    padding: 42px 28px;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(11, 31, 58, 0.06);
    text-align: center;
}

.archive-empty-card h2 {
    margin-bottom: 12px;
}

.archive-empty-card p {
    margin-bottom: 18px;
    color: var(--im-text-soft);
}

@media (max-width: 1024px) {
    .archive-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .archive-card-grid {
        grid-template-columns: 1fr;
    }

    .archive-empty-card {
        padding: 30px 20px;
        border-radius: 18px;
    }
}