/* =========================================================
   Eczacina Danis - Theme Overrides
   Purpose: medical, trustworthy, content-focused homepage
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
    --ed-primary: #214842;
    --ed-secondary: #258f67;
    --ed-accent: #efc368;
    --ed-bg-soft: #fafaf5;
    --ed-bg-tint: #f3f8f5;
    --ed-text: #556260;
    --ed-border: #e3ece7;
    --ed-shadow: 0 8px 24px rgba(33, 72, 66, 0.1);
    --ed-radius-sm: 12px;
    --ed-radius-md: 16px;
    --ed-radius-lg: 20px;
    --ed-space-1: 8px;
    --ed-space-2: 12px;
    --ed-space-3: 16px;
    --ed-space-4: 20px;
    --ed-space-5: 24px;
    --ed-space-6: 30px;
    /* Header yüksekliği — template CSS'inden alınan gerçek değerler */
    --header-h: 60px;        /* mobile & tablet */
    --header-h-desktop: 140px; /* ≥1200px — başlangıç yüksekliği */
    --header-h-sticky: 90px;   /* ≥1200px — scroll sonrası */
    /* İç sayfa üst boşluk: header yüksekliği + estetik padding */
    --page-offset: calc(var(--header-h) + 32px);
    --page-offset-desktop: calc(var(--header-h-desktop) + 40px);
}

/* ---------- Global Helpers ---------- */
.section--compact {
    padding: 70px 0;
}

.section_header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 30px;
}

.section_header h2 {
    margin-bottom: 12px;
}

.section_btn-wrap {
    margin-top: 30px;
    text-align: center;
}

.logo--medical {
    margin-right: 10px;
}

/* ---------- Header ---------- */

/* Menü yazıları kırılmaz */
.header_nav-list_item .nav-link {
    white-space: nowrap;
}

/* Arama kutusu — her zaman görünür, sağa kaydırılmış */
.header_user-search {
    margin-left: 0 !important;
    margin-right: 30px !important;
    position: relative;
}

.header_user-search_field {
    display: inline-block !important;
    width: 170px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* CTA butonlar */
.header_user-link {
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.header_user-link--secondary {
    background: #fff;
    color: var(--ed-primary);
    border: 1px solid #d7e2dc;
}

.header_user-link--secondary:hover,
.header_user-link--secondary:focus {
    background: var(--ed-bg-soft);
}

/* ---------- Hero ---------- */
.hero {
    padding-top: 140px;
}

.hero_header-title {
    max-width: 620px;
}

.hero_header-text {
    max-width: 580px;
}

.hero_cta {
    gap: var(--ed-space-2);
}

.hero_search {
    margin-top: 25px;
    max-width: 620px;
}

.hero_search-label {
    display: block;
    margin-bottom: var(--ed-space-2);
    color: var(--ed-primary);
    font-family: NunitoSans, sans-serif;
    font-weight: 700;
}

.hero_search-wrap {
    background: #fff;
    border: 1px solid #dce7e1;
    border-radius: 30px;
    box-shadow: var(--ed-shadow);
    padding: 8px 8px 8px 16px;
}

.hero_search-wrap .icon-search {
    color: var(--ed-secondary);
    margin-right: var(--ed-space-2);
}

.hero_search-input {
    flex: 1;
    min-width: 110px;
}

.hero_search-btn {
    height: 42px;
    padding: 0 20px;
    font-size: 15px;
}

.hero_info-panel {
    position: relative;
    z-index: 2;
    margin-top: 30px;
    padding: var(--ed-space-6);
    border-radius: var(--ed-radius-lg);
    border: 1px solid rgba(158, 188, 166, 0.4);
    color: #fff;
    background: rgba(33, 72, 66, 0.9);
    box-shadow: 0 12px 30px rgba(37, 143, 103, 0.2);
}

.hero_info-title {
    color: #fff;
    margin-bottom: var(--ed-space-3);
}

.hero_topic-list {
    display: grid;
    gap: var(--ed-space-3);
}

.hero_topic-card {
    display: block;
    padding: 16px 18px;
    border-radius: var(--ed-radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background 0.2s, transform 0.2s;
}

.hero_topic-card:hover,
.hero_topic-card:focus {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.hero_topic-card_top {
    margin-bottom: 8px;
}

.hero_topic-card_icon {
    font-size: 18px;
    color: var(--ed-accent);
    opacity: 0.85;
}

.hero_topic-card h3 {
    color: #fff;
    font-size: 17px;
    margin: 0 0 5px;
    line-height: 1.4;
}

.hero_topic-card p {
    margin: 0;
    color: #d9ece3;
    font-size: 14px;
}

.hero_topic-card_cta {
    display: block;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 700;
    color: rgba(239, 195, 104, 0.9);
    text-align: right;
}

.topic_tag {
    display: inline-block;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ed-primary);
    background: var(--ed-accent);
}

.hero_badges {
    margin: 18px 0 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero_badges li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 22px;
}

.hero_badges li:last-child {
    margin-bottom: 0;
}

.hero_badges li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ed-accent);
}

.hero_info-panel .btn--underline {
    color: var(--ed-accent);
}

.hero_info-panel .btn--underline::after {
    background: var(--ed-accent);
}

/* ---------- Cards / Grids ---------- */
.info-grid {
    display: grid;
    gap: var(--ed-space-4);
}

.info-grid--three,
.info-grid--four {
    grid-template-columns: 1fr;
}

.info-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-md);
    box-shadow: 0 0 15px rgba(37, 143, 103, 0.08);
    padding: var(--ed-space-5);
}

