/* ============================================================
   PORTFOLIO — Style System v3
   Palette: Warm Sage · Dusty Rose · Cream
   Font: Manrope — 2026 Soft Modern
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ─── Design Tokens ──────────────────────────────────────── */
:root {
    /* 2026 Soft Biophilic Palette */
    --c-primary:      #4E7C72;   /* sage teal */
    --c-primary-d:    #3A5E56;
    --c-primary-l:    #6FA199;
    --c-secondary:    #8E6B7E;   /* dusty mauve */
    --c-accent:       #C97B55;   /* warm terracotta */
    --c-accent-l:     #E8A882;

    /* For rgba() usage */
    --rgb-primary:    78, 124, 114;
    --rgb-secondary:  142, 107, 126;
    --rgb-accent:     201, 123, 85;

    /* Neutrals — warm-tinted */
    --c-bg:           #F5F1EA;   /* warm cream */
    --c-bg2:          #EDE8DF;
    --c-surface:      #FDFBF7;
    --c-text:         #2A2118;   /* warm charcoal */
    --c-text-2:       #5C4F42;
    --c-muted:        #8C7E72;
    --c-border:       rgba(78,124,114,0.12);

    /* Glass */
    --glass-bg:       rgba(253,251,247,0.68);
    --glass-border:   rgba(255,255,255,0.82);
    --glass-shadow:   0 8px 40px rgba(78,124,114,0.09);

    /* Radii */
    --r-sm:  12px;
    --r-md:  18px;
    --r-lg:  28px;
    --r-xl:  40px;

    /* Easings */
    --e-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
    --e-expo:    cubic-bezier(0.16, 1, 0.3, 1);
    --e-smooth:  cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ─── Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', system-ui, sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    background-image:
        radial-gradient(ellipse at 5%  10%,  rgba(78,124,114,0.10) 0%, transparent 45%),
        radial-gradient(ellipse at 95% 65%,  rgba(142,107,126,0.07) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 100%, rgba(201,123,85,0.05)  0%, transparent 35%);
    background-attachment: fixed;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.025em;
    color: var(--c-text);
}

/* ─── Scroll Progress ─────────────────────────────────────── */
#scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-secondary), var(--c-accent));
    background-size: 300% 100%;
    animation: shimmerBg 3s linear infinite;
    z-index: 9999;
    width: 0%;
    transition: width 0.06s linear;
    border-radius: 0 3px 3px 0;
}
@keyframes shimmerBg { 0%{background-position:0%} 100%{background-position:300%} }

/* ─── Cursor Spotlight ────────────────────────────────────── */
/* ─── Custom Cursor ───────────────────────────────────────── */
/* Nokta — imleçle birebir */
#cur-dot {
    position: fixed;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--c-primary);
    opacity: 0.65;
    pointer-events: none;
    z-index: 99997;
    transform: translate(-50%, -50%);
    will-change: left, top;
    transition: left 0.04s linear, top 0.04s linear,
                width 0.25s var(--e-spring), height 0.25s var(--e-spring),
                opacity 0.25s ease, background 0.3s ease;
}

/* Halka — yavaş takip */
#cur-ring {
    position: fixed;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(78,124,114,0.32);
    background: rgba(78,124,114,0.04);
    backdrop-filter: blur(2px);
    pointer-events: none;
    z-index: 99996;
    transform: translate(-50%, -50%);
    will-change: left, top;
    transition: left 0.12s var(--e-smooth), top 0.12s var(--e-smooth),
                width 0.3s var(--e-spring), height 0.3s var(--e-spring),
                border-color 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

/* Hover'da — tıklanabilir elemanlar üzerinde */
body.cur-hover #cur-dot {
    width: 5px; height: 5px;
    opacity: 0.3;
}
body.cur-hover #cur-ring {
    width: 56px; height: 56px;
    border-color: rgba(78,124,114,0.22);
    background: rgba(78,124,114,0.06);
}

/* Tıklama anı */
body.cur-click #cur-dot {
    width: 10px; height: 10px;
    opacity: 0.9;
    background: var(--c-accent);
}
body.cur-click #cur-ring {
    width: 28px; height: 28px;
    border-color: rgba(201,123,85,0.40);
    background: rgba(201,123,85,0.08);
}

/* ─── Glass Panel ─────────────────────────────────────────── */
.vision-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--r-lg);
    transition:
        transform  0.45s var(--e-spring),
        box-shadow 0.4s  var(--e-smooth),
        background 0.3s  ease;
    position: relative;
    overflow: hidden;
}

.vision-glass::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg,rgba(255,255,255,0.5) 0%,rgba(255,255,255,0) 50%,rgba(255,255,255,0.12) 100%);
    opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.vision-glass:hover::before { opacity: 1; }

.vision-glass:hover {
    background: rgba(253,251,247,0.92);
    transform: translateY(-6px) scale(1.004);
    box-shadow: 0 24px 60px rgba(78,124,114,0.14), 0 4px 20px rgba(0,0,0,0.05);
    border-color: rgba(255,255,255,0.96);
}

/* ─── Navigation ─────────────────────────────────────────── */
.nav-shell {
    background: rgba(253,251,247,0.82);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 8px 32px rgba(78,124,114,0.09), inset 0 1px 0 rgba(255,255,255,0.9);
}

.nav-pill {
    background: rgba(237,232,223,0.95);
    border: 1px solid rgba(78,124,114,0.12);
}

.nav-link {
    transition: all 0.22s var(--e-smooth);
    position: relative;
    font-weight: 500;
    color: var(--c-text-2);
}
.nav-link:hover { transform: translateY(-1px); color: var(--c-primary); }

.nav-link.active {
    color: var(--c-primary) !important;
    background: var(--c-surface);
    font-weight: 600;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn-primary {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-d) 100%);
    color: white; font-weight: 600;
    transition: all 0.3s var(--e-smooth);
    box-shadow: 0 4px 20px rgba(78,124,114,0.30);
    position: relative; overflow: hidden;
}
.btn-primary::after {
    content:''; position:absolute; top:0; left:-120%; width:100%; height:100%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,0.18),transparent);
    transition:left 0.55s ease;
}
.btn-primary:hover::after { left:120%; }
.btn-primary:hover {
    background: linear-gradient(135deg, var(--c-primary-l) 0%, var(--c-primary) 100%);
    box-shadow: 0 10px 32px rgba(78,124,114,0.40);
    transform: translateY(-2px) scale(1.02);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-secondary {
    background: rgba(78,124,114,0.07);
    color: var(--c-text);
    border: 1.5px solid rgba(78,124,114,0.16);
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: rgba(78,124,114,0.12);
    border-color: rgba(78,124,114,0.28);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(78,124,114,0.12);
}

/* ─── Reveal Animations ───────────────────────────────────── */
.reveal       { opacity:0; transform:translateY(36px); transition:opacity 0.8s var(--e-expo),transform 0.8s var(--e-expo); }
.reveal.active{ opacity:1; transform:translateY(0); }
.reveal-left  { opacity:0; transform:translateX(-36px); transition:opacity 0.8s var(--e-expo),transform 0.8s var(--e-expo); }
.reveal-left.active  { opacity:1; transform:translateX(0); }
.reveal-right { opacity:0; transform:translateX(36px);  transition:opacity 0.8s var(--e-expo),transform 0.8s var(--e-expo); }
.reveal-right.active { opacity:1; transform:translateX(0); }
.reveal-scale { opacity:0; transform:scale(0.88); transition:opacity 0.7s var(--e-expo),transform 0.7s var(--e-spring); }
.reveal-scale.active { opacity:1; transform:scale(1); }

.delay-100{transition-delay:0.1s} .delay-200{transition-delay:0.2s}
.delay-300{transition-delay:0.3s} .delay-400{transition-delay:0.4s}
.delay-500{transition-delay:0.5s}

/* ─── Hero Slider ─────────────────────────────────────────── */
.hero-frame {
    position: relative;
    display: block;
    padding: 14px;
    background: rgba(253,251,247,0.58);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.88);
    border-radius: calc(var(--r-xl) + 14px);
    box-shadow: var(--glass-shadow);
    transition: transform 0.6s var(--e-spring);
}
.hero-frame:hover { transform: rotate(0deg) !important; }

.hero-slider-wrap {
    position: relative;
    width: 100%;
    min-height: 280px;
    aspect-ratio: 4/5;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--c-bg2);
    box-shadow:
        0 28px 70px -10px rgba(78,124,114,0.20),
        0  8px 24px -6px  rgba(0,0,0,0.07),
        inset 0 0 0 1px rgba(255,255,255,0.55);
}

.hero-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 0.85s var(--e-smooth), transform 0.85s var(--e-expo);
    transform: scale(1.04);
}
.hero-slide.active { opacity:1; transform:scale(1); z-index:2; }
.hero-slide.exit   { opacity:0; transform:scale(0.97); z-index:1; }

.hero-slide img {
    width:100%; height:100%;
    object-fit:cover; object-position:top center;
}
.hero-slide::after {
    content:''; position:absolute; inset:0;
    background:linear-gradient(to bottom,transparent 55%,rgba(42,33,24,0.2) 100%);
    pointer-events:none;
}

/* Slider dots */
.slider-dots {
    position:absolute; bottom:18px; left:50%;
    transform:translateX(-50%);
    display:flex; gap:7px; z-index:10;
}
.slider-dot {
    width:6px; height:6px; border-radius:99px;
    background:rgba(255,255,255,0.5);
    cursor:pointer;
    transition:all 0.35s var(--e-spring);
    border:1.5px solid rgba(255,255,255,0.35);
}
.slider-dot.active { width:24px; background:white; border-color:white; }

/* ─── Hero Next Button ────────────────────────────────────── */
.hero-next-btn {
    position: absolute;
    bottom: -18px;
    right: -18px;
    width: 62px; height: 62px;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-d) 100%);
    color: white;
    border: none;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 10px 28px rgba(78,124,114,0.32), 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s var(--e-spring);
    animation: floatBounce 4s ease-in-out infinite;
}
.hero-next-btn:hover {
    background: linear-gradient(135deg, var(--c-primary-l) 0%, var(--c-primary) 100%);
    transform: scale(1.12) rotate(-4deg) !important;
    box-shadow: 0 14px 36px rgba(78,124,114,0.40);
    animation-play-state: paused;
}
.hero-next-btn:active { transform: scale(0.95) rotate(-4deg) !important; }

@keyframes floatBounce {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50%       { transform: translateY(-10px) rotate(-4deg); }
}

/* ─── Gradient Text ───────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 50%, var(--c-accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 5s linear infinite alternate;
}
@keyframes gradientFlow { 0%{background-position:0%} 100%{background-position:200%} }

/* ─── Timeline (Yolculuğum) ───────────────────────────────── */
.experience-section {
    background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg2) 50%, var(--c-bg) 100%);
}

.timeline-track {
    position: relative;
    padding-left: 0;
}

/* Her item: dot sütunu + kart sütunu */
.tl-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0 16px;
    margin-bottom: 0;
}

/* Dikey bağlantı kolonu */
.tl-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Nokta */
.tl-dot {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--c-surface);
    border: 2.5px solid #D6CFC6;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tl-dot--active {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 5px rgba(78,124,114,0.12), 0 4px 12px rgba(78,124,114,0.20);
}

.tl-dot--exp.tl-dot--active {
    border-color: var(--c-secondary);
    box-shadow: 0 0 0 5px rgba(142,107,126,0.12), 0 4px 12px rgba(142,107,126,0.20);
}

.tl-dot-inner {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #D6CFC6;
    transition: background 0.3s ease, transform 0.3s var(--e-spring);
}

.tl-dot--active .tl-dot-inner {
    background: var(--c-primary);
    transform: scale(1.2);
}

.tl-dot--exp.tl-dot--active .tl-dot-inner {
    background: var(--c-secondary);
}

.tl-dot--cert.tl-dot--active {
    border-color: #f59e0b;
    box-shadow: 0 0 0 5px rgba(245,158,11,0.12), 0 4px 12px rgba(245,158,11,0.20);
}
.tl-dot--cert.tl-dot--active .tl-dot-inner {
    background: #f59e0b;
}
.tl-sub--cert { color: #d97706; font-weight: 600; }

/* Ayırıcı çizgi — süslü kırık çizgi */
.tl-line {
    flex: 1;
    width: 2px;
    position: relative;
    margin: 4px 0;
    min-height: 24px;
    overflow: hidden;
}

.tl-line-deco {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        var(--c-primary)    0px,
        var(--c-primary)    4px,
        transparent         4px,
        transparent         8px,
        var(--c-secondary)  8px,
        var(--c-secondary)  12px,
        transparent         12px,
        transparent         18px
    );
    opacity: 0.35;
}

/* Kart */
.tl-card {
    background: rgba(253,251,247,0.72);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.78);
    border-radius: var(--r-md);
    padding: 18px 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(78,124,114,0.07);
    transition: transform 0.35s var(--e-spring), box-shadow 0.35s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Sol kenarda ince renk şeridi */
.tl-card::before {
    content: '';
    position: absolute;
    top: 20%; left: 0;
    width: 3px; height: 60%;
    background: linear-gradient(to bottom, var(--c-primary), var(--c-secondary));
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transition: opacity 0.3s ease, height 0.4s var(--e-expo), top 0.4s var(--e-expo);
}

.tl-card:hover::before { opacity: 1; top: 10%; height: 80%; }

.tl-card:hover {
    transform: translateX(6px) translateY(-2px);
    box-shadow: 0 10px 32px rgba(78,124,114,0.12);
    background: rgba(253,251,247,0.95);
}

.tl-year {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: 6px;
    display: flex; align-items: center; gap: 6px;
}
.tl-year::before {
    content: '';
    display: inline-block;
    width: 16px; height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    opacity: 0.6;
}

.tl-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 4px;
    line-height: 1.35;
}

.tl-sub {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--c-primary);
    margin-bottom: 8px;
}
.tl-sub--exp { color: var(--c-secondary); }

.tl-desc {
    font-size: 0.86rem;
    color: var(--c-muted);
    line-height: 1.6;
}

/* Item arası boşluk — son item hariç */
.tl-item:not(.tl-last) {
    padding-bottom: 28px;   /* kartlar arası boşluk */
}
.tl-item.tl-last .tl-card { margin-bottom: 0; }
.tl-item .tl-card { margin-bottom: 0; }

/* Çizgi: padding-bottom kadar aşağıya uzanır → gap'i doldurur */
.tl-item:not(.tl-last) .tl-line {
    margin-bottom: -28px;   /* item'ın padding-bottom'ını geç */
    overflow: visible;
}
.tl-item:not(.tl-last) .tl-line-deco {
    height: calc(100% + 28px);  /* deco de uzanır */
}

/* ─── Skill Bars ──────────────────────────────────────────── */
.skill-track {
    height: 9px;
    background: rgba(78,124,114,0.10);
    border-radius: 99px;
    overflow: hidden;
}
.skill-fill {
    width: 0; height: 100%; border-radius: 99px;
    transition: width 1.7s var(--e-expo);
    position: relative; overflow: hidden;
}
.skill-fill::after {
    content:''; position:absolute; inset:0;
    background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,0.4) 50%,transparent 100%);
    animation:skillShimmer 2.5s ease infinite;
    animation-play-state:paused;
}
.skill-fill.animate { width:var(--target-width) !important; }
.skill-fill.animate::after { animation-play-state:running; }
@keyframes skillShimmer { 0%{transform:translateX(-100%)} 100%{transform:translateX(300%)} }

/* ─── Typing Cursor ───────────────────────────────────────── */
.typing-cursor {
    display:inline-block; width:3px; height:0.88em;
    background:var(--c-primary);
    margin-left:4px; vertical-align:middle; border-radius:2px;
    animation:blink 1s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ─── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width:7px; }