.info-card h3 {
    margin-bottom: 8px;
    font-size: 22px;
}

.info-card h3 a {
    color: inherit;
}

.info-card h3 a:hover,
.info-card h3 a:focus {
    color: var(--ed-secondary);
}

.info-card p {
    margin: 0;
}

.info-card--feature {
    background: var(--ed-bg-soft);
}

.info-card--link .card_cta {
    display: inline-block;
    margin-top: 12px;
    font-weight: 700;
    color: var(--ed-secondary);
}

.card_tag {
    display: inline-block;
    margin-bottom: 10px;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--ed-secondary);
}

/* ---------- Editor Block ---------- */
.editor-box {
    background: var(--ed-bg-tint);
    border: 1px solid #d8e6dd;
    border-radius: var(--ed-radius-lg);
    padding: 28px;
    gap: 26px;
}

.editor-box_content p {
    margin: 12px 0 20px;
}

.editor-box_profile {
    background: #fff;
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-md);
    padding: 20px;
    max-width: 360px;
}

.editor_avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ed-primary);
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}

/* ---------- Blog Cards ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--ed-space-4);
}

.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--ed-radius-md);
    border: 1px solid var(--ed-border);
    box-shadow: var(--ed-shadow);
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.22s, transform 0.22s;
}

.blog-card:hover {
    box-shadow: 0 12px 32px rgba(33, 72, 66, 0.14);
    transform: translateY(-3px);
}

.blog-card_media {
    min-height: 110px;
    background: linear-gradient(135deg, #eef5f0, #e0ece5);
    color: var(--ed-secondary);
    font-size: 38px;
}

.blog-card_main {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta: kategori badge + okuma süresi + tarih */
.blog-card_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.blog-card_meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #7a9490;
    font-weight: 600;
}

.blog-card_meta-item i {
    color: var(--ed-secondary);
    font-size: 11px;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    flex: 1;
}

.blog-card h3 a {
    color: inherit;
}

.blog-card h3 a:hover,
.blog-card h3 a:focus {
    color: var(--ed-secondary);
}

.blog-card p {
    color: var(--ed-text);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 0;
    flex: 1;
}

/* "Devamını Oku →" linki */
.blog-card_cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--ed-border);
    font-size: 13px;
    font-weight: 700;
    color: var(--ed-secondary);
    transition: color 0.18s;
}

.blog-card_cta:hover,
.blog-card_cta:focus {
    color: var(--ed-primary);
}

/* ---------- Alphabetic Directory ---------- */
.alphabet-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--ed-space-4);
}

.alphabet-column {
    background: #fff;
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-md);
    padding: 18px 20px;
}

.alphabet-column h3 {
    color: var(--ed-secondary);
    margin-bottom: 10px;
}

.alphabet-column li {
    margin-bottom: 8px;
}

.alphabet-column li:last-child {
    margin-bottom: 0;
}

.alphabet-column a:hover,
.alphabet-column a:focus {
    color: var(--ed-secondary);
}

/* ---------- CTA Info Section ---------- */
.info_content-subtext {
    color: #fff;
    max-width: 670px;
    margin: 18px auto 28px;
}

/* ---------- Legal ---------- */
.legal-panel {
    background: #fff8ea;
    border: 1px solid #f1deba;
    border-left: 5px solid var(--ed-accent);
    border-radius: var(--ed-radius-md);
    padding: 22px 24px;
}

.legal-panel h2 {
    margin-bottom: 8px;
}

.legal-panel p {
    margin-bottom: 14px;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    font-weight: 700;
}

.legal-links a:hover,
.legal-links a:focus {
    color: var(--ed-secondary);
}

/* ---------- Footer ---------- */
.footer_contact {
    margin-top: 12px;
    color: #d7ede4;
}

.footer_disclaimer {
    margin-bottom: 12px;
}

.footer_legal-list li {
    margin-bottom: 8px;
}

.footer_legal-list li:last-child {
    margin-bottom: 0;
}

.footer_legal-list a {
    color: #efc368;
}

.footer_legal-list a:hover,
.footer_legal-list a:focus {
    color: #fff;
}

.footer_secondary-list .list-item {
    font-size: 14px;
}

/* ---------- Page Hero (İç Sayfalar) ---------- */
/*
 * Header davranışı (index.css'den):
 *   mobile/tablet  → height: 60px  (sticky class ile fixed)
 *   desktop ≥1200  → height: 140px başlangıç, scroll sonrası 90px
 * Bu nedenle iç sayfalarda padding-top header yüksekliğini geçmeli.
 */
.page-hero {
    background: var(--ed-bg-tint);
    border-bottom: 1px solid var(--ed-border);
    padding-top: var(--page-offset);       /* mobile: 60+32 = 92px */
    padding-bottom: 48px;
}

.page-hero_title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--ed-primary);
    margin: 12px 0;
    max-width: 760px;
}

.page-hero_desc {
    color: var(--ed-text);
    max-width: 680px;
    margin-bottom: 0;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-nav {
    margin-bottom: 12px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: var(--ed-text);
}

.breadcrumb-list li + li::before {
    content: "›";
    margin-right: 6px;
    color: #aab8b4;
}

.breadcrumb-list a {
    color: var(--ed-secondary);
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

/* ---------- Section Tint ---------- */
.section--tint {
    background: var(--ed-bg-tint);
}

/* ---------- About / Content Grid ---------- */
.about-grid {
    display: grid;
    gap: var(--ed-space-6);
}

.about-icon-wrap {
    font-size: 28px;
    color: var(--ed-secondary);
    margin-bottom: 12px;
}

.about-icon {
    font-size: 28px;
    color: var(--ed-secondary);
    display: block;
    margin-bottom: 12px;
}

.content-list {
    padding-left: 20px;
}

.content-list li {
    margin-bottom: 10px;
    color: var(--ed-text);
}

/* ---------- Team Cards ---------- */
.team-grid {
    display: grid;
    gap: var(--ed-space-4);
}

.team-card {
    display: flex;
    flex-direction: column;
    gap: var(--ed-space-4);
    background: #fff;
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-md);
    padding: var(--ed-space-5);
    box-shadow: var(--ed-shadow);
}

.team-card_avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--ed-primary);
    color: #fff;
    font-size: 30px;
    flex-shrink: 0;
}

.team-card_role {
    color: var(--ed-secondary);
    font-weight: 700;
    font-size: 14px;
    margin: 4px 0 10px;
}

/* ---------- Contact Page ---------- */
.contact-grid {
    display: grid;
    gap: var(--ed-space-6);
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: var(--ed-space-4);
    padding: var(--ed-space-5);
    background: #fff;
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-md);
    box-shadow: var(--ed-shadow);
    margin-bottom: var(--ed-space-4);
}

.contact-card:last-child {
    margin-bottom: 0;
}

.contact-card_icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ed-bg-tint);
    color: var(--ed-secondary);
    font-size: 22px;
    flex-shrink: 0;
}

.contact-card h3 {
    margin-bottom: 4px;
    font-size: 18px;
}

.contact-card p {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--ed-text);
}

.contact-card_link {
    font-weight: 700;
    color: var(--ed-secondary);
}

.contact-card_link:hover {
    text-decoration: underline;
}

.contact-form-wrap h2 {
    margin-bottom: 24px;
}

.contact-form .form-group {
    margin-bottom: var(--ed-space-4);
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--ed-primary);
    font-size: 14px;
}

.req {
    color: #e05555;
}

.contact-form .field {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-sm);
    font-size: 15px;
    transition: border-color 0.2s;
}

.contact-form .field:focus {
    outline: none;
    border-color: var(--ed-secondary);
    box-shadow: 0 0 0 3px rgba(37, 143, 103, 0.12);
}