::-webkit-scrollbar-track { background:var(--c-bg); }
::-webkit-scrollbar-thumb { background:#C4B8AB; border-radius:4px; }
::-webkit-scrollbar-thumb:hover { background:var(--c-primary); }

/* ─── Modal ───────────────────────────────────────────────── */
.detail-modal {
    position:fixed; top:0; left:0; width:100%; height:100%;
    background:var(--c-bg); z-index:100; overflow-y:auto;
    transform:translateY(100%); transition:transform 0.55s var(--e-expo);
}
.detail-modal.open { transform:translateY(0); }

.modal-close-btn {
    position:fixed; top:20px; right:20px; z-index:101;
    background:rgba(253,251,247,0.9); backdrop-filter:blur(14px);
    width:50px; height:50px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 6px 20px rgba(0,0,0,0.1); cursor:pointer;
    transition:transform 0.22s var(--e-spring);
}
.modal-close-btn:hover { transform:scale(1.12) rotate(90deg); }

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

/* ─── Prose ───────────────────────────────────────────────── */
.prose{max-width:65ch;font-size:1.1rem;line-height:1.8;color:var(--c-text-2)}
.prose h3{font-size:1.5rem;font-weight:700;margin:2rem 0 1rem;color:var(--c-text)}
.prose p{margin-bottom:1.5rem}
.prose .lead{font-size:1.2rem;line-height:1.65;color:var(--c-muted)}

/* ─── Footer ──────────────────────────────────────────────── */
footer { position:relative; }
footer::before {
    content:''; position:absolute; top:0; left:0; right:0; height:1px;
    background:linear-gradient(90deg,transparent,rgba(78,124,114,0.28),rgba(142,107,126,0.22),transparent);
}

/* ─── Admin Panel ─────────────────────────────────────────── */
.admin-sidebar {
    background:rgba(253,251,247,0.90);
    backdrop-filter:blur(20px);
    border-right:1px solid rgba(78,124,114,0.08);
}
.admin-card {
    background:white; border-radius:var(--r-md); padding:1.5rem;
    box-shadow:0 2px 12px rgba(78,124,114,0.07);
    transition:all 0.3s ease;
    border:1px solid rgba(78,124,114,0.06);
}
.admin-card:hover { box-shadow:0 8px 24px rgba(78,124,114,0.12); transform:translateY(-2px); }

.stat-card { border-radius:var(--r-md); padding:1.5rem; color:white; }
.stat-card.blue   { background:linear-gradient(135deg,var(--c-primary),var(--c-primary-d)); }
.stat-card.green  { background:linear-gradient(135deg,#5B8C5A,#3D6040); }
.stat-card.orange { background:linear-gradient(135deg,var(--c-accent),#A35E38); }
.stat-card.purple { background:linear-gradient(135deg,var(--c-secondary),#6B4A5E); }

/* ─── Form Inputs ─────────────────────────────────────────── */
.form-input,.form-select,.form-textarea {
    width:100%; padding:0.75rem 1rem;
    border:1.5px solid #DDD6CB;
    border-radius:var(--r-sm);
    transition:all 0.25s ease;
    font-size:0.9375rem;
    font-family:'Manrope',sans-serif;
    background:#FDFAF6; color:var(--c-text); font-weight:500;
}
.form-input:focus,.form-select:focus,.form-textarea:focus {
    outline:none; border-color:var(--c-primary);
    box-shadow:0 0 0 3px rgba(78,124,114,0.14); background:white;
}
.form-label {
    display:block; margin-bottom:0.5rem;
    font-weight:700; font-size:0.875rem; color:var(--c-text);
}

/* ─── File Upload ─────────────────────────────────────────── */
.file-upload-area {
    border:2px dashed #C4B8AB; border-radius:var(--r-md); padding:2rem;
    text-align:center; cursor:pointer; transition:all 0.3s ease;
    background:rgba(237,232,223,0.4);
}
.file-upload-area:hover,.file-upload-area.drag-over {
    border-color:var(--c-primary); background:rgba(78,124,114,0.04);
}

/* ─── Data Table ──────────────────────────────────────────── */
.data-table{width:100%;border-collapse:separate;border-spacing:0}
.data-table thead{background:#F5F0E8}
.data-table th{padding:1rem;text-align:left;font-weight:700;font-size:0.8rem;color:var(--c-muted);border-bottom:1px solid #DDD6CB;text-transform:uppercase;letter-spacing:0.05em}
.data-table td{padding:1rem;border-bottom:1px solid #EDE8DF}
.data-table tbody tr{transition:background 0.15s ease}
.data-table tbody tr:hover{background:#F5F0E8}

/* ─── Badge ───────────────────────────────────────────────── */
.badge{display:inline-flex;align-items:center;padding:0.25rem 0.75rem;border-radius:99px;font-size:0.72rem;font-weight:700;letter-spacing:0.03em}
.badge-success{background:#D1F5E4;color:#215A3A}
.badge-danger {background:#FDE8E8;color:#8B1A1A}
.badge-warning{background:#FEF0DC;color:#7A4A10}
.badge-info   {background:#E2EFE8;color:#2D5E48}

/* ─── Toggle Switch ───────────────────────────────────────── */
.toggle-switch{position:relative;display:inline-block;width:48px;height:24px}
.toggle-switch input{opacity:0;width:0;height:0}
.toggle-slider{position:absolute;cursor:pointer;inset:0;background:#C4B8AB;transition:0.3s var(--e-smooth);border-radius:24px}
.toggle-slider::before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background:white;transition:0.3s var(--e-spring);border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,0.18)}
input:checked + .toggle-slider{background:var(--c-primary)}
input:checked + .toggle-slider::before{transform:translateX(24px)}

/* ─── Alert ───────────────────────────────────────────────── */
.alert{padding:1rem 1.25rem;border-radius:var(--r-sm);margin-bottom:1rem;display:flex;align-items:center;gap:0.75rem;animation:alertIn 0.4s var(--e-expo) both;font-weight:500}
@keyframes alertIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
.alert-success{background:#D1F5E4;color:#215A3A;border-left:4px solid #3D8B5A}
.alert-error  {background:#FDE8E8;color:#8B1A1A;border-left:4px solid #C43A3A}
.alert-warning{background:#FEF0DC;color:#7A4A10;border-left:4px solid #C87B30}
.alert-info   {background:#E2EFE8;color:#2D5E48;border-left:4px solid var(--c-primary)}

/* ─── Spinner ─────────────────────────────────────────────── */
.spinner{border:3px solid var(--c-bg2);border-top:3px solid var(--c-primary);border-radius:50%;width:40px;height:40px;animation:spin 0.8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* ─── Noise texture ───────────────────────────────────────── */
body::after{
    content:'';position:fixed;inset:0;
    background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity:0.02;pointer-events:none;z-index:99998;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-frame { padding:10px; }
}

@media (max-width: 768px) {
    #cur-dot,#cur-ring{display:none}
    .hero-frame{padding:8px;border-radius:calc(var(--r-xl) + 8px)}
    .hero-slider-wrap{aspect-ratio:1/1}
    .hero-next-btn{width:50px;height:50px;font-size:0.95rem;bottom:-14px;right:-14px}
    .data-table{display:block;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;font-size:0.875rem}
    .data-table th,.data-table td{padding:0.7rem 0.6rem}
    .admin-card{padding:1rem} .stat-card{padding:1rem}
    .admin-sidebar{width:280px}
    .form-input,.form-select,.form-textarea{font-size:16px}
    body:not(.admin-body) button,body:not(.admin-body) .btn-primary,body:not(.admin-body) .btn-secondary{width:100%;justify-content:center}
    .vision-glass:hover{transform:translateY(-3px) scale(1)}
    .tl-card:hover{transform:translateX(3px) translateY(-1px)}
}

@media (max-width: 480px) {
    .tl-item{grid-template-columns:32px 1fr;gap:0 12px}
    .tl-dot{width:28px;height:28px}
    .tl-dot-inner{width:8px;height:8px}
}

@media (min-width: 769px) {
    body:not(.admin-body) button,body:not(.admin-body) .btn-primary,body:not(.admin-body) .btn-secondary{width:auto}
}

@media (hover:none) {
    .vision-glass:hover{transform:none;box-shadow:var(--glass-shadow)}
    .btn-primary:hover,.btn-secondary:hover{transform:none}
    .hero-next-btn{animation:none}
    a:active{opacity:0.7}
}

@media print {
    .admin-sidebar,.mobile-overlay,button,.no-print,
    #cur-dot,#cur-ring,#scroll-progress,body::after{display:none!important}
    .admin-card{page-break-inside:avoid}
}

/* ─── Back to Top Button ──────────────────────────────────── */
#back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d));
    color: white;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(78,124,114,0.30);
    z-index: 1000;
    opacity: 0;
    transform: translateY(16px) scale(0.85);
    transition: opacity 0.35s var(--e-expo), transform 0.35s var(--e-spring);
    pointer-events: none;
}

#back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#back-to-top:hover {
    background: linear-gradient(135deg, var(--c-primary-l), var(--c-primary));
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 12px 28px rgba(78,124,114,0.38);
}

#back-to-top:active {
    transform: scale(0.95);
}

/* ─── Portfolio Card Tilt ─────────────────────────────────── */
.portfolio-tilt {
    transition: transform 0.15s ease, box-shadow 0.3s ease !important;
    will-change: transform;
}

.portfolio-tilt:hover {
    box-shadow: 0 24px 50px rgba(78,124,114,0.16) !important;
}

/* ─── Cursor v2: magnetic trail ──────────────────────────── */
#cur-dot {
    position: fixed;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-primary);
    opacity: 0.7;
    pointer-events: none;
    z-index: 99997;
    transform: translate(-50%, -50%);
    will-change: left, top;
    transition: width 0.2s var(--e-spring), height 0.2s var(--e-spring),
                opacity 0.2s ease, background 0.25s ease;
    mix-blend-mode: multiply;
}

#cur-ring {
    position: fixed;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(78,124,114,0.40);
    pointer-events: none;
    z-index: 99996;
    transform: translate(-50%, -50%);
    will-change: left, top;
    /* Ring gecikme JS ile yapılıyor (lerp) */
    transition: width 0.28s var(--e-spring), height 0.28s var(--e-spring),
                border-color 0.25s ease, opacity 0.25s ease;
}

body.cur-hover #cur-dot {
    width: 4px; height: 4px;
    opacity: 0.25;
}
body.cur-hover #cur-ring {
    width: 50px; height: 50px;
    border-color: rgba(78,124,114,0.25);
}
body.cur-click #cur-dot {
    width: 12px; height: 12px;
    opacity: 0.9;
    background: var(--c-accent);
}
body.cur-click #cur-ring {
    width: 22px; height: 22px;
    border-color: rgba(201,123,85,0.45);
}

/* ─── Portfolio / Blog Modals ─────────────────────────────── */
.pf-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(42,33,24,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s var(--e-expo);
}
.pf-modal-overlay.open {
    opacity: 1; pointer-events: auto;
}

.pf-modal-box {
    background: var(--c-surface);
    border-radius: var(--r-xl);
    box-shadow: 0 32px 80px rgba(42,33,24,0.24);
    width: 100%; max-width: 700px;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.4s var(--e-spring);
    scrollbar-width: thin;
}
.pf-modal-box--wide { max-width: 860px; }

.pf-modal-overlay.open .pf-modal-box {
    transform: translateY(0) scale(1);
}

.pf-modal-close {
    position: absolute; top: 18px; right: 18px; z-index: 10;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(237,232,223,0.9);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--c-text-2);
    transition: background 0.2s ease, transform 0.2s var(--e-spring);
}
.pf-modal-close:hover {
    background: var(--c-bg2);
    transform: scale(1.1) rotate(90deg);
}

.pf-modal-content { padding: 0; }

.pf-modal-body { padding: 28px 32px 36px; }

/* Loading spinner inside modal */
.modal-loading {
    display: flex; align-items: center; justify-content: center;
    padding: 60px 32px;
    gap: 12px; color: var(--c-muted); font-weight: 600;
}

/* ─── Blog Card (Instagram style) ────────────────────────── */
.blog-card {
    background: var(--c-surface);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(78,124,114,0.07);
    border: 1px solid rgba(255,255,255,0.8);
    transition: transform 0.4s var(--e-spring), box-shadow 0.4s ease;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(78,124,114,0.13);
}

.blog-card-img {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(78,124,114,0.10), rgba(142,107,126,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}
.blog-card-img-bg,
.blog-card-img-main {
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}
.blog-card-img-bg {
    position: absolute;
    inset: -8%;
    width: 116%;
    height: 116%;
    object-fit: cover;
    object-position: center center;
    filter: blur(22px);
    transform: scale(1.08);
    opacity: 0.42;
    z-index: 0;
}
.blog-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.12), rgba(255,255,255,0.02) 58%, rgba(42,33,24,0.04));
    z-index: 1;
    pointer-events: none;
}
.blog-card-img-main {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    padding: 10px;
    transition: transform 0.3s ease;
}
.blog-card:hover .blog-card-img-main { transform: scale(1.02); }

.blog-card-overlay {
    position: absolute; inset: 0;
    background: rgba(42,33,24,0.40);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.blog-card:hover .blog-card-overlay { opacity: 1; }

.blog-card-body { padding: 16px; }

.blog-cat-badge {
    display: inline-flex; align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    font-size: 0.7rem; font-weight: 700;
    background: rgba(142,107,126,0.12);
    color: var(--c-secondary);
}

.blog-card-title {
    font-size: 0.95rem; font-weight: 700;
    color: var(--c-text);
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

.blog-card-excerpt {
    font-size: 0.8rem; color: var(--c-muted);
    line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 10px;
}

.blog-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(78,124,114,0.08);
}

.blog-read-btn {
    font-size: 0.78rem; font-weight: 700;
    color: var(--c-primary);
    display: flex; align-items: center; gap: 4px;
    transition: gap 0.2s var(--e-spring);
}
.blog-card:hover .blog-read-btn { gap: 7px; }

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

.project-cat-badge {
    background: color-mix(in srgb, var(--tag-color, var(--c-primary)) 14%, white);
    color: color-mix(in srgb, var(--tag-color, var(--c-primary)) 88%, #2f2a2a);
}

.project-card-date {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: var(--c-muted);
    font-size: 0.72rem;
}

.project-card-title {
    margin-bottom: 0.45rem;
}

.project-card-excerpt {
    -webkit-line-clamp: 3;
    margin-bottom: 0.95rem;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.95rem;
}

.project-tech-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    background: rgba(78,124,114,0.10);
    color: var(--c-primary);
}

.project-card-footer {
    margin-top: auto;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.project-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: var(--c-muted);
    font-size: 0.78rem;
}

.project-card-footer .blog-read-btn {
    margin-left: auto;
}

@media (max-width: 640px) {
    .project-card-footer .blog-read-btn {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }
}

/* ─── Section Dividers ────────────────────────────────────── */
.section-divider {
    position: relative;
    height: 48px;
    overflow: visible;
    pointer-events: none;
    margin: 0;
}
.section-divider svg {
    position: absolute;
    left: 0; right: 0;
    width: 100%; height: 100%;
    display: block;
}



/* ─── Site Brand Link ─────────────────────────────────────── */
.site-brand-link {
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--c-text);
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1;
}
.site-brand-link:hover { color: var(--c-primary); }

/* ─── Footer fix ──────────────────────────────────────────── */
footer { margin-top: 0; }



/* ─── Modal Hero Image — TEK KESİN KURAL ────────────────── */
.modal-hero-wrap {
    width: 100%;
    line-height: 0;
    background: #f0ece4;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    overflow: hidden;
    flex-shrink: 0;
}
.modal-hero-wrap img {
    width: 100%;
    height: auto !important;        /* yükseklik içeriğe göre */
    max-height: 55vh !important;    /* ekran yüksekliğinin yarısından fazlasını kaplamaz */
    object-fit: contain !important; /* kırpma yok — tamamı görünür */
    display: block;
    background: #f0ece4;
}

/* ============================================================
   Premium Landing Refresh — Header / Hero / Footer
   ============================================================ */
.nav-shell--premium {
    background: rgba(253,251,247,0.75);
    border: 1px solid rgba(255,255,255,0.92);
    box-shadow: 0 4px 24px rgba(42,33,24,0.07), 0 1px 0 rgba(255,255,255,0.9) inset;
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
}

.nav-pill--premium {
    background: rgba(42,33,24,0.06);
    border: 1px solid rgba(78,124,114,0.10);
    padding: 4px;
    border-radius: 999px;
}

/* Nav linkleri — alt çizgi YOK */
.nav-link {
    color: rgba(42,33,24,0.62);
    font-weight: 500;
    font-size: .875rem;
    letter-spacing: -0.01em;
    border-radius: 999px;
    transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
    text-decoration: none;
    border: none;
    outline: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .38rem;
}
.nav-link::after { display: none !important; }

.nav-link-icon {
    font-size: .72rem;
    opacity: .55;
    transition: opacity 0.18s ease, color 0.18s ease, transform 0.22s ease;
}

.nav-link:hover {
    color: var(--c-primary);
    background: rgba(78,124,114,0.10);
    transform: translateY(-1px);
}
.nav-link:hover .nav-link-icon {
    opacity: 1;
    color: var(--c-primary);
    transform: scale(1.18) rotate(-4deg);
}

.nav-link.active {
    color: var(--c-primary) !important;
    background: rgba(255,255,255,0.97);
    font-weight: 650;
    box-shadow: 0 2px 12px rgba(78,124,114,0.13), 0 1px 0 rgba(255,255,255,1) inset;
}
.nav-link.active .nav-link-icon {
    opacity: 1;
    color: var(--c-primary);
}

/* Mobile menü butonu */
.mobile-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255,255,255,0.88);
    color: var(--c-text);
    border: 1px solid rgba(78,124,114,0.12);
    box-shadow: 0 2px 10px rgba(42,33,24,0.07);
    transition: background 0.18s, transform 0.18s;
    display: flex; align-items: center; justify-content: center;
}
.mobile-menu-btn:hover {
    background: rgba(255,255,255,1);
    transform: scale(1.04);
}

/* Mobile nav panel */
#navbar{z-index:220!important;overflow:visible!important;}
#navbar .max-w-7xl{position:relative;z-index:221!important;overflow:visible!important;}
#mobile-menu{position:relative;z-index:222!important;overflow:visible!important;}
.mobile-nav-panel{position:relative;z-index:223!important;overflow:visible!important;}
.mobile-nav-panel .nav-link--mobile{position:relative;z-index:224!important;}
.mobile-nav-panel .nav-link--mobile:hover,.mobile-nav-panel .nav-link--mobile.active{z-index:225!important;}

    background: rgba(253,251,247,0.97);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255,255,255,0.9);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-height: 500px) {
    .mobile-nav-panel { max-height: calc(100dvh - 60px); }
}

/* Mobile nav linkleri — border-bottom YOK, sadece hover bg */
.nav-link--mobile {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .78rem 1rem;
    border-radius: 14px;
    border: none !important;
    border-bottom: none !important;
    background: transparent;
    color: rgba(42,33,24,0.72);
    font-weight: 500;
    font-size: .925rem;
    transition: background 0.16s, color 0.16s, transform 0.16s;
}
.nav-link--mobile:hover {
    background: rgba(78,124,114,0.08);
    color: var(--c-primary);
    transform: translateX(3px);
}
.nav-link--mobile.active {
    background: rgba(78,124,114,0.10) !important;
    color: var(--c-primary) !important;
    font-weight: 600;
}

.nav-meta-chip,
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
}

.nav-meta-chip {
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    border-radius: 999px;
    color: rgba(42,33,24,0.65);
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(78,124,114,0.12);
    box-shadow: 0 1px 4px rgba(42,33,24,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
    transition: transform 0.22s var(--e-spring), color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    font-size: .875rem;
    font-weight: 500;
}

.nav-meta-chip:hover {
    color: var(--c-primary);
    background: rgba(255,255,255,0.97);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(78,124,114,0.14), inset 0 1px 0 rgba(255,255,255,0.9);
}

.nav-meta-chip--mobile {
    width: auto;
    height: 44px;
    padding: 0 1rem;
}

.nav-cta {
    height: 46px;
    padding: 0 1.35rem;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d));
    box-shadow: 0 14px 28px rgba(78,124,114,0.22);
    font-weight: 700;
    transition: transform 0.3s var(--e-spring), box-shadow 0.25s ease, background 0.25s ease;
}

.nav-cta:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, var(--c-primary-l), var(--c-primary));
    box-shadow: 0 16px 34px rgba(78,124,114,0.28);
}

.nav-cta--mobile {
    flex: 1;
    height: 48px;
}

.site-brand-link,
.site-logo-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.78rem;
    text-decoration: none;
    color: var(--c-text);
    transform-origin: left center;
    transition: transform 0.28s var(--e-spring), color 0.22s ease;
}

.site-brand-link::after,
.site-logo-link::after {
    display: none !important;
    content: none !important;
}

.site-brand-link:hover,
.site-logo-link:hover {
    color: var(--c-primary);
    transform: translateY(-1px) scale(1.02);
}

.site-brand-stack {
    display: inline-flex;
    flex-direction: column;
    gap: 0.16rem;
    min-width: 0;
}

.site-brand-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(78,124,114,0.08);
    font-size: 1.12rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    background-image: linear-gradient(90deg, #c96b73 0%, #c96b73 22%, #332828 52%, #332828 100%);
    background-size: 210% 100%;
    background-position: 100% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    box-shadow: 0 10px 20px rgba(42,33,24,0.06);
    transition: transform 0.32s var(--e-spring), filter 0.32s ease;
}

.site-brand-text {
    display: block;
    font-size: clamp(1.04rem, 1.35vw, 1.22rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
    color: inherit;
}

.site-brand-kicker {
    display: block;
    font-size: 0.68rem;
    line-height: 1.15;
    text-transform: none;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: rgba(92,79,66,0.58);
}

.site-brand-link:hover .site-brand-mark,
.site-logo-link:hover .site-brand-mark {
    animation: brandAtSweep 1.35s ease-in-out infinite;
    transform: scale(1.12) rotate(-4deg);
    filter: drop-shadow(0 6px 18px rgba(201, 107, 115, 0.18));
}

.site-brand-link:hover .site-brand-text,
.site-logo-link:hover .site-brand-text {
    transform: translateX(1px);
}

.site-brand-link--header {
    min-width: 150px;
}

.site-brand-link--footer {
    align-items: flex-start;
}

.site-brand-link--footer .site-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 16px;
}

.hero-section {
    isolation: isolate;
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.8;
    z-index: -1;
}

.hero-orb--left {
    width: min(44vw, 620px);
    height: min(44vw, 620px);
    left: -10%;
    top: 16%;
    background: radial-gradient(circle, rgba(78,124,114,0.14) 0%, rgba(78,124,114,0.04) 48%, transparent 76%);
}

.hero-orb--right {
    width: min(34vw, 480px);
    height: min(34vw, 480px);
    right: -4%;
    top: 12%;
    background: radial-gradient(circle, rgba(201,123,85,0.12) 0%, rgba(142,107,126,0.06) 52%, transparent 76%);
}

.hero-grid-glow {
    position: absolute;
    inset: auto 0 8% 0;
    margin: 0 auto;
    width: min(100%, 1180px);
    height: 220px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.hero-copy {
    max-width: 540px;
}

.hero-pill {
    padding: 0.95rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,247,243,0.78));
    border: 1px solid rgba(201,123,85,0.22);
    color: #8b5a47;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    box-shadow: 0 16px 30px rgba(201,123,85,0.10);
    backdrop-filter: blur(18px);
}

.hero-title {
    margin-top: 1.05rem;
    margin-bottom: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    letter-spacing: -0.05em;
}

.hero-title-main,
.hero-title-accent {
    display: block;
    line-height: 0.96;
}

.hero-title-main {
    font-size: clamp(1.28rem, 2.05vw, 1.88rem);
    font-weight: 700;
    color: rgba(92,79,66,0.72);
}

.hero-title-accent {
    font-size: clamp(1.98rem, 4vw, 3.35rem);
    font-weight: 850;
    overflow-wrap: anywhere;
    background: linear-gradient(135deg, #8d6d74 0%, #a37c83 38%, #cf806e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 500px;
    font-size: clamp(0.94rem, 1.02vw, 1.04rem);
    line-height: 1.8;
    color: rgba(92,79,66,0.9);
}

.hero-metrics {
    margin-top: 1.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-metric-card {
    min-width: 132px;
    padding: 0.9rem 1rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(78,124,114,0.10);
    box-shadow: 0 14px 26px rgba(42,33,24,0.06);
    backdrop-filter: blur(18px);
}

.hero-metric-card strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--c-text);
}

.hero-metric-card span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.78rem;
    color: var(--c-muted);
    line-height: 1.45;
}

.hero-metric-card--muted {
    min-width: 220px;
}

.hero-actions {
    margin-top: 2rem;
}

.hero-btn {
    min-height: 58px;
    padding-inline: 1.6rem;
}

.hero-btn--primary {
    box-shadow: 0 16px 36px rgba(78,124,114,0.26);
}

.hero-btn--secondary {
    background: rgba(255,255,255,0.62);
    border-color: rgba(78,124,114,0.14);
}

.hero-socials {
    margin-top: 1.65rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-social-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    padding: 0.82rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--c-text-2);
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(78,124,114,0.10);
    box-shadow: 0 12px 24px rgba(42,33,24,0.05);
    transition: transform 0.26s var(--e-spring), background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.hero-social-chip i {
    font-size: 0.96rem;
}

.hero-social-chip span {
    font-size: 0.85rem;
    font-weight: 700;
}

.hero-social-chip:hover {
    color: var(--c-primary);
    background: rgba(255,255,255,0.92);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(78,124,114,0.10);
}

.hero-visual-wrap {
    position: relative;
}

.hero-visual-stage {
    position: relative;
    width: min(500px, 100%);
    padding: 20px 16px 16px;
}

.hero-visual-stage::before {
    content: '';
    position: absolute;
    inset: 8% 0 0 18%;
    border-radius: 38px;
    background: linear-gradient(180deg, rgba(255,255,255,0.30), rgba(255,255,255,0));
    box-shadow: 0 30px 60px rgba(42,33,24,0.08);
    z-index: -1;
}

.hero-visual-badge {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(78,124,114,0.12);
    color: var(--c-text);
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(42,33,24,0.07);
    z-index: 4;
}

.hero-visual-badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    box-shadow: 0 0 0 6px rgba(78,124,114,0.10);
}

.hero-frame--premium {
    padding: 16px;
    border-radius: calc(var(--r-xl) + 10px);
    background: rgba(255,255,255,0.42);
    border: 1px solid rgba(255,255,255,0.84);
    box-shadow: 0 26px 64px rgba(42,33,24,0.12), inset 0 1px 0 rgba(255,255,255,0.82);
}

.hero-slider-wrap--premium {
    aspect-ratio: 0.84 / 1;
    min-height: 470px;
    background: linear-gradient(180deg, rgba(245,241,234,0.95), rgba(237,232,223,0.98));
    border-radius: 34px;
}

.hero-slider-wrap--premium .hero-slide img {
    object-fit: cover;
    object-position: center top;
}

.hero-visual-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 0.9rem;
    padding: 0.9rem 0.1rem 0.05rem;
}

.hero-visual-label,
.hero-visual-tag {
    display: none !important;
}

.hero-visual-meta strong,

.hero-next-btn {
    width: 60px;
    height: 60px;
    bottom: 22px;
    right: -10px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d));
}

.hero-next-btn:hover {
    transform: translateY(-2px) scale(1.08) !important;
}

.site-footer {
    position: relative;
    margin-top: 0;
    background:
        radial-gradient(circle at 0% 20%, rgba(78,124,114,0.08), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(201,123,85,0.07), transparent 32%),
        linear-gradient(180deg, rgba(237,232,223,0.86), rgba(245,241,234,0.98));
    border-top: 1px solid rgba(78,124,114,0.10);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
    gap: 2rem;
    align-items: start;
}

.site-footer-brand-block,
.site-footer-nav-block,
.site-footer-meta-block {
    min-width: 0;
}

.site-footer-label {
    display: block;
    margin-bottom: 0.9rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(92,79,66,0.54);
    font-weight: 800;
}

.site-footer-note {
    margin-top: 1rem;
    max-width: 42ch;
    color: rgba(92,79,66,0.82);
    line-height: 1.75;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.site-footer-links a,
.site-footer-mail {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 42px;
    padding: 0 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--c-text-2);
    background: rgba(255,255,255,0.58);
    border: 1px solid rgba(78,124,114,0.10);
    box-shadow: 0 12px 24px rgba(42,33,24,0.04);
    transition: transform 0.25s var(--e-spring), color 0.22s ease, background 0.22s ease;
}