.contact-form textarea.field {
    resize: vertical;
    min-height: 130px;
}

.form-group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--ed-text);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.checkbox-label a {
    color: var(--ed-secondary);
}

/* ---------- FAQ Items ---------- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--ed-space-4);
}

.faq-item {
    background: #fff;
    border: 1px solid var(--ed-border);
    border-left: 4px solid var(--ed-secondary);
    border-radius: var(--ed-radius-sm);
    padding: var(--ed-space-5);
}

.faq-item h3 {
    font-size: 19px;
    margin-bottom: 10px;
    color: var(--ed-primary);
}

.faq-item p {
    margin: 0 0 10px;
    color: var(--ed-text);
}

.faq-item p:last-child {
    margin-bottom: 0;
}

/* ---------- Notice Panel ---------- */
.notice-panel {
    display: flex;
    gap: var(--ed-space-4);
    align-items: flex-start;
    background: #fff8ea;
    border: 1px solid #f1deba;
    border-left: 5px solid var(--ed-accent);
    border-radius: var(--ed-radius-md);
    padding: var(--ed-space-5);
}

.notice-panel_icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fef0c7;
    color: #c8881a;
    font-size: 22px;
    flex-shrink: 0;
}

.notice-panel h2 {
    margin-bottom: 8px;
}

.notice-panel p {
    margin: 0;
    color: var(--ed-text);
}

/* ---------- Alphabet Nav ---------- */
.alphabet-nav_list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--ed-space-6);
    gap: 8px;
}

.alphabet-nav_list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--ed-border);
    font-weight: 700;
    color: var(--ed-primary);
    font-size: 14px;
    transition: background 0.18s, color 0.18s;
}

.alphabet-nav_list a:hover,
.alphabet-nav_list a:focus {
    background: var(--ed-secondary);
    color: #fff;
    border-color: var(--ed-secondary);
}

.alphabet-nav_empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--ed-border);
    font-weight: 600;
    font-size: 14px;
    color: var(--ed-text-muted, #b0b8c1);
    opacity: 0.45;
    cursor: default;
    user-select: none;
}

/* ---------- Page Search Form ---------- */
.page-search-form {
    max-width: 560px;
    margin-top: var(--ed-space-5);
}

/* ---------- Article Layout ---------- */
/* Header offset + içerik padding */
.article-layout {
    display: grid;
    gap: var(--ed-space-6);
    padding-top: var(--page-offset);      /* mobile: ~92px */
    padding-bottom: 60px;
}

.article-header {
    margin-bottom: var(--ed-space-5);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.article-header h1 {
    font-size: clamp(24px, 3.5vw, 38px);
    color: var(--ed-primary);
    margin-bottom: 14px;
}

.article-meta {
    gap: 16px;
    margin-bottom: 18px;
    font-size: 14px;
    color: var(--ed-text);
}

.article-meta_item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta_item i {
    color: var(--ed-secondary);
}

.article-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff8ea;
    border: 1px solid #f1deba;
    border-left: 4px solid var(--ed-accent);
    border-radius: var(--ed-radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    color: #7a6000;
}

.article-disclaimer i {
    flex-shrink: 0;
    color: #c8881a;
    margin-top: 2px;
}

/* ---------- Article Summary Box ---------- */
.article-summary {
    background: var(--ed-bg-tint);
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-md);
    padding: var(--ed-space-5);
    margin: var(--ed-space-5) 0;
}

.article-summary h2 {
    margin-bottom: 12px;
    font-size: 18px;
}

.article-summary ul {
    margin: 0;
    padding-left: 20px;
}

.article-summary li {
    margin-bottom: 8px;
    color: var(--ed-text);
    font-size: 15px;
}

.article-summary li:last-child {
    margin-bottom: 0;
}

/* ---------- Article Body ---------- */
.article-body h2 {
    margin-top: 36px;
    margin-bottom: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--ed-border);
    font-size: clamp(20px, 2.5vw, 26px);
}

.article-body h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.article-body h3 {
    margin-top: 22px;
    margin-bottom: 10px;
    font-size: 19px;
    color: var(--ed-primary);
}

.article-body p {
    margin-bottom: 16px;
    color: var(--ed-text);
    line-height: 1.75;
}

.article-body ul,
.article-body ol {
    padding-left: 22px;
    margin-bottom: 16px;
}

.article-body li {
    margin-bottom: 8px;
    color: var(--ed-text);
    line-height: 1.7;
}