.site-footer-links a:hover,
.site-footer-mail:hover {
    color: var(--c-primary);
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

.site-footer-mail {
    margin-bottom: 1rem;
    max-width: 100%;
    overflow: hidden;
}

.site-footer-mail span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-footer-copy {
    margin: 0;
    color: rgba(92,79,66,0.74);
    line-height: 1.7;
}

@media (max-width: 1200px) {
    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer-brand-block {
        grid-column: 1 / -1;
    }

    .hero-title-main,
    .hero-title-accent {
        font-size: clamp(2.15rem, 5.3vw, 3.55rem);
    }
}

@media (max-width: 1024px) {
    .hero-copy {
        max-width: 100%;
        text-align: center;
        margin-inline: auto;
    }

    .hero-lead {
        margin-inline: auto;
    }

    .hero-metrics,
    .hero-socials,
    .hero-actions {
        justify-content: center;
    }

    .hero-visual-stage {
        margin-inline: auto;
        padding-top: 10px;
    }

    .hero-visual-badge {
        left: 12px;
    }
}

@media (max-width: 768px) {
    .nav-shell--premium {
        padding-inline: 1rem;
    }

    .site-brand-kicker {
        display: none;
    }

    .site-brand-mark {
        width: 32px;
        height: 32px;
        border-radius: 12px;
    }

    .hero-section {
        padding-top: 7.8rem;
        padding-bottom: 4rem;
    }

    .hero-title-main,
    .hero-title-accent {
        font-size: clamp(1.82rem, 7.8vw, 2.7rem);
        line-height: 0.98;
    }

    .hero-metric-card,
    .hero-metric-card--muted {
        min-width: calc(50% - 0.5rem);
        flex: 1 1 calc(50% - 0.5rem);
    }

    .hero-social-chip {
        flex: 1 1 calc(50% - 0.5rem);
        justify-content: center;
    }

    .hero-visual-stage {
        width: 100%;
        padding-inline: 0;
    }

    .hero-visual-badge {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 0.9rem;
    }

    .hero-frame--premium {
        width: 100% !important;
        padding: 12px;
    }

    .hero-slider-wrap--premium {
        min-height: 420px;
        aspect-ratio: 0.86 / 1;
        border-radius: 28px;
    }

    .hero-visual-meta {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    .hero-next-btn {
        width: 54px;
        height: 54px;
        right: -4px;
        bottom: 14px;
        border-radius: 18px;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .site-footer-mail {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .hero-metric-card,
    .hero-metric-card--muted,
    .hero-social-chip {
        min-width: 100%;
        flex-basis: 100%;
    }

    .hero-btn {
        width: 100%;
    }
}


/* v6 hotfixes */
.hero-copy { max-width: 540px; }
.hero-title { margin-top: 1.05rem; margin-bottom: 0.9rem; gap: 0.12rem; }
.hero-lead { max-width: 500px; font-size: clamp(0.94rem, 1.02vw, 1.04rem); }
.hero-social-chip { padding: 0.72rem 0.95rem; }
.hero-slider-wrap--premium { max-height: 560px; }
@media (max-width: 1024px) {
    .hero-title-main, .hero-title-accent { line-height: 0.96; }
}

/* v7 gallery restore */
.blog-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}
.blog-gallery-thumb,
.gallery-media-btn {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 0;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    background: var(--c-bg2);
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(42,33,24,0.10);
}
.blog-gallery-thumb img,
.gallery-media-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.blog-gallery-thumb:hover img,
.gallery-media-btn:hover img { transform: scale(1.05); }
.gallery-zoom-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(42,33,24,0.48);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.thumb-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 9px 11px;
    font-size: 0.76rem;
    line-height: 1.45;
    color: #fff;
    background: linear-gradient(180deg, rgba(0,0,0,0.00), rgba(0,0,0,0.62));
}
.blog-modal-copy::after,
.blog-modal-gallery {
    clear: both;
}
.blog-modal-gallery {
    display: block;
}
.modal-media-hero {
    width: 100%;
    line-height: 0;
    background: linear-gradient(180deg, rgba(240,236,228,0.96), rgba(237,232,223,0.96));
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    overflow: hidden;
    flex-shrink: 0;
    border: 0;
    padding: 0;
    text-align: center;
    aspect-ratio: 16 / 10;
}
.modal-media-hero img,
img.modal-hero {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center;
    display: block;
    margin: 0 auto;
    border-radius: 0;
    background: #f6f2eb;
}
.media-lightbox-overlay {
    position: fixed;
    inset: 0;
    padding: 28px;
    background: rgba(20,17,16,0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.media-lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.media-lightbox-stage {
    width: 100%;
    max-width: min(94vw, 1100px);
    max-height: none;
    text-align: center;
    margin: auto;
}
.media-lightbox-frame {
    position: relative;
    display: inline-block;
    max-width: 100%;
}
.media-lightbox-image-shell {
    position: relative;
    display: inline-block;
    max-width: 100%;
}
.media-lightbox-stage img {
    display: block;
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 26px;
    background: rgba(255,255,255,0.96);
    padding: 14px;
    box-shadow: 0 28px 70px rgba(0,0,0,0.28);
}
.media-lightbox-meta { margin-top: 14px; color: #fff; }
.media-lightbox-counter { font-size: 0.82rem; opacity: 0.74; margin-bottom: 4px; }
.media-lightbox-title { font-size: 0.96rem; font-weight: 600; }
.media-lightbox-close,
.media-lightbox-nav,
.media-lightbox-hitbox {
    border: 0;
    cursor: pointer;
}
.media-lightbox-close,
.media-lightbox-nav {
    position: absolute;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    color: #fff;
    line-height: 1;
    text-align: center;
    transition: background 0.2s ease, opacity 0.2s ease;
}
.media-lightbox-close {
    top: 16px;
    right: 16px;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px;
    background: rgba(12,18,28,0.42);
    z-index: 7;
    font-size: 22px !important;
    font-weight: 700 !important;
}
.media-lightbox-nav {
    top: 50%;
    width: 44px !important;
    height: 44px !important;
    border-radius: 999px;
    background: rgba(12,18,28,0.34);
    z-index: 6;
    font-size: 30px !important;
    font-weight: 700 !important;
}
.media-lightbox-close:hover,
.media-lightbox-nav:hover { background: rgba(12,18,28,0.56); }
.media-lightbox-nav.prev { left: 12px; right: auto !important; transform: translateY(-50%) !important; }
.media-lightbox-nav.next { right: 12px; left: auto !important; transform: translateY(-50%) !important; }
.media-lightbox-hitbox {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}
.media-lightbox-hitbox.prev { left: 0; }
.media-lightbox-hitbox.next { right: 0; }
@media (max-width: 768px) {
    .media-lightbox-overlay { padding: 18px; }
    .blog-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .modal-media-hero {
        padding: 0;
        aspect-ratio: 4 / 3;
    }
    .modal-media-hero img,
    img.modal-hero {
        max-height: none !important;
    }
}
@media (max-width: 768px) and (orientation: portrait) {
    .media-lightbox-overlay {
        padding: 10px 8px 18px;
        align-items: flex-start;
    }
    .media-lightbox-stage {
        max-width: 100%;
        padding-top: 6px;
    }
    .media-lightbox-frame,
    .media-lightbox-image-shell {
        width: 100%;
    }
    .media-lightbox-stage img {
        width: 100%;
        max-height: calc(100vh - 170px);
        border-radius: 22px;
        padding: 10px;
    }
    .media-lightbox-close {
        top: 10px;
        right: 10px;
        width: 30px !important;
        height: 30px !important;
        background: rgba(12,18,28,0.34);
        font-size: 20px !important;
    }
    .media-lightbox-nav {
        width: 40px !important;
        height: 40px !important;
        background: rgba(12,18,28,0.28);
        font-size: 28px !important;
    }
    .media-lightbox-nav.prev { left: 10px; transform: translateY(-50%) !important; }
    .media-lightbox-nav.next { right: 10px; transform: translateY(-50%) !important; }
    .media-lightbox-hitbox {
        pointer-events: auto;
    }
    .media-lightbox-meta {
        margin-top: 10px;
    }
}

/* hard override: lightbox buttons must not inherit mobile full-width button rules */
body:not(.admin-body) .media-lightbox-overlay .media-lightbox-close,
body:not(.admin-body) .media-lightbox-overlay .media-lightbox-nav,
body:not(.admin-body) .media-lightbox-overlay .media-lightbox-hitbox {
    width: auto !important;
    justify-content: center !important;
}
body:not(.admin-body) .media-lightbox-overlay .media-lightbox-close {
    width: 34px !important;
    height: 34px !important;
}
body:not(.admin-body) .media-lightbox-overlay .media-lightbox-nav {
    width: 44px !important;
    height: 44px !important;
}
@media (max-width: 768px) and (orientation: portrait) {
    body:not(.admin-body) .media-lightbox-overlay .media-lightbox-close {
        width: 30px !important;
        height: 30px !important;
    }
    body:not(.admin-body) .media-lightbox-overlay .media-lightbox-nav {
        width: 40px !important;
        height: 40px !important;
    }
}
@media (hover: hover) and (pointer: fine) {
    .media-lightbox-hitbox {
        pointer-events: none !important;
    }
}
@media (max-width: 768px) {
}


/* v8 refinements */
.hero-visual-badge { display:none !important; }
.hero-visual-badge-dot { display:none !important; }
.site-footer-socials {
    display:flex;
    flex-wrap:wrap;
    gap:0.7rem;
}
.site-footer-social {
    display:inline-flex;
    align-items:center;
    gap:0.55rem;
    min-height:42px;
    padding:0 0.95rem;
    border-radius:999px;
    text-decoration:none;
    color:var(--c-text-2);
    background:rgba(255,255,255,0.58);
    border:1px solid rgba(78,124,114,0.10);
    box-shadow:0 12px 24px rgba(42,33,24,0.04);
    transition:transform 0.25s var(--e-spring), color 0.22s ease, background 0.22s ease;
    flex:0 0 auto;
}
.site-footer-social:hover {
    color:var(--c-primary);
    background:rgba(255,255,255,0.9);
    transform:translateY(-2px);
}
.site-footer-social span {
    font-size:0.84rem;
    font-weight:700;
}
@media (max-width:768px){
    .site-footer-socials { justify-content:flex-start; flex-wrap:wrap; flex-direction:row !important; align-items:flex-start !important; }
    .site-footer-social { flex:0 0 auto !important; width:auto !important; max-width:none !important; justify-content:flex-start; }
}
@media (max-width:560px){
    .site-footer-social { flex-basis:auto !important; font-size:.82rem; padding:0 .8rem; min-height:38px; }
}



.hero-visual-counter {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--c-text);
}


/* v9 final refinements */
.hero-pill {
    padding: 0.98rem 1.24rem !important;
    font-size: 1.02rem !important;
    box-shadow: 0 18px 34px rgba(201,123,85,0.12) !important;
}
.hero-title {
    margin-top: 1rem !important;
    margin-bottom: 0.85rem !important;
    gap: 0.06rem !important;
}
.hero-title-main {
    font-size: clamp(1.24rem, 1.9vw, 1.82rem) !important;
    font-weight: 700 !important;
    color: rgba(92,79,66,0.72) !important;
}
.hero-title-accent {
    font-size: clamp(1.98rem, 3.85vw, 3.32rem) !important;
    font-weight: 850 !important;
    background: linear-gradient(135deg, #8d6d74 0%, #a78187 38%, #cf806e 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}
.hero-visual-meta {
    justify-content: flex-start !important;
    align-items: center !important;
    padding-top: 0.9rem !important;
}
.hero-visual-label,
.hero-visual-tag,
.hero-visual-badge {
    display: none !important;
}
.hero-visual-counter {
    font-size: 0.96rem !important;
    font-weight: 800 !important;
    color: var(--c-text) !important;
}
.modal-media-hero {
    padding: 0 !important;
    aspect-ratio: 16 / 10 !important;
}
.modal-media-hero img,
img.modal-hero {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 0 !important;
}
.site-footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr) minmax(0, 0.9fr) minmax(0, 0.95fr) !important;
    gap: 1.8rem !important;
}
.site-footer-posts-list {
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
}
.site-footer-post-link {
    display: block;
    padding: 0.82rem 0.9rem;
    border-radius: 18px;
    text-decoration: none;
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(78,124,114,0.10);
    box-shadow: 0 12px 24px rgba(42,33,24,0.04);
    transition: transform 0.24s var(--e-spring), background 0.24s ease, color 0.24s ease;
}
.site-footer-post-link strong {
    display: block;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--c-text);
}
.site-footer-post-link span,
.site-footer-empty {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.76rem;
    color: var(--c-muted);
}
.site-footer-post-link:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.92);
}
@media (max-width: 1200px) {
    .hero-title-main {
        font-size: clamp(1.16rem, 2.2vw, 1.62rem) !important;
    }
    .hero-title-accent {
        font-size: clamp(1.9rem, 4.8vw, 2.95rem) !important;
    }
    .site-footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .site-footer-brand-block {
        grid-column: 1 / -1;
    }
}
@media (max-width: 768px) {
    .hero-pill {
        font-size: 0.92rem !important;
        padding: 0.82rem 1rem !important;
    }
    .hero-title-main {
        font-size: clamp(1.02rem, 4.2vw, 1.28rem) !important;
    }
    .hero-title-accent {
        font-size: clamp(1.78rem, 8vw, 2.42rem) !important;
    }
    .hero-visual-meta {
        justify-content: center !important;
    }
    .modal-media-hero {
        aspect-ratio: 4 / 3 !important;
    }
    .site-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.35rem !important;
    }
}


/* v10 ui polish */
.section-head{max-width:760px;margin-inline:auto}.section-head--left{max-width:620px;margin-inline:0}.section-kicker{display:inline-flex;align-items:center;gap:.55rem;padding:.56rem .9rem;border-radius:999px;background:rgba(255,255,255,.72);border:1px solid rgba(78,124,114,.12);color:var(--c-primary);font-size:.82rem;font-weight:800;letter-spacing:.02em;box-shadow:0 10px 24px rgba(42,33,24,.05)}.section-title{margin-top:1rem;font-size:clamp(2rem,4vw,3.2rem);line-height:1.02;font-weight:800;letter-spacing:-.04em;color:var(--c-text)}.section-subtitle{margin-top:.95rem;font-size:1rem;line-height:1.75;color:var(--c-muted)}.about-copy{max-width:36rem}.about-stat-card{min-height:170px}.portfolio-cat-tag{display:inline-flex;align-items:center;padding:.4rem .8rem;border-radius:999px;margin-bottom:.85rem;font-size:.77rem;font-weight:800;letter-spacing:.01em;background:color-mix(in srgb,var(--tag-color) 14%, white);color:color-mix(in srgb,var(--tag-color) 88%, #2f2a2a)}
.nav-meta-chip--action{color:#fff;background:linear-gradient(135deg,var(--c-primary),var(--c-primary-d));box-shadow:0 14px 28px rgba(78,124,114,.22)}.nav-meta-chip--action:hover{color:#fff;background:linear-gradient(135deg,var(--c-primary-l),var(--c-primary));box-shadow:0 16px 34px rgba(78,124,114,.28)}
.hero-pill--typed{padding:1rem 1.25rem!important;font-size:clamp(1rem,1.45vw,1.16rem)!important;border-color:rgba(201,123,85,.26)!important;box-shadow:0 18px 34px rgba(201,123,85,.12)!important}.hero-pill-text{display:inline-block;min-width:12ch}.hero-pill-cursor{height:1.05em;background:var(--c-accent)}.hero-title--compact{margin-top:.9rem!important}.hero-title--compact .hero-title-main{display:none}.hero-title-accent{font-size:clamp(1.7rem,3.2vw,2.55rem)!important;line-height:1.02!important}.hero-visual-meta{display:flex;align-items:center;justify-content:flex-start;gap:.5rem;padding-top:.55rem!important}.hero-visual-counter{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;font-size:.94rem!important;font-weight:800!important;color:var(--c-text)!important}.hero-visual-counter::after{content:none!important}
.site-footer-grid--balanced{grid-template-columns:minmax(0,1.15fr) minmax(0,.92fr) minmax(0,.82fr) minmax(0,1fr)!important;gap:0!important;border:1px solid rgba(78,124,114,.08);border-radius:28px;background:rgba(255,255,255,.34);overflow:hidden}.site-footer-col{position:relative;padding:1.25rem 1.35rem;min-height:100%}.site-footer-col:not(:last-child)::after{content:'';position:absolute;top:18px;right:0;width:1px;height:calc(100% - 36px);background:linear-gradient(180deg,transparent,rgba(78,124,114,.18),rgba(142,107,126,.18),transparent)}.site-footer-posts-list.compact{display:flex;flex-direction:column;gap:.55rem}.site-footer-post-link.compact{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.7rem .8rem;border-radius:14px;min-height:unset}.site-footer-post-link.compact strong,.site-footer-post-link.compact span{display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-footer-post-link.compact strong{font-size:.8rem;max-width:72%}.site-footer-post-link.compact span{font-size:.72rem;flex:0 0 auto}.site-footer-more-link{display:inline-flex;align-items:center;gap:.4rem;margin-top:.7rem;font-size:.78rem;font-weight:700;color:var(--c-primary);text-decoration:none}.site-footer-more-link::after{content:'→'}.site-footer-links a{padding:.12rem 0}.site-footer-note{max-width:28rem}@media (max-width:1200px){.site-footer-grid--balanced{grid-template-columns:1fr 1fr!important}.site-footer-col:nth-child(2)::after{display:none}}@media (max-width:768px){.section-title{font-size:clamp(1.7rem,8vw,2.35rem)}.site-footer-grid--balanced{grid-template-columns:1fr!important}.site-footer-col:not(:last-child)::after{display:none}.site-footer-col{padding:1.1rem 1rem}}


/* v11 natro stats + footer/hero polish */
.hero-section .max-w-7xl{align-items:center}
@media (min-width:1024px){.hero-section .max-w-7xl{align-items:start}.hero-copy{padding-top:.4rem}.hero-visual-wrap{padding-top:.2rem}}
.hero-pill--typed{margin-top:0!important;margin-bottom:.4rem!important;align-self:flex-start}
.hero-title--compact{margin-top:.55rem!important}
.hero-title-accent{font-size:clamp(1.45rem,2.7vw,2.15rem)!important;line-height:1.08!important}
.hero-lead{max-width:60ch}
.site-footer-links,.site-footer-socials{display:flex;flex-direction:column;gap:.6rem;align-items:stretch}
.site-footer-links a,.site-footer-mail{display:flex!important;justify-content:flex-start;align-items:center;width:100%;max-width:100%;padding:.78rem .9rem;border-radius:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.site-footer-socials{flex-direction:row!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:.6rem}
.site-footer-social{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;padding:0 .95rem!important;justify-content:flex-start!important}
.site-footer-links a span,.site-footer-mail span,.site-footer-social span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.site-footer-nav-block .site-footer-links a{min-height:44px}
.site-footer-meta-block .site-footer-socials{margin-top:.1rem}
.site-footer-grid--balanced{align-items:stretch}
.site-footer-col{display:flex;flex-direction:column;justify-content:flex-start}
.site-footer-post-link.compact{padding:.62rem .76rem}
.site-footer-post-link.compact strong{max-width:68%}
.blog-more-wrap,.portfolio-more-wrap{display:block}
.section-head--left{max-width:760px;margin-inline:auto;text-align:center}
.about-section .section-head{margin-inline:auto;text-align:center}
.about-section .vision-glass{padding-top:2.25rem}
.about-section .section-subtitle{max-width:42rem;margin-inline:auto}
@media (max-width:1200px){.site-footer-links a,.site-footer-mail,.site-footer-social{font-size:.92rem}}


/* v12 footer/project toggle/header chip polish */
.nav-meta-chip--action{color:var(--c-text-2)!important;background:rgba(255,255,255,0.7)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,0.8)!important}
.nav-meta-chip--action:hover{color:var(--c-primary)!important;background:rgba(255,255,255,0.96)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,0.9)!important}
.site-footer-posts-list.compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.42rem .58rem}
.site-footer-post-link.compact{display:flex;align-items:center;gap:.45rem;padding:.52rem .62rem;border-radius:12px;min-width:0;background:rgba(253,251,247,.76)}
.site-footer-post-title,.site-footer-post-date{font-size:.73rem;font-weight:500;color:var(--c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25}
.site-footer-post-title{flex:1 1 auto;min-width:0}
.site-footer-post-date{flex:0 0 auto;color:var(--c-muted)}
.site-footer-post-link.compact strong{font-weight:500!important}
.site-footer-post-link.compact:hover{transform:translateY(-1px);background:rgba(255,255,255,.96)}
@media (max-width: 980px){.site-footer-posts-list.compact{grid-template-columns:1fr}}


/* v13 hero/footer/list/admin polish */
.hero-pill{background:linear-gradient(135deg, rgba(34,34,34,0.88), rgba(58,58,58,0.72))!important;border-color:rgba(134,134,134,0.24)!important;color:#f0f0f0!important;box-shadow:0 18px 34px rgba(17,17,17,0.18)!important}
.hero-pill--typed{padding:1rem 1.28rem!important;font-size:clamp(1rem,1.35vw,1.14rem)!important}
.hero-pill-text{display:inline-block;min-width:0!important;max-width:min(100%,34ch);white-space:normal;overflow-wrap:anywhere}
.hero-pill-cursor{background:#9ed0ad!important}
.hero-btn--primary,.hero-btn--secondary{background:rgba(255,255,255,0.72)!important;border:1px solid rgba(78,124,114,0.14)!important;color:var(--c-text)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,0.88),0 14px 24px rgba(42,33,24,0.06)!important}
.hero-btn--primary:hover,.hero-btn--secondary:hover{background:rgba(255,255,255,0.96)!important;color:var(--c-primary)!important;transform:translateY(-2px)}
.hero-btn--primary i,.hero-btn--secondary i{color:var(--c-primary)}
.site-footer-posts-list.compact{display:flex!important;flex-direction:column!important;gap:.5rem!important}
.site-footer-post-link.compact{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:.6rem!important;padding:.56rem .7rem!important;background:rgba(253,251,247,.76)!important}
.site-footer-post-title,.site-footer-post-date{font-size:.74rem!important;font-weight:500!important;color:var(--c-text-2)!important}
.site-footer-post-date{color:var(--c-muted)!important}
.site-footer-more-link{margin-top:.85rem!important}
.content-list-panel{padding:1.15rem;border-radius:24px;background:rgba(255,255,255,0.56);border:1px solid rgba(78,124,114,0.10);box-shadow:0 18px 36px rgba(42,33,24,0.06)}
.content-list-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.content-list-kicker{display:inline-flex;align-items:center;gap:.5rem;padding:.56rem .85rem;border-radius:999px;background:rgba(255,255,255,.78);border:1px solid rgba(78,124,114,.12);color:var(--c-primary);font-size:.8rem;font-weight:800}
.content-list-close{display:inline-flex;align-items:center;gap:.4rem;padding:.7rem 1rem;border-radius:999px;background:rgba(255,255,255,.78);border:1px solid rgba(78,124,114,.12);font-weight:700;color:var(--c-text-2)}
.content-list-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
.content-list-item{display:flex;align-items:center;gap:.85rem;width:100%;padding:.9rem 1rem;border-radius:18px;background:rgba(253,251,247,.86);border:1px solid rgba(78,124,114,.10);text-align:left;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.content-list-item:hover{transform:translateY(-1px);background:#fff;box-shadow:0 14px 24px rgba(42,33,24,.06)}
.content-list-index{flex:0 0 34px;width:34px;height:34px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(78,124,114,.10);color:var(--c-primary);font-size:.82rem;font-weight:800}
.content-list-main{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}
.content-list-title{font-size:.94rem;font-weight:700;color:var(--c-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.content-list-meta{font-size:.78rem;color:var(--c-muted);margin-top:.18rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width: 900px){.content-list-grid{grid-template-columns:1fr}}


/* Final v14 overrides */
.hero-pill--typed{margin-bottom:1.1rem;background:linear-gradient(135deg,rgba(31,34,39,.94),rgba(67,72,80,.9))!important;color:#edf1f5!important;border:1px solid rgba(255,255,255,.1)!important;box-shadow:0 18px 34px rgba(12,13,15,.18)!important}
.hero-pill--typed i,.hero-pill--typed .hero-pill-cursor{color:#d4d9df!important}
.hero-title{font-size:clamp(2.05rem,4.2vw,3.65rem)!important}
.hero-visual-meta{background:transparent!important;box-shadow:none!important;padding:.35rem 0 .1rem!important}
.hero-visual-counter{font-size:.95rem!important;letter-spacing:-.02em;color:var(--c-text)!important}
.hero-actions .hero-btn{min-width:210px}
.nav-meta-chip,.nav-meta-chip--action{background:rgba(255,255,255,.72)!important;border:1px solid rgba(78,124,114,.14)!important;color:var(--c-text-2)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.88),0 12px 24px rgba(42,33,24,.05)!important}
.nav-meta-chip:hover,.nav-meta-chip--action:hover{background:rgba(255,255,255,.96)!important;color:var(--c-primary)!important}
.section-subtitle{display:none!important}
.contact-field .hidden{display:none!important}
.site-footer-posts-list.compact{display:flex!important;flex-direction:column!important;gap:.42rem!important}
.site-footer-post-link.compact{display:flex!important;align-items:center!important;justify-content:flex-start!important;padding:.52rem .68rem!important;min-width:0!important;max-width:100%!important;background:rgba(253,251,247,.74)!important}
.site-footer-post-line{display:flex;align-items:center;min-width:0;max-width:100%;width:100%;gap:.18rem}
.site-footer-post-title,.site-footer-post-date{font-size:.74rem!important;font-weight:500!important;color:var(--c-text-2)!important;line-height:1.2!important}
.site-footer-post-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:calc(100% - 76px)}
.site-footer-post-date{flex:0 0 auto;color:var(--c-muted)!important;white-space:nowrap}
.site-footer-more-link{margin-top:.62rem!important}
.content-list-modal-body{padding:2.25rem 2rem 2rem!important}
.content-list-head--modal{margin-bottom:1rem!important}
.content-list-grid{display:grid;gap:.8rem}
.content-list-item{display:flex;align-items:center;gap:.9rem;width:100%;padding:1rem 1.05rem;border-radius:18px;background:rgba(253,251,247,.88);border:1px solid rgba(78,124,114,.08);text-align:left;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.content-list-item:hover{transform:translateY(-1px);background:#fff;border-color:rgba(78,124,114,.16)}
.content-list-index{flex:0 0 2rem;width:2rem;height:2rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(78,124,114,.1);color:var(--c-primary);font-size:.78rem;font-weight:700}
.content-list-main{display:flex;flex-direction:column;gap:.16rem;min-width:0;flex:1}
.content-list-title{font-size:.92rem;font-weight:700;color:var(--c-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.content-list-meta{font-size:.76rem;color:var(--c-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.portfolio-cat-tag{text-transform:none!important;letter-spacing:.01em!important;font-weight:700!important;font-size:.74rem!important}
@media (max-width:980px){.site-footer-post-title{max-width:calc(100% - 72px)}.content-list-modal-body{padding:1.7rem 1rem 1.2rem!important}}


/* v15 fixes */
.site-footer-post-link.compact{overflow:hidden!important}
.site-footer-post-line{display:flex!important;align-items:center!important;gap:.28rem!important;flex-wrap:nowrap!important;white-space:nowrap!important;overflow:hidden!important}
.site-footer-post-title{display:block!important;min-width:0!important;max-width:none!important;flex:1 1 auto!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-weight:500!important}
.site-footer-post-date{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;white-space:nowrap!important}
.content-list-modal-box{max-width:min(1120px,96vw)!important;width:min(1120px,96vw)!important;max-height:92vh!important}
.content-list-modal-body{padding:2rem 2rem 1.4rem!important}
.content-list-toolbar{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.content-list-search-wrap{display:flex;align-items:center;gap:.65rem;padding:.82rem 1rem;border-radius:999px;background:rgba(255,255,255,.84);border:1px solid rgba(78,124,114,.12);min-width:min(320px,100%)}
.content-list-search-wrap i{color:var(--c-primary)}
.content-list-search{border:0;background:transparent;outline:0;min-width:0;width:100%;font:inherit;color:var(--c-text)}
.content-list-empty{padding:1rem 0 .25rem;color:var(--c-muted);font-size:.92rem}
.content-list-pagination{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-top:1rem;flex-wrap:wrap}
.content-list-page-btn{display:inline-flex;align-items:center;gap:.45rem;padding:.8rem 1rem;border-radius:999px;background:rgba(255,255,255,.82);border:1px solid rgba(78,124,114,.12);font-weight:700;color:var(--c-text-2);transition:transform .18s ease,background .18s ease,opacity .18s ease}
.content-list-page-btn:hover:not(:disabled){transform:translateY(-1px);background:#fff}
.content-list-page-btn:disabled{opacity:.45;cursor:not-allowed}
.content-list-page-info{font-size:.84rem;font-weight:700;color:var(--c-muted)}
.hero-title-accent{font-family:'Manrope',sans-serif!important;font-weight:800!important;letter-spacing:-0.03em!important;line-height:1.02!important;color:var(--c-text)!important}
.hero-lead{font-family:'Manrope',sans-serif!important;font-size:clamp(1rem,1.4vw,1.12rem)!important;line-height:1.8!important;color:var(--c-text-2)!important}
@media (max-width: 900px){
  .content-list-modal-box{width:min(98vw,98vw)!important;max-width:min(98vw,98vw)!important}
  .content-list-head--modal{flex-direction:column;align-items:stretch!important}
  .content-list-search-wrap{min-width:0;width:100%}
}

.hero-title-accent{position:relative;display:inline-block;transition:transform .26s var(--e-spring),color .26s ease,text-shadow .26s ease}
.hero-title-accent::after{content:'';position:absolute;left:0;bottom:-.18em;width:100%;height:2px;border-radius:999px;background:linear-gradient(90deg,rgba(78,124,114,.45),rgba(142,107,126,.22),transparent);opacity:.7;transform-origin:left center;transition:opacity .26s ease,transform .26s var(--e-spring)}
.hero-copy:hover .hero-title-accent{transform:translateY(-1px);color:var(--c-primary)!important;text-shadow:0 10px 26px rgba(78,124,114,.10)}
.hero-copy:hover .hero-title-accent::after{opacity:1;transform:scaleX(1.02)}


/* v16 narrow fixes */
.x-social-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:1em;height:1em;font-size:1em;font-weight:900;line-height:1;letter-spacing:-.04em;font-family:serif}
.hero-social-chip .x-social-icon,.site-footer-social .x-social-icon{margin-right:.02rem}
.content-list-modal-box{width:min(1240px,97vw)!important;max-width:min(1240px,97vw)!important;max-height:94vh!important}
.pf-modal-overlay.is-suspended{opacity:0!important;pointer-events:none!important}
.pf-modal-overlay.is-suspended .pf-modal-box{transform:translateY(18px) scale(.985)!important}
.content-list-toolbar{align-items:center!important;justify-content:space-between!important}
.content-list-date-filters{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.content-list-clear-btn{display:inline-flex;align-items:center;justify-content:center;width:2.85rem;height:2.85rem;border-radius:999px;border:1px solid rgba(78,124,114,.12);background:rgba(255,255,255,.84);color:var(--c-text-2);transition:transform .18s ease,background .18s ease,border-color .18s ease;flex:0 0 auto}.content-list-clear-btn:hover{transform:translateY(-1px);background:#fff;border-color:rgba(78,124,114,.18)}
.content-list-filter{appearance:none;border:1px solid rgba(78,124,114,.12);background:rgba(255,255,255,.84);border-radius:999px;padding:.82rem 2.5rem .82rem 1rem;font:inherit;color:var(--c-text-2);outline:0;min-width:98px;background-image:linear-gradient(45deg,transparent 50%, var(--c-primary) 50%),linear-gradient(135deg, var(--c-primary) 50%, transparent 50%);background-position:calc(100% - 18px) calc(1.05rem),calc(100% - 12px) calc(1.05rem);background-size:6px 6px,6px 6px;background-repeat:no-repeat}
.content-list-page-numbers{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;justify-content:center}
.content-list-page-num{display:inline-flex;align-items:center;justify-content:center;min-width:2.2rem;height:2.2rem;padding:0 .65rem;border-radius:999px;border:1px solid rgba(78,124,114,.12);background:rgba(255,255,255,.82);font-size:.84rem;font-weight:700;color:var(--c-text-2);transition:transform .18s ease,background .18s ease,border-color .18s ease}
.content-list-page-num:hover{transform:translateY(-1px);background:#fff}
.content-list-page-num.is-active{background:var(--c-primary);border-color:var(--c-primary);color:#fff;box-shadow:0 10px 20px rgba(78,124,114,.16)}
.site-footer-post-link.compact{display:block;width:100%}
.site-footer-post-line{display:flex!important;align-items:center!important;gap:.28rem!important;flex-wrap:nowrap!important;white-space:nowrap!important;overflow:hidden!important}
.site-footer-post-title{display:block!important;min-width:0!important;max-width:none!important;flex:0 1 auto!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-weight:500!important}
.site-footer-post-date{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;white-space:nowrap!important}
@media (max-width: 980px){
  .content-list-toolbar{align-items:stretch!important}
  .content-list-date-filters{width:100%}
  .content-list-filter{flex:1 1 110px;min-width:0}
  .content-list-clear-btn{width:2.7rem;height:2.7rem}
}


/* ─── Section category filters ───────────────────────────── */
.content-section-filter{display:flex;justify-content:center;margin:-.6rem 0 1.35rem}
.content-section-filter-wrap{display:inline-flex;align-items:center;gap:.65rem;padding:.82rem 1rem;border-radius:999px;background:rgba(255,255,255,.82);border:1px solid rgba(78,124,114,.12);box-shadow:0 14px 28px rgba(42,33,24,.05);min-width:min(320px,100%)}
.content-section-filter-wrap i{color:var(--c-primary)}
.content-section-filter-select{appearance:none;border:0;background:transparent;outline:0;font:inherit;color:var(--c-text);min-width:0;width:100%;padding-right:1.4rem;background-image:linear-gradient(45deg,transparent 50%, var(--c-primary) 50%),linear-gradient(135deg, var(--c-primary) 50%, transparent 50%);background-position:calc(100% - 14px) calc(50% - 2px),calc(100% - 8px) calc(50% - 2px);background-size:6px 6px,6px 6px;background-repeat:no-repeat}

/* ─── Content list thumbnails ────────────────────────────── */
.content-list-thumb{flex:0 0 56px;width:56px;height:56px;border-radius:14px;overflow:hidden;background:rgba(78,124,114,.08);display:inline-flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px rgba(78,124,114,.08)}
.content-list-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.content-list-thumb-fallback{display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--c-primary);font-size:1rem}
.content-list-item > .fa-arrow-up-right-from-square{flex:0 0 auto;color:var(--c-muted)}

@media (max-width: 768px){
  .content-section-filter{margin:-.35rem 0 1rem;padding:0 .5rem}
  .content-section-filter-wrap{min-width:0;width:100%;box-sizing:border-box}
  .content-list-thumb{flex-basis:48px;width:48px;height:48px;border-radius:12px}
}

/* ===== MOBILE HERO + FOOTER CLEAN FIX ===== */
@media (max-width: 768px) {
    #home {
        min-height: auto !important;
        padding-top: 6.8rem !important;
        padding-bottom: 2.75rem !important;
    }

    #home .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.35rem !important;
    }

    #home .hero-copy {
        order: 1;
        width: 100%;
        max-width: none !important;
        text-align: left !important;
    }

    #home .hero-badge {
        margin: 0 0 .45rem 0 !important;
        font-size: .74rem !important;
        padding: .58rem .9rem !important;
    }

    #home .hero-title {
        font-size: clamp(2rem, 8.4vw, 2.85rem) !important;
        line-height: 1.08 !important;
        text-align: left !important;
        margin-bottom: .25rem !important;
    }

    #home .hero-desc {
        max-width: none !important;
        margin: 0 !important;
        text-align: left !important;
        font-size: 1rem !important;
        line-height: 1.72 !important;
    }

    #home .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: .8rem !important;
        padding-top: .4rem !important;
    }

    #home .hero-actions a {
        width: 100% !important;
        max-width: none !important;
        min-height: 54px !important;
        padding: .95rem 1.15rem !important;
        border-radius: 20px !important;
    }

    #home .hero-social {
        justify-content: flex-start !important;
        gap: .7rem !important;
        padding-top: .15rem !important;
        flex-wrap: wrap !important;
    }

    #home .hero-social a {
        width: 42px !important;
        height: 42px !important;
    }

    #home .hero-visual {
        order: 2;
        width: 100%;
        margin-top: .2rem !important;
        justify-content: center !important;
    }

    #home .hero-frame {
        width: min(320px, 88vw) !important;
        padding: 8px !important;
        border-radius: 28px !important;
        margin-inline: auto !important;
        transform: none !important;
    }

    #home .hero-slider-wrap {
        aspect-ratio: 1 / 1.08 !important;
        min-height: auto !important;
    }

    #home .hero-next-btn {
        width: 46px !important;
        height: 46px !important;
        right: -10px !important;
        bottom: -10px !important;
        font-size: .9rem !important;
    }

    footer.border-t {
        padding-top: 1.45rem !important;
        padding-bottom: 1.6rem !important;
    }

    footer.border-t .max-w-7xl {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: .55rem !important;
        text-align: center !important;
    }

    footer.border-t .text-2xl {
        font-size: 1.25rem !important;
        line-height: 1.22 !important;
    }

    footer.border-t .text-gray-500 {
        max-width: 28rem !important;
        font-size: .92rem !important;
        line-height: 1.65 !important;
        text-align: center !important;
    }
}

@media (max-width: 420px) {
    #home {
        padding-top: 5.55rem !important;
        padding-bottom: 2.35rem !important;
    }

    #home .hero-title {
        font-size: clamp(1.82rem, 8.3vw, 2.4rem) !important;
    }

    #home .hero-desc {
        font-size: .96rem !important;
    }

    #home .hero-frame {
        width: min(292px, 84vw) !important;
        border-radius: 24px !important;
    }

    footer.border-t .text-2xl {
        font-size: 1.14rem !important;
    }

    footer.border-t .text-gray-500 {
        font-size: .88rem !important;
    }
}
/* ─── Tailwind utility replacements (production, no CDN) ─── */
.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.block{display:block}.inline{display:inline}.hidden{display:none!important}
.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}
.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-x-16{column-gap:4rem}.gap-y-12{row-gap:3rem}
.space-y-1>*+*{margin-top:.25rem}.space-y-3>*+*{margin-top:.75rem}.space-y-4>*+*{margin-top:1rem}.space-y-5>*+*{margin-top:1.25rem}
.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}
.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.sticky{position:sticky}.top-0{top:0}.top-4{top:1rem}.top-6{top:1.5rem}.bottom-0{bottom:0}.left-0{left:0}.left-4{left:1rem}.left-6{left:1.5rem}.right-0{right:0}
.z-10{z-index:10}.z-30{z-index:30}.z-50{z-index:50}.z-\[1\]{z-index:1}
.w-5{width:1.25rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-56{width:14rem}.w-64{width:16rem}.w-full{width:100%}.min-w-\[20px\]{min-width:20px}
.h-5{height:1.25rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-52{height:13rem}.h-56{height:14rem}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.min-h-screen{min-height:100vh}
.max-w-sm{max-width:24rem}.max-w-lg{max-width:32rem}.max-w-4xl{max-width:56rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-none{max-width:none}
.p-0{padding:0}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}
.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}
.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-24{padding-top:6rem;padding-bottom:6rem}
.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-8{padding-top:2rem}.pt-28{padding-top:7rem}.pb-2{padding-bottom:.5rem}.pb-14{padding-bottom:3.5rem}
.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.mt-12{margin-top:3rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.ml-1{margin-left:.25rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}
.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[11px\]{font-size:11px}.text-center{text-align:center}.text-left{text-align:left}
.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}
.text-white{color:#fff}.text-white\/90{color:rgba(255,255,255,.9)}.text-gray-400{color:#9ca3af}.text-gray-500{color:#6b7280}.text-gray-600{color:#4b5563}.text-gray-700{color:#374151}.text-gray-900{color:#111827}.text-blue-600{color:#2563eb}.text-red-600{color:#dc2626}.text-green-500{color:#22c55e}.text-green-600{color:#16a34a}
.bg-white{background-color:#fff}.bg-white\/40{background-color:rgba(255,255,255,.4)}.bg-white\/60{background-color:rgba(255,255,255,.6)}.bg-white\/80{background-color:rgba(255,255,255,.8)}.bg-gray-50{background-color:#f9fafb}.bg-gray-100{background-color:#f3f4f6}.bg-blue-100{background-color:#dbeafe}.bg-red-500{background-color:#ef4444}
.border{border-width:1px;border-style:solid}.border-0{border-width:0}.border-t{border-top-width:1px;border-top-style:solid}.border-b{border-bottom-width:1px;border-bottom-style:solid}.border-gray-100{border-color:#f3f4f6}.border-gray-200{border-color:#e5e7eb}.border-white\/60{border-color:rgba(255,255,255,.6)}
.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-\[28px\]{border-radius:28px}.rounded-\[30px\]{border-radius:30px}.rounded-\[32px\]{border-radius:32px}
.shadow-sm{box-shadow:0 1px 2px rgba(0,0,0,.05)}.shadow-md{box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1)}.shadow-lg{box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)}.shadow-xl{box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1)}
.opacity-0{opacity:0}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.cursor-pointer{cursor:pointer}.select-none{user-select:none}
.transition-all{transition:all .15s cubic-bezier(.4,0,.2,1)}.transition-colors{transition:color .15s,background-color .15s,border-color .15s}.transition-opacity{transition:opacity .15s}.transition-transform{transition:transform .15s cubic-bezier(.4,0,.2,1)}
@media(min-width:640px){.sm\:flex-row{flex-direction:row}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:h-60{height:15rem}.sm\:p-8{padding:2rem}.sm\:p-10{padding:2.5rem}.sm\:px-5{padding-left:1.25rem;padding-right:1.25rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}}
@media(min-width:768px){.md\:flex{display:flex!important}.md\:hidden{display:none!important}.md\:inline{display:inline!important}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:gap-8{gap:2rem}.md\:mb-12{margin-bottom:3rem}.md\:mr-2{margin-right:.5rem}.md\:p-12{padding:3rem}.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:py-14{padding-top:3.5rem;padding-bottom:3.5rem}.md\:py-24{padding-top:6rem;padding-bottom:6rem}.md\:py-28{padding-top:7rem;padding-bottom:7rem}.md\:rounded-\[40px\]{border-radius:40px}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-sm{font-size:.875rem;line-height:1.25rem}}
@media(min-width:1024px){.lg\:flex{display:flex!important}.lg\:hidden{display:none!important}.lg\:gap-16{gap:4rem}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-\[minmax\(0\,1\.04fr\)_minmax\(360px\,0\.96fr\)\]{grid-template-columns:minmax(0,1.04fr) minmax(360px,0.96fr)}.lg\:items-start{align-items:flex-start}.lg\:justify-end{justify-content:flex-end}.lg\:justify-start{justify-content:flex-start}}
@media(min-width:1536px){.2xl\:inline{display:inline!important}}

/* ─── Eksik Tailwind utility'leri ─── */
.fixed{position:fixed}.inset-0{top:0;right:0;bottom:0;left:0}.w-full{width:100%}.top-0{top:0}.left-0{left:0}.right-0{right:0}.bottom-0{bottom:0}
.z-10{z-index:10}.z-30{z-index:30}.z-50{z-index:50}.z-\[1\]{z-index:1}
.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}
.object-cover{object-fit:cover}.object-contain{object-fit:contain}
.list-none{list-style:none}.uppercase{text-transform:uppercase}.leading-relaxed{line-height:1.625}.tracking-wide{letter-spacing:.025em}
.pointer-events-none{pointer-events:none}.shrink-0{flex-shrink:0}
.outline-none{outline:none}.resize-none{resize:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}