.article-note {
    background: #eef7f2;
    border-left: 4px solid var(--ed-secondary);
    border-radius: 0 var(--ed-radius-sm) var(--ed-radius-sm) 0;
    padding: 14px 18px;
    margin: 22px 0;
    font-size: 15px;
    color: var(--ed-primary);
}

/* ---------- Author Box ---------- */
.author-box {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--ed-border);
    gap: var(--ed-space-4);
}

.author-box_avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ed-primary);
    color: #fff;
    font-size: 26px;
    flex-shrink: 0;
}

.author-box_label {
    font-size: 13px;
    color: var(--ed-text);
    margin-bottom: 2px;
}

.author-box_name {
    font-size: 18px;
    margin-bottom: 8px;
}

.author-box_bio {
    font-size: 14px;
    color: var(--ed-text);
    margin-bottom: 10px;
}

/* ---------- Sidebar ---------- */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--ed-space-4);
}

.sidebar-widget {
    background: #fff;
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-md);
    padding: var(--ed-space-5);
}

.sidebar-widget--warning {
    background: #fff8ea;
    border-color: #f1deba;
}

.sidebar-widget_title {
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ed-border);
}

.toc-list {
    padding-left: 18px;
    margin: 0;
}

.toc-list li {
    margin-bottom: 8px;
    font-size: 14px;
}

.toc-list a {
    color: var(--ed-text);
}

.toc-list a:hover,
.toc-list a:focus {
    color: var(--ed-secondary);
}

.sidebar-related {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-related a {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-related_title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ed-primary);
}

.sidebar-related a:hover .sidebar-related_title {
    color: var(--ed-secondary);
}

.sidebar-warning {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: #7a6000;
}

.sidebar-warning i {
    font-size: 22px;
    color: #c8881a;
}

.sidebar-warning p {
    margin: 0;
}

/* =========================================================
   BLOG LIST ŞABLONU — ilac-rehberi.php
   ========================================================= */

/* Filtre çubuğu */
.list-filter {
    gap: 12px;
}

.list-filter_tabs {
    gap: 8px;
}

.list-filter_btn {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid var(--ed-border);
    background: #fff;
    color: var(--ed-text);
    font-size: 14px;
    font-weight: 700;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    white-space: nowrap;
}

.list-filter_btn:hover,
.list-filter_btn:focus {
    background: var(--ed-bg-tint);
    color: var(--ed-primary);
    border-color: var(--ed-secondary);
}

.list-filter_btn.active {
    background: var(--ed-secondary);
    color: #fff;
    border-color: var(--ed-secondary);
}

.list-filter_count {
    font-size: 14px;
    color: var(--ed-text);
    margin: 0;
}

.list-filter_count strong {
    color: var(--ed-primary);
}

/* Post Grid */
.post-grid {
    display: grid;
    gap: var(--ed-space-4);
    grid-template-columns: 1fr;
}

/* Post Kartı */
.post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-md);
    box-shadow: var(--ed-shadow);
    overflow: hidden;
    transition: box-shadow 0.22s, transform 0.22s;
}

.post-card:hover {
    box-shadow: 0 12px 32px rgba(33, 72, 66, 0.15);
    transform: translateY(-3px);
}

.post-card_media {
    height: 120px;
    background: linear-gradient(135deg, #eef5f0, #e0ece5);
    color: var(--ed-secondary);
    font-size: 40px;
    flex-shrink: 0;
}

.post-card_body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 22px 22px;
}

.post-card_meta {
    gap: 10px;
    margin-bottom: 10px;
}