/* Final v15 admin + hero + modal polish */
.admin-body{background:linear-gradient(180deg,#f7f4ef 0%,#f3efe8 100%)}
.admin-body main{background:transparent}
.admin-body .admin-sidebar{padding:1rem .8rem 1rem 1rem;box-shadow:inset -1px 0 0 rgba(78,124,114,.06),18px 0 34px rgba(42,33,24,.04)}
.admin-body .admin-sidebar ul.space-y-1{display:flex;flex-direction:column;gap:.32rem}
.admin-body .admin-sidebar a{min-height:50px;padding:0.9rem 1rem!important;border-radius:18px!important;border:1px solid transparent!important;color:#4f4a42!important;background:linear-gradient(180deg,rgba(255,255,255,.38),rgba(255,255,255,.14))!important;box-shadow:none;transition:background .22s ease,color .22s ease,transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.admin-body .admin-sidebar a i{width:1.1rem;text-align:center;opacity:.82;transition:transform .22s ease,opacity .22s ease,color .22s ease}
.admin-body .admin-sidebar a:hover{background:linear-gradient(135deg,rgba(78,124,114,.16),rgba(142,107,126,.12))!important;border-color:rgba(78,124,114,.16)!important;color:var(--c-primary)!important;box-shadow:0 14px 26px rgba(78,124,114,.12);transform:translateX(4px)!important}
.admin-body .admin-sidebar a:hover i{opacity:1;transform:scale(1.05);color:var(--c-primary)!important}
.admin-body .admin-sidebar a.bg-blue-50,
.admin-body .admin-sidebar a.text-blue-600{background:linear-gradient(135deg,rgba(78,124,114,.18),rgba(142,107,126,.13))!important;border-color:rgba(78,124,114,.16)!important;color:var(--c-primary)!important;box-shadow:0 18px 30px rgba(78,124,114,.14)}
.admin-body .admin-sidebar a.bg-blue-50 i,
.admin-body .admin-sidebar a.text-blue-600 i{opacity:1;color:var(--c-primary)!important}
.admin-body .admin-sidebar .text-gray-400{padding:.7rem 1rem .35rem!important;letter-spacing:.14em!important}
.admin-body main > .border-b{border-bottom:1px solid rgba(78,124,114,.08)!important;background:rgba(255,255,255,.82)!important;backdrop-filter:blur(14px);box-shadow:0 10px 28px rgba(42,33,24,.04)}
.admin-body .p-4.md\:p-8.space-y-6{gap:1.35rem!important}
.admin-body .admin-card{border-radius:26px!important;padding:1.45rem 1.5rem!important;border:1px solid rgba(78,124,114,.08)!important;box-shadow:0 16px 34px rgba(42,33,24,.05), inset 0 1px 0 rgba(255,255,255,.82)!important;overflow:hidden}
.admin-body .admin-card:hover{transform:translateY(-2px);box-shadow:0 22px 44px rgba(78,124,114,.10), inset 0 1px 0 rgba(255,255,255,.84)!important}
.admin-body .admin-card h2,.admin-body .admin-card h3{letter-spacing:-.02em}
.admin-body .space-y-5 > * + *{margin-top:1.2rem!important}
.admin-body .grid.gap-4{gap:1.05rem!important}
.admin-body .form-label{margin-bottom:.58rem;font-size:.83rem;text-transform:uppercase;letter-spacing:.04em;color:#6b6258}
.admin-body .form-input,.admin-body .form-select,.admin-body .form-textarea{border-radius:16px;border-color:rgba(78,124,114,.12);background:linear-gradient(180deg,#fffdf9,#fbf8f2);box-shadow:inset 0 1px 1px rgba(255,255,255,.85)}
.admin-body .form-input:hover,.admin-body .form-select:hover,.admin-body .form-textarea:hover{border-color:rgba(78,124,114,.22)}
.admin-body .form-textarea{line-height:1.65}
.admin-body details{border-radius:20px!important;overflow:hidden}
.admin-body summary{list-style:none}
.admin-body .file-upload-area{border-radius:22px;padding:1.45rem;background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(237,232,223,.45));border-color:rgba(78,124,114,.16)}
.admin-body .file-upload-area:hover,.admin-body .file-upload-area.drag-over{box-shadow:0 16px 28px rgba(78,124,114,.08)}
.admin-media-preview{max-width:100%;width:auto!important;min-width:140px;border:1px solid rgba(78,124,114,.10);box-shadow:0 10px 22px rgba(42,33,24,.08);background:#fff;padding:.28rem;border-radius:18px!important}
.admin-gallery-item{border:1px solid rgba(78,124,114,.09);box-shadow:0 8px 20px rgba(42,33,24,.05)}
.admin-body .data-table{border-collapse:separate;border-spacing:0 10px}
.admin-body .data-table thead{background:transparent}
.admin-body .data-table th{padding:.95rem 1rem;border-bottom:none;color:#7b7369}
.admin-body .data-table td{padding:1rem;vertical-align:middle;border-bottom:none;background:rgba(255,255,255,.78)}
.admin-body .data-table tbody tr{box-shadow:0 12px 24px rgba(42,33,24,.04);border-radius:18px}
.admin-body .data-table tbody tr:hover{background:transparent}
.admin-body .data-table tbody tr:hover td{background:#fff7ef}
.admin-body .data-table tbody tr td:first-child{border-top-left-radius:18px;border-bottom-left-radius:18px}
.admin-body .data-table tbody tr td:last-child{border-top-right-radius:18px;border-bottom-right-radius:18px}
.admin-list-cover{width:72px!important;height:48px!important;border-radius:14px!important;border:1px solid rgba(78,124,114,.1);box-shadow:0 8px 18px rgba(42,33,24,.06)}
.admin-list-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.45;max-width:28ch}
.admin-list-chip{display:inline-flex;align-items:center;max-width:100%;padding:.42rem .72rem;border-radius:999px;background:rgba(78,124,114,.10);color:var(--c-primary);font-size:.78rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-list-actions{flex-wrap:wrap}
.admin-list-actions a{min-width:38px;justify-content:center;transition:transform .18s ease,box-shadow .18s ease}
.admin-list-actions a:hover{transform:translateY(-1px);box-shadow:0 10px 18px rgba(42,33,24,.08)}
.admin-body .badge{padding:.38rem .8rem;border-radius:999px;font-size:.7rem;box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
.admin-body .alert{border-radius:20px;box-shadow:0 10px 22px rgba(42,33,24,.05)}

.hero-metrics{gap:1rem!important}
.hero-metric-card{position:relative;min-width:154px;padding:1rem 1.05rem 1rem 1.15rem!important;border-radius:24px!important;background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(255,255,255,.66))!important;border:1px solid rgba(78,124,114,.14)!important;box-shadow:0 18px 32px rgba(42,33,24,.08)!important;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.hero-metric-card::before{content:'';position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,var(--c-primary),rgba(142,107,126,.9));opacity:.92}
.hero-metric-card:hover{transform:translateY(-3px);box-shadow:0 22px 38px rgba(78,124,114,.12)!important;border-color:rgba(78,124,114,.22)!important}
.hero-metric-card strong{font-size:1.35rem!important;letter-spacing:-.03em}
.hero-metric-card span{text-transform:uppercase;letter-spacing:.06em;font-size:.7rem!important;font-weight:800;color:#7a746d!important}
.hero-actions .hero-btn{text-decoration:none!important;position:relative;overflow:hidden}
.hero-btn--primary,.hero-btn--secondary{border-radius:22px!important;min-height:60px!important;font-weight:800!important;letter-spacing:.01em;text-decoration:none!important}
.hero-btn--primary::before,.hero-btn--secondary::before{content:'';position:absolute;inset:0;background:linear-gradient(120deg,transparent,rgba(255,255,255,.46),transparent);transform:translateX(-130%);transition:transform .55s ease}
.hero-btn--primary:hover::before,.hero-btn--secondary:hover::before{transform:translateX(130%)}
.hero-btn--primary:hover,.hero-btn--secondary:hover{text-decoration:none!important;box-shadow:0 20px 34px rgba(78,124,114,.12)!important}

.pf-modal-box{border:1px solid rgba(78,124,114,.10);overflow-x:hidden}
.pf-modal-body{padding:2rem 2rem 2.2rem!important}
.modal-hero-wrap,.modal-media-hero{border-bottom:1px solid rgba(78,124,114,.08);background:linear-gradient(180deg,rgba(253,251,247,.96),rgba(244,239,230,.9))}
.modal-hero-wrap img,.modal-media-hero img,img.modal-hero{max-height:min(52vh,460px)!important;object-fit:cover!important}
.blog-modal-copy{font-size:1rem;line-height:1.88;color:#574f46}
.blog-modal-copy > * + *{margin-top:1rem}
.blog-modal-copy img{display:block;max-width:min(100%,560px)!important;width:auto!important;height:auto!important;max-height:320px!important;object-fit:contain;border-radius:18px;border:1px solid rgba(78,124,114,.1);box-shadow:0 16px 28px rgba(42,33,24,.08);margin:1rem auto!important;background:#fff;padding:.28rem}
.blog-modal-copy figure{margin:1.15rem auto!important;text-align:center}
.blog-modal-copy figure img{margin-bottom:.45rem!important}
.blog-modal-copy iframe,.blog-modal-copy video{width:100%!important;max-width:100%;border-radius:20px;overflow:hidden;box-shadow:0 14px 26px rgba(42,33,24,.08)}
.blog-author-box{padding:1rem 1.1rem;border-radius:22px;background:linear-gradient(180deg,rgba(78,124,114,.08),rgba(142,107,126,.05));border:1px solid rgba(78,124,114,.09)}
.blog-author-avatar{width:52px!important;height:52px!important;font-size:1rem!important;border:2px solid rgba(255,255,255,.72);box-shadow:0 10px 20px rgba(78,124,114,.18)}
.blog-author-meta{min-width:0}
.blog-author-meta > div:first-child{font-size:.98rem!important;line-height:1.3}
.blog-author-meta > div:last-child{margin-top:.15rem}
.pf-project-modal-body{position:relative}
#project-modal .pf-modal-box{max-width:920px}
#project-modal .pf-project-modal-lead{max-width:100%}
#project-modal .pf-project-modal-title{max-width:100%}
.pf-project-modal-title{line-height:1.14;max-width:18ch}
.pf-project-modal-lead{font-size:1rem;line-height:1.82;max-width:62ch}
.pf-project-tech-list{gap:.55rem!important}
.pf-project-tech{border:1px solid rgba(78,124,114,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
.pf-project-meta-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;gap:.8rem!important}
.pf-project-meta-card{padding:1rem!important;border:1px solid rgba(78,124,114,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.72)}
.pf-project-actions a{text-decoration:none!important;border-radius:16px!important;box-shadow:0 14px 26px rgba(42,33,24,.06)}
.pf-project-actions a:hover{text-decoration:none!important;transform:translateY(-1px)}
.content-list-item{min-height:88px;align-items:center}
.content-list-title{white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.42;max-height:2.84em}
.content-list-meta{white-space:normal!important;display:block;line-height:1.5}

@media (max-width: 768px){
  .admin-body .admin-card{padding:1.1rem 1rem!important;border-radius:22px!important}
  .admin-body .data-table{border-spacing:0 8px}
  .admin-list-title{max-width:20ch}
  .hero-metric-card{min-width:calc(50% - .5rem)}
  .hero-actions .hero-btn{min-width:100%!important}
  .pf-modal-body{padding:1.25rem 1rem 1.5rem!important}
  .blog-author-box{align-items:center}
  .blog-author-avatar{width:48px!important;height:48px!important}
  .blog-modal-copy img{max-height:240px!important}
}

/* ===== v17 fine spacing + hero/contact/blog modal adjustments ===== */
#home.hero-section{
    padding-top:5.35rem!important;
}
@media (max-width:1023px){
    #home.hero-section{
        padding-top:5rem!important;
    }
}

.hero-frame--premium{
    position:relative;
}
.hero-next-btn{
    width:48px!important;
    height:48px!important;
    right:12px!important;
    bottom:12px!important;
    border-radius:16px!important;
    font-size:.9rem!important;
    box-shadow:0 10px 24px rgba(78,124,114,.26),0 4px 10px rgba(0,0,0,.08)!important;
}
.hero-next-btn:hover{
    transform:translateY(-2px) scale(1.05)!important;
}
@media (max-width:767px){
    .hero-next-btn{
        width:42px!important;
        height:42px!important;
        right:10px!important;
        bottom:10px!important;
        border-radius:14px!important;
        font-size:.82rem!important;
    }
}

#contact .vision-glass::before,
#contact .vision-glass > .absolute{
    display:none!important;
}
#contact .vision-glass{
    background:rgba(253,251,247,.86)!important;
}

.modal-media-hero,
.modal-hero-wrap{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    padding:1rem!important;
    min-height:clamp(260px,46vh,500px)!important;
    aspect-ratio:auto!important;
    text-align:center!important;
}
.modal-media-hero img,
.modal-hero-wrap img,
img.modal-hero{
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:min(62vh,540px)!important;
    object-fit:contain!important;
    object-position:center center!important;
    margin:0 auto!important;
    display:block!important;
    background:transparent!important;
}
@media (max-width:767px){
    .modal-media-hero,
    .modal-hero-wrap{
        padding:.65rem!important;
        min-height:220px!important;
    }
    .modal-media-hero img,
    .modal-hero-wrap img,
    img.modal-hero{
        max-height:min(48vh,320px)!important;
    }
}

/* ===== v18 section category dropdown polish ===== */
.content-section-filter{
    margin:-.25rem 0 1.5rem!important;
}
.content-section-filter-wrap{
    position:relative;
    display:inline-flex!important;
    align-items:center!important;
    gap:.78rem!important;
    min-width:min(360px,100%)!important;
    padding:.92rem 1.12rem!important;
    border-radius:20px!important;
    background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(249,246,240,.92))!important;
    border:1px solid rgba(78,124,114,.14)!important;
    box-shadow:0 14px 30px rgba(42,33,24,.06), inset 0 1px 0 rgba(255,255,255,.92)!important;
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease!important;
}
.content-section-filter-wrap:hover{
    transform:translateY(-1px)!important;
    border-color:rgba(78,124,114,.24)!important;
    box-shadow:0 18px 34px rgba(42,33,24,.08), inset 0 1px 0 rgba(255,255,255,.94)!important;
}
.content-section-filter-wrap i{
    width:38px;
    height:38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    color:var(--c-primary)!important;
    background:linear-gradient(180deg,rgba(78,124,114,.10),rgba(78,124,114,.05));
    box-shadow:inset 0 0 0 1px rgba(78,124,114,.08);
    flex:0 0 auto;
}
.content-section-filter-select{
    cursor:pointer!important;
    font-weight:700!important;
    color:var(--c-text)!important;
    padding:.1rem 2rem .1rem 0!important;
    background-image:linear-gradient(45deg,transparent 50%, var(--c-primary) 50%),linear-gradient(135deg, var(--c-primary) 50%, transparent 50%)!important;
    background-position:calc(100% - 18px) calc(50% - 2px),calc(100% - 11px) calc(50% - 2px)!important;
    background-size:7px 7px,7px 7px!important;
    transition:color .22s ease!important;
}
.content-section-filter-wrap:hover .content-section-filter-select,
.content-section-filter-select:focus{
    color:var(--c-primary)!important;
}
.content-section-filter-select option{
    color:#40372f;
    background:#fffdfa;
}
@media (max-width:767px){
    .content-section-filter{margin:-.1rem 0 1rem!important}
    .content-section-filter-wrap{
        width:100%!important;
        min-width:0!important;
        padding:.82rem .92rem!important;
        border-radius:18px!important;
    }
    .content-section-filter-wrap i{
        width:34px;height:34px;border-radius:10px;
    }
}


/* ===== v19 admin spacing + preview sizing fixes ===== */
.admin-body main > div:not(.border-b){
    display:flex;
    flex-direction:column;
    gap:1.5rem;
    padding:1.4rem 1rem 1.8rem!important;
}
@media (min-width:768px){
    .admin-body main > div:not(.border-b){
        gap:1.65rem;
        padding:1.7rem 1.75rem 2rem!important;
    }
}
.admin-body main .grid[class*="grid-cols"]{
    gap:1.25rem!important;
    align-items:start;
}
.admin-body main .admin-card{
    margin:0!important;
}
.admin-body main .admin-card > * + *{
    margin-top:.95rem;
}
.admin-body main .overflow-x-auto{
    padding-bottom:.2rem;
}
.admin-body .stat-card,
.admin-body .admin-card .bg-gray-50,
.admin-body .admin-card [style*="background:var(--c-bg2)"]{
    border-radius:20px!important;
}
.admin-body form.space-y-6 > * + *,
.admin-body form.space-y-5 > * + *,
.admin-body .space-y-6 > * + *,
.admin-body .space-y-5 > * + *,
.admin-body .space-y-4 > * + *{
    margin-top:1rem!important;
}
.admin-body .admin-media-preview{
    width:min(100%,240px)!important;
    max-width:240px!important;
    min-width:0!important;
    height:auto!important;
    max-height:160px!important;
    object-fit:cover!important;
    object-position:center center!important;
}
.admin-body #thumb-preview,
.admin-body #detail-preview,
.admin-body #featured-preview{
    width:min(100%,240px)!important;
    max-width:240px!important;
    height:150px!important;
    max-height:150px!important;
}
.admin-body #profile-preview{
    width:128px!important;
    max-width:128px!important;
    height:128px!important;
    max-height:128px!important;
}
.admin-body #logo-preview{
    max-width:200px!important;
    max-height:84px!important;
    width:auto!important;
    height:auto!important;
}
.admin-body #favicon-preview{
    width:40px!important;
    height:40px!important;
    max-width:40px!important;
    max-height:40px!important;
}
.admin-body #gallery-grid,
.admin-body #saved-gallery,
.admin-body #gal-queue{
    gap:.8rem!important;
    justify-content:flex-start!important;
}
.admin-body #gallery-grid{
    grid-template-columns:repeat(auto-fit,minmax(108px,136px))!important;
}
.admin-body #saved-gallery,
.admin-body #gal-queue{
    grid-template-columns:repeat(auto-fit,minmax(92px,118px))!important;
}
.admin-body #gallery-grid .gallery-item,
.admin-body #saved-gallery .admin-gallery-item,
.admin-body #gal-queue > div{
    width:100%!important;
    max-width:136px!important;
    margin:0!important;
}
.admin-body .file-upload-area + #gallery-grid,
.admin-body .file-upload-area + #gal-queue{
    margin-top:.4rem!important;
}
@media (max-width:767px){
    .admin-body main > div:not(.border-b){
        gap:1.2rem;
        padding:1rem .9rem 1.4rem!important;
    }
    .admin-body main .grid[class*="grid-cols"]{
        gap:1rem!important;
    }
    .admin-body .admin-media-preview,
    .admin-body #thumb-preview,
    .admin-body #detail-preview,
    .admin-body #featured-preview{
        max-width:100%!important;
        width:100%!important;
        height:auto!important;
        max-height:220px!important;
    }
}

/* ===== v19 category select icons + lively action buttons ===== */
.content-section-filter-wrap{
    overflow:hidden;
}
.content-section-filter-wrap::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(120deg,rgba(255,255,255,0) 15%,rgba(255,255,255,.42) 50%,rgba(255,255,255,0) 85%);
    transform:translateX(-130%);
    transition:transform .75s ease;
    pointer-events:none;
}
.content-section-filter-wrap:hover::after{
    transform:translateX(120%);
}
.content-section-filter-select{
    letter-spacing:.01em!important;
    font-size:.96rem!important;
    line-height:1.2!important;
}
.content-section-filter-select option{
    font-weight:700;
    padding:.65rem .8rem;
}

.content-action-btn{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    min-height:58px!important;
    padding:.95rem 1.35rem!important;
    border-radius:18px!important;
    border:1px solid rgba(78,124,114,.16)!important;
    box-shadow:0 14px 30px rgba(42,33,24,.08), inset 0 1px 0 rgba(255,255,255,.85)!important;
    font-weight:800!important;
    letter-spacing:.01em;
    text-decoration:none!important;
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, filter .22s ease!important;
}
.content-action-btn > i:first-child{
    width:34px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:rgba(255,255,255,.26);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.38), 0 4px 10px rgba(0,0,0,.05);
    font-size:.92rem;
    flex:0 0 auto;
}
.content-action-btn span{
    position:relative;
    z-index:2;
}
.content-action-btn::before,
.content-action-btn::after{
    content:'';
    position:absolute;
    inset:0;
    pointer-events:none;
    border-radius:inherit;
}
.content-action-btn::before{
    background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,.52) 48%,transparent 76%);
    transform:translateX(-135%);
    z-index:1;
}
.content-action-btn::after{
    inset:auto -18% -55% auto;
    width:140px;
    height:140px;
    border-radius:999px;
    background:radial-gradient(circle,rgba(255,255,255,.28),rgba(255,255,255,0) 68%);
    z-index:0;
}
.content-action-btn:hover,
.content-action-btn.is-auto-hover{
    transform:translateY(-3px) scale(1.01)!important;
    filter:saturate(1.04);
}
.content-action-btn:hover::before,
.content-action-btn.is-auto-hover::before{
    transform:translateX(135%);
    transition:transform .85s ease;
}
.content-action-btn--primary{
    color:#fff!important;
    background:linear-gradient(135deg,#4e7c72 0%, #5e9185 52%, #7aa69e 100%)!important;
    border-color:rgba(78,124,114,.36)!important;
    box-shadow:0 18px 36px rgba(78,124,114,.22), inset 0 1px 0 rgba(255,255,255,.18)!important;
}
.content-action-btn--ghost{
    color:var(--c-text)!important;
    background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(247,243,236,.92))!important;
}
.content-action-btn--ghost > i:first-child{
    color:var(--c-primary);
    background:linear-gradient(180deg,rgba(78,124,114,.14),rgba(78,124,114,.08));
}
.content-action-btn--primary > i:first-child{
    color:#fff;
    background:rgba(255,255,255,.14);
}
.blog-more-wrap .content-action-btn,
.portfolio-more-wrap .content-action-btn{
    animation:contentActionPulse 7.2s ease-in-out infinite;
}
.blog-more-wrap .content-action-btn:nth-child(2),
.portfolio-more-wrap .content-action-btn:nth-child(2){
    animation-delay:2.4s;
}
@keyframes contentActionPulse{
    0%, 78%, 100%{
        transform:translateY(0) scale(1);
        box-shadow:0 14px 30px rgba(42,33,24,.08), inset 0 1px 0 rgba(255,255,255,.85);
    }
    82%{
        transform:translateY(-3px) scale(1.01);
        box-shadow:0 22px 38px rgba(78,124,114,.18), inset 0 1px 0 rgba(255,255,255,.92);
    }
    86%{
        transform:translateY(-1px) scale(1.005);
        box-shadow:0 18px 34px rgba(78,124,114,.14), inset 0 1px 0 rgba(255,255,255,.9);
    }
}
@media (prefers-reduced-motion: reduce){
    .blog-more-wrap .content-action-btn,
    .portfolio-more-wrap .content-action-btn{
        animation:none!important;
    }
    .content-action-btn::before,
    .content-section-filter-wrap::after{
        transition:none!important;
    }
}
@media (max-width:767px){
    .content-action-btn{
        width:100%;
        justify-content:center;
        min-height:54px!important;
        padding:.9rem 1.05rem!important;
        border-radius:16px!important;
    }
    .content-action-btn > i:first-child{
        width:31px;
        height:31px;
        border-radius:10px;
    }
}


/* ─── Readability Refresh ───────────────────────────────── */
html { font-size: 17px; }
body:not(.admin-body) {
    font-size: 1.02rem;
    line-height: 1.74;
    letter-spacing: -0.006em;
}
body:not(.admin-body) p,
body:not(.admin-body) li,
body:not(.admin-body) .section-text,
body:not(.admin-body) .about-description,
body:not(.admin-body) .blog-card-excerpt,
body:not(.admin-body) .pf-card-desc,
body:not(.admin-body) .contact-text,
body:not(.admin-body) .hero-lead {
    font-size: 1.03rem !important;
    line-height: 1.82 !important;
}
body:not(.admin-body) .nav-link,
body:not(.admin-body) .mobile-nav-link,
body:not(.admin-body) .filter-chip,
body:not(.admin-body) .content-section-filter-select,
body:not(.admin-body) button,
body:not(.admin-body) .btn-primary,
body:not(.admin-body) .btn-secondary {
    font-size: .98rem !important;
    font-weight: 700 !important;
}
body:not(.admin-body) .section-kicker,
body:not(.admin-body) .eyebrow,
body:not(.admin-body) .section-subtitle {
    font-size: .82rem !important;
    letter-spacing: .16em !important;
    font-weight: 800 !important;
}
body:not(.admin-body) .section-title,
body:not(.admin-body) .about-title,
body:not(.admin-body) .skills-title,
body:not(.admin-body) .portfolio-title,
body:not(.admin-body) .blog-title,
body:not(.admin-body) .contact-title {
    font-size: clamp(1.9rem, 3vw, 2.7rem) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.03em !important;
}
body:not(.admin-body) .hero-title,
body:not(.admin-body) .hero-title-accent {
    letter-spacing: -0.042em !important;
}
body:not(.admin-body) .hero-lead {
    font-size: clamp(1.08rem, 1.5vw, 1.18rem) !important;
}
body:not(.admin-body) .blog-card-title,
body:not(.admin-body) .pf-card-title,
body:not(.admin-body) .timeline-title,
body:not(.admin-body) .skill-card-title {
    font-size: 1.12rem !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
}
@media (max-width: 768px) {
    html { font-size: 16px; }
    body:not(.admin-body) { font-size: 1rem; }
    body:not(.admin-body) p,
    body:not(.admin-body) li,
    body:not(.admin-body) .section-text,
    body:not(.admin-body) .about-description,
    body:not(.admin-body) .blog-card-excerpt,
    body:not(.admin-body) .pf-card-desc,
    body:not(.admin-body) .contact-text,
    body:not(.admin-body) .hero-lead {
        font-size: 1rem !important;
        line-height: 1.74 !important;
    }
}


/* ===== v20 requested sidebar polish + hero up + filter consistency ===== */
.content-section-filter{
    position:relative;
    z-index:14;
    display:flex;
    justify-content:center;
    overflow:visible!important;
}
.content-section-filter-wrap{
    position:relative;
    z-index:15;
    width:min(100%, 390px)!important;
    min-width:min(390px,100%)!important;
    justify-content:center!important;
    text-align:center!important;
}
.content-section-filter-wrap i{
    flex:0 0 40px;
}
.content-section-filter-select{
    text-align:center!important;
    text-align-last:center!important;
    font-size:1rem!important;
    font-weight:800!important;
    min-height:44px!important;
}
.content-section-filter-select option{
    font-size:1rem!important;
    font-weight:700!important;
}
@media (max-width:767px){
    .content-section-filter-wrap{
        width:100%!important;
        min-width:0!important;
    }
}