.post-card_readtime {
    font-size: 13px;
    color: var(--ed-text);
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-card_readtime i {
    color: var(--ed-secondary);
    font-size: 12px;
}

.post-card_title {
    font-size: 19px;
    margin-bottom: 10px;
    flex: 1;
    line-height: 1.4;
}

.post-card_title a {
    color: var(--ed-primary);
}

.post-card_title a:hover,
.post-card_title a:focus {
    color: var(--ed-secondary);
}

.post-card_excerpt {
    font-size: 14px;
    color: var(--ed-text);
    margin-bottom: 16px;
    line-height: 1.65;
    flex: 1;
}

.post-card_footer {
    padding-top: 14px;
    border-top: 1px solid var(--ed-border);
    margin-top: auto;
}

.post-card_date {
    font-size: 13px;
    color: #8a9e99;
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-card_date i {
    font-size: 12px;
}

.post-card_cta {
    font-size: 14px;
    font-weight: 700;
    color: var(--ed-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-card_cta:hover {
    color: var(--ed-primary);
}

/* Sayfa boş durumu */
.list-empty {
    text-align: center;
    color: var(--ed-text);
    padding: 40px;
    font-size: 16px;
}

/* Sayfalama */
.pagination {
    margin-top: 48px;
    gap: 8px;
}

.pagination_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--ed-border);
    background: #fff;
    color: var(--ed-primary);
    font-size: 14px;
    font-weight: 700;
    transition: background 0.18s, color 0.18s;
}

.pagination_btn:hover,
.pagination_btn:focus {
    background: var(--ed-bg-tint);
    border-color: var(--ed-secondary);
    color: var(--ed-secondary);
}

.pagination_btn.active {
    background: var(--ed-secondary);
    border-color: var(--ed-secondary);
    color: #fff;
}

.pagination_btn--prev,
.pagination_btn--next {
    font-size: 16px;
}

/* =========================================================
   SINGLE POST ŞABLONU — ilac-kullanimi.html
   ========================================================= */

/* Tablo */
.post-table-wrap {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: var(--ed-radius-sm);
    box-shadow: var(--ed-shadow);
}

.post-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: #fff;
}

.post-table th {
    background: var(--ed-primary);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    white-space: nowrap;
}

.post-table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--ed-border);
    color: var(--ed-text);
    vertical-align: top;
}

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

.post-table tbody tr:nth-child(even) td {
    background: var(--ed-bg-tint);
}

/* Paylaşım */
.post-share {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--ed-border);
}

.post-share_label {
    font-size: 14px;
    color: var(--ed-text);
    margin-bottom: 12px;
}

.post-share_buttons {
    gap: 10px;
}

.post-share_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--ed-border);
    background: #fff;
    color: var(--ed-primary);
    font-size: 14px;
    font-weight: 700;
    transition: background 0.18s, border-color 0.18s;
}

.post-share_btn:hover {
    background: var(--ed-bg-tint);
    border-color: var(--ed-secondary);
    color: var(--ed-secondary);
}

/* Sidebar arama */
.sidebar-search {
    gap: 0;
}

.sidebar-search_input {
    flex: 1;
    padding: 9px 14px;
    border: 1px solid var(--ed-border);
    border-right: none;
    border-radius: var(--ed-radius-sm) 0 0 var(--ed-radius-sm);
    font-size: 14px;
}

.sidebar-search_input:focus {
    outline: none;
    border-color: var(--ed-secondary);
    box-shadow: none;
}

.sidebar-search_btn {
    height: auto;
    padding: 0 14px;
    border-radius: 0 var(--ed-radius-sm) var(--ed-radius-sm) 0;
    font-size: 15px;
}

/* =========================================================
   Responsive
   ========================================================= */

@media screen and (min-width: 576px) {
    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (min-width: 768px) {
    .section--compact {
        padding: 90px 0;
    }

    .hero_info-panel {
        margin-top: 60px;
    }

    .info-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .alphabet-box {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .team-card {
        flex-direction: row;
    }

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

    .article-layout {
        grid-template-columns: 1fr 320px;
        align-items: start;
    }
}

@media screen and (min-width: 1024px) {
    .post-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .blog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media screen and (min-width: 1200px) {
    .hero {
        padding-top: 280px;
    }

    .info-grid--three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .info-grid--four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .article-layout {
        grid-template-columns: 1fr 360px;
        /* Desktop header 140px + 40px estetik padding = 180px */
        padding-top: var(--page-offset-desktop);
    }

    /* İç sayfa hero desktop offset */
    .page-hero {
        padding-top: var(--page-offset-desktop);  /* 140+40 = 180px */
    }
}

@media screen and (max-width: 767.98px) {
    .hero_header-title {
        font-size: 35px;
        line-height: 1.2;
    }

    .hero_cta .btn {
        width: 100%;
    }

    .hero_search-wrap {
        flex-wrap: wrap;
        gap: var(--ed-space-2);
    }

    .hero_search-btn {
        width: 100%;
    }

    .footer_secondary-list {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Mobilde header 60px — var(--page-offset) = 92px yeterli, override gerekmez */
    .article-meta {
        flex-direction: column;
        gap: 8px;
    }

    .contact-card {
        flex-direction: column;
    }

    .notice-panel {
        flex-direction: column;
    }

    .article-layout {
        padding: 24px 0 40px;
    }
}