/* admin sidebar helper styling */
.admin-body .admin-sidebar .admin-nav-section{
    padding: .15rem 0 .45rem;
}
.admin-body .admin-sidebar .admin-nav-section + .admin-nav-section{
    margin-top:.5rem;
    padding-top:.95rem;
    border-top:1px solid rgba(78,124,114,.08);
}
.admin-body .admin-sidebar .admin-nav-kicker{
    display:block;
    padding:.1rem 1rem .45rem;
    font-size:.7rem;
    line-height:1.2;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:rgba(92,79,66,.45);
    font-weight:800;
}
.admin-body .admin-sidebar .admin-nav-note{
    display:block;
    padding:.42rem 1rem 0;
    font-size:.78rem;
    line-height:1.45;
    color:rgba(92,79,66,.62);
}
.admin-body .admin-sidebar .admin-nav-note strong{
    color:rgba(92,79,66,.82);
    font-weight:800;
}


/* ===== v21 targeted hero/admin/dashboard/dropdown fixes ===== */
#home.hero-section{
    padding-top:6.05rem!important;
    padding-bottom:3.6rem!important;
}
@media (max-width:1023px){
    #home.hero-section{
        padding-top:5.45rem!important;
        padding-bottom:3rem!important;
    }
}
body:not(.admin-body) #portfolio,
body:not(.admin-body) #blog,
body:not(.admin-body) #portfolio .max-w-7xl,
body:not(.admin-body) #blog .max-w-7xl{
    overflow:visible!important;
}
body:not(.admin-body) .content-section-filter{
    z-index:70!important;
    overflow:visible!important;
}
body:not(.admin-body) .content-section-filter-wrap{
    z-index:71!important;
    overflow:visible!important;
}
body:not(.admin-body) .content-section-filter-select{
    position:relative;
    z-index:72!important;
    font-size:1rem!important;
}
body.admin-body .admin-sidebar .admin-nav-note{
    display:none!important;
}
body.admin-body .data-table tr[id^="comment-"]:target{
    background:rgba(78,124,114,.09)!important;
    box-shadow:inset 3px 0 0 rgba(78,124,114,.7);
}
.admin-dashboard-modal{
    position:fixed;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    padding:1.25rem;
    background:rgba(15,23,42,.46);
    backdrop-filter:blur(6px);
    z-index:1200;
}
.admin-dashboard-modal[hidden]{display:none!important;}
.admin-dashboard-modal.is-open{display:flex!important;}
.admin-dashboard-modal__dialog{
    width:min(980px,100%);
    max-height:min(86vh,920px);
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border-radius:26px;
    background:#fff;
    box-shadow:0 24px 80px rgba(15,23,42,.22);
    border:1px solid rgba(148,163,184,.18);
}
.admin-dashboard-modal__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    padding:1.1rem 1.25rem;
    border-bottom:1px solid rgba(148,163,184,.16);
}
.admin-dashboard-modal__body{
    padding:1rem 1.25rem 1.25rem;
    overflow-y:auto;
}
.admin-dashboard-modal__close{
    width:42px;height:42px;border-radius:14px;border:0;background:#f8fafc;color:#334155;cursor:pointer;
}
.admin-dashboard-list{display:flex;flex-direction:column;gap:.9rem;}
.admin-dashboard-list-item{
    display:block;
    padding:1rem 1rem;
    border-radius:18px;
    background:#f8fafc;
    border:1px solid rgba(148,163,184,.15);
    color:inherit;
    text-decoration:none;
}
.admin-dashboard-list-item:hover{background:#f1f5f9;border-color:rgba(59,130,246,.18);}
.admin-dashboard-list-item__meta{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:.4rem;}
.admin-dashboard-list-item__title{font-weight:800;color:#0f172a;}
.admin-dashboard-list-item__sub{font-size:.82rem;color:#64748b;}
.admin-dashboard-list-item__text{font-size:.94rem;line-height:1.65;color:#334155;}
@media (min-width:1280px){
    .dashboard-main-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2rem;align-items:start;}
    .dashboard-side-grid{display:grid;grid-template-rows:auto auto;gap:2rem;align-content:start;height:auto;}
    .dashboard-side-grid > .admin-card{height:auto;}
.dashboard-feed-card{height:auto;align-self:start;}
}


/* v16 hero badge spacing only */
#home.hero-section{padding-top:4.85rem!important}
@media (max-width:1023px){#home.hero-section{padding-top:4.15rem!important}}
.hero-pill--typed{margin-top:0!important}


.admin-mini-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.5rem;
    min-height:40px;
    padding:.7rem 1rem;
    border-radius:999px;
    border:1px solid rgba(78,124,114,.14);
    background:linear-gradient(135deg,#ffffff 0%,#f8fafc 100%);
    color:#244c44;
    font-size:.84rem;
    font-weight:800;
    text-decoration:none;
    box-shadow:0 10px 24px rgba(15,23,42,.07);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.admin-mini-action:hover{
    transform:translateY(-1px);
    color:#1d3f39;
    border-color:rgba(78,124,114,.28);
    box-shadow:0 16px 34px rgba(15,23,42,.10);
    background:linear-gradient(135deg,#ffffff 0%,#f1f5f9 100%);
}
.admin-mini-action:focus-visible{
    outline:none;
    box-shadow:0 0 0 4px rgba(78,124,114,.12), 0 16px 34px rgba(15,23,42,.10);
}
.admin-dashboard-list-item__sub--blog{
    margin-top:.2rem;
    font-size:.78rem;
    font-weight:700;
    color:#2563eb;
}
.admin-dashboard-list-item__cta{
    margin-top:.65rem;
    font-size:.78rem;
    font-weight:700;
    color:#475569;
}
.admin-dashboard-list-item--comment{padding:1.05rem 1.05rem .95rem;border-radius:20px;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);border:1px solid rgba(148,163,184,.16);box-shadow:0 12px 28px rgba(15,23,42,.06)}
.admin-dashboard-list-item--comment:hover{transform:translateY(-1px);box-shadow:0 18px 36px rgba(15,23,42,.08)}
.admin-dashboard-list-item__title-row{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.admin-dashboard-list-item__badge{display:inline-flex;align-items:center;gap:.35rem;padding:.28rem .58rem;border-radius:999px;font-size:.72rem;font-weight:800;line-height:1.1}
.admin-dashboard-list-item__badge--blog{background:rgba(59,130,246,.10);color:#2563eb}
.admin-dashboard-list-item__badge--project{background:rgba(16,185,129,.10);color:#059669}
.admin-dashboard-list-item__text--comment{margin-top:.35rem}
.admin-dashboard-list-item__cta i{margin-right:.32rem}
body.admin-body .data-table tr.comment-row-focus,
body.admin-body .data-table tr.comment-row-focus td{
    background:rgba(78,124,114,.09)!important;
}
body.admin-body .data-table tr.comment-row-focus{
    box-shadow:inset 3px 0 0 rgba(78,124,114,.72);
}

/* v24 slight header-to-badge gap increase only */
#home.hero-section{
    padding-top:8.65rem!important;
}
@media (max-width:1023px){
    #home.hero-section{
        padding-top:5.75rem!important;
    }
}
.hero-pill--typed{
    margin-top:.18rem!important;
}

/* Ziyaretçi konum widget - mobil */
@media (max-width: 640px) {
    #visitor-location-widget {
        bottom: 14px !important;
        right: 14px !important;
        font-size: .73rem !important;
        padding: .45rem .75rem .45rem .6rem !important;
    }
}


/* === Contact form action alignment === */
#contact-form {
    display: flex;
    flex-direction: column;
}

#contact-submit,
.contact-submit-btn {
    width: auto !important;
    min-width: 190px;
    margin-left: auto;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

@media (max-width: 640px) {
    #contact-submit,
    .contact-submit-btn {
        width: 100% !important;
        margin-left: 0;
    }
}

/* ===== v22 mobile experience/blog/reminder polish ===== */
body:not(.admin-body) .pf-modal-box,
body:not(.admin-body) .content-list-modal-box{
    scroll-padding-top:72px;
}
body:not(.admin-body) .pf-modal-close{
    position:sticky!important;
    top:12px!important;
    left:auto!important;
    right:12px!important;
    margin:12px 12px -56px auto!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    border-radius:16px!important;
    justify-content:center!important;
    opacity:.96;
    box-shadow:0 12px 28px rgba(42,33,24,.12);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}
body:not(.admin-body) .pf-modal-box.modal-scrolled .pf-modal-close,
body:not(.admin-body) .content-list-modal-box.modal-scrolled .pf-modal-close{
    opacity:.62;
}
body:not(.admin-body) .pf-modal-close:hover{
    opacity:1!important;
}
body:not(.admin-body) .modal-media-hero,
body:not(.admin-body) .modal-hero-wrap,
body:not(.admin-body) .blog-card-img,
body:not(.admin-body) .content-list-thumb,
body:not(.admin-body) .portfolio-tilt .relative.overflow-hidden{
    display:flex;
    align-items:center;
    justify-content:center;
}
body:not(.admin-body) .modal-media-hero img,
body:not(.admin-body) .modal-hero-wrap img,
body:not(.admin-body) img.modal-hero,
body:not(.admin-body) .blog-card-img img,
body:not(.admin-body) .content-list-thumb img,
body:not(.admin-body) .portfolio-tilt img{
    object-position:center center!important;
}
body:not(.admin-body) .blog-card-img{
    background:rgba(237,232,223,.88)!important;
}
body:not(.admin-body) .blog-card-img img{
    object-fit:contain!important;
}
@media (max-width: 991px){
    body:not(.admin-body) .blog-card-img,
    body:not(.admin-body) .portfolio-tilt .relative.overflow-hidden{
        aspect-ratio:4 / 3;
        background:rgba(237,232,223,.88)!important;
    }
    body:not(.admin-body) .blog-card-img img,
    body:not(.admin-body) .content-list-thumb img,
    body:not(.admin-body) .modal-media-hero img,
    body:not(.admin-body) .modal-hero-wrap img,
    body:not(.admin-body) img.modal-hero,
    body:not(.admin-body) .portfolio-tilt img{
        object-fit:contain!important;
        background:rgba(237,232,223,.88)!important;
    }
}
@media (max-width: 991px) and (orientation: landscape){
    body:not(.admin-body) .blog-card-img,
    body:not(.admin-body) .portfolio-tilt .relative.overflow-hidden{
        aspect-ratio:16 / 9;
    }
    body:not(.admin-body) .modal-media-hero img,
    body:not(.admin-body) .modal-hero-wrap img,
    body:not(.admin-body) img.modal-hero{
        max-height:min(54vh,320px)!important;
    }
}
@media (max-width: 768px){
    body:not(.admin-body) .pf-modal-close{
        top:10px!important;
        right:10px!important;
        margin:10px 10px -52px auto!important;
        width:42px!important;
        height:42px!important;
        min-width:42px!important;
        border-radius:14px!important;
    }
}

/* ---- Sabit kapak oranı: blog/proje tüm cihazlarda aynı ---- */
body:not(.admin-body) .blog-card-img{
    aspect-ratio:1 / 1 !important;
    background:rgba(237,232,223,.88)!important;
}
body:not(.admin-body) .blog-card-img-main,
body:not(.admin-body) .blog-card-img-bg,
body:not(.admin-body) .blog-card-img img{
    object-position:center center!important;
}
body:not(.admin-body) .project-cover-frame{
    position:relative;
    aspect-ratio:3 / 2 !important;
    background:rgba(237,232,223,.88)!important;
    display:flex;
    align-items:center;
    justify-content:center;
}
body:not(.admin-body) .project-cover-image{
    width:100%;
    height:100%;
    object-fit:cover!important;
    object-position:center center!important;
    display:block;
}
@media (max-width: 991px){
    body:not(.admin-body) .blog-card-img{
        aspect-ratio:1 / 1 !important;
    }
    body:not(.admin-body) .project-cover-frame{
        aspect-ratio:3 / 2 !important;
    }
    body:not(.admin-body) .project-cover-image{
        object-fit:cover!important;
    }
}
@media (max-width: 991px) and (orientation: landscape){
    body:not(.admin-body) .blog-card-img{
        aspect-ratio:1 / 1 !important;
    }
    body:not(.admin-body) .project-cover-frame{
        aspect-ratio:3 / 2 !important;
    }
}


/* ---- Blog kapakları proje kartı gibi: boşluksuz, tam dolu ---- */
body:not(.admin-body) .blog-card-img{
    position:relative;
    aspect-ratio:3 / 2 !important;
    background:transparent !important;
    display:block !important;
    overflow:hidden;
}
body:not(.admin-body) .blog-card-img::after{
    content:none !important;
}
body:not(.admin-body) .blog-card-img-bg{
    display:none !important;
}
body:not(.admin-body) .blog-card-img-main,
body:not(.admin-body) .blog-card-img > img,
body:not(.admin-body) .blog-card-img img{
    width:100% !important;
    height:100% !important;
    display:block !important;
    padding:0 !important;
    margin:0 !important;
    object-fit:cover !important;
    object-position:center center !important;
    background:transparent !important;
}
@media (max-width: 991px){
    body:not(.admin-body) .blog-card-img{
        aspect-ratio:3 / 2 !important;
    }
}
@media (max-width: 991px) and (orientation: landscape){
    body:not(.admin-body) .blog-card-img{
        aspect-ratio:3 / 2 !important;
    }
}

@media (max-width:1023px){
  body:not(.admin-body) .content-section-filter,
  body:not(.admin-body) .content-section-filter-wrap,
  body:not(.admin-body) .content-section-filter-select{
    z-index:20!important;
  }
}


.admin-media-single{position:relative!important;display:inline-flex!important;align-items:flex-start!important;justify-content:flex-start!important;width:fit-content;max-width:100%;vertical-align:top;isolation:isolate;overflow:visible}
.admin-media-single > img{display:block;max-width:100%}
.admin-media-single > .admin-media-remove-btn{top:.6rem!important;right:.6rem!important;left:auto!important;bottom:auto!important}
.admin-media-single > .admin-media-remove-btn.hidden{display:none!important}
.admin-media-remove-btn{position:absolute!important;top:.6rem;right:.6rem;z-index:24;width:2.05rem;height:2.05rem;margin:0;border:none;border-radius:999px;background:rgba(196,58,58,.88);color:#fff;font-size:1.12rem;font-weight:800;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 20px rgba(196,58,58,.22);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);cursor:pointer;opacity:.94;transition:transform .18s ease,opacity .18s ease,box-shadow .18s ease,background .18s ease}
.admin-media-remove-btn:hover{transform:translateY(-1px) scale(1.03);opacity:1;box-shadow:0 14px 26px rgba(196,58,58,.28);background:rgba(196,58,58,.96)}
.admin-media-remove-btn:active{transform:scale(.97)}
.admin-media-remove-btn.hidden{display:none!important}
.admin-media-remove-btn--corner{top:.5rem!important;right:.5rem!important;left:auto!important;bottom:auto!important;width:1.95rem;height:1.95rem;font-size:1.02rem}
.admin-gallery-item{isolation:isolate}
body.admin-body.admin-is-scrolling .admin-media-remove-btn{opacity:.56;box-shadow:0 8px 14px rgba(15,23,42,.14)}
body.admin-body.admin-is-scrolling .admin-media-remove-btn:hover{opacity:.8}
.about-stat-card{position:relative;overflow:hidden;border-color:rgba(255,255,255,.72)!important;transition:transform .22s ease,box-shadow .22s ease,background .22s ease,border-color .22s ease}
.about-stat-card::after{content:'';position:absolute;inset:auto -18% -55% auto;width:120px;height:120px;border-radius:999px;background:radial-gradient(circle, rgba(78,124,114,.16) 0%, rgba(78,124,114,0) 72%);pointer-events:none;transition:transform .22s ease,opacity .22s ease;opacity:.72}
.about-stat-card:hover{transform:translateY(-4px);background:rgba(255,255,255,.86)!important;border-color:rgba(78,124,114,.18)!important;box-shadow:0 18px 34px rgba(78,124,114,.10)}
.about-stat-card:hover::after{transform:translate(-8px,-6px) scale(1.08);opacity:1}
.about-stat-card:hover i{transform:translateY(-1px) scale(1.04);color:var(--c-primary)!important}
.about-stat-card i{transition:transform .22s ease,color .22s ease}
