/* ══════════════════════════════════════
   BLOG — Av. Saliha Senem Mercan
   Extends style.css, does not override
   ══════════════════════════════════════ */

/* ── BLOG HERO ── */
.blog-hero {
    background: linear-gradient(155deg, #0a0a0a 0%, #141010 45%, #2d1818 80%, #3d2020 100%);
    color: var(--clr-white);
    padding: calc(var(--nav-height) + 56px) 0 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,69,69,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.blog-hero .container {
    position: relative;
    z-index: 1;
}

.blog-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #c4a07a;
    margin-bottom: 20px;
}

.blog-hero__label::before,
.blog-hero__label::after {
    content: '';
    width: 24px;
    height: 1px;
    background: #c4a07a;
}

.blog-hero__title {
    font-family: var(--ff-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.blog-hero__desc {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.65;
    max-width: 520px;
    margin: 0 auto;
    font-weight: 300;
}

/* ── BLOG FILTER ── */
.blog-filter {
    background: var(--clr-bg);
    border-bottom: 1px solid var(--clr-border);
    padding: 16px 0;
    position: sticky;
    top: var(--nav-height);
    z-index: 50;
}

.blog-filter__wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-filter__arrow {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border: 1px solid var(--clr-border);
    border-radius: 50%;
    background: var(--clr-bg);
    color: var(--clr-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.blog-filter__arrow:hover { background: var(--clr-primary); border-color: var(--clr-primary); color: #fff; }
.blog-filter__arrow:disabled { opacity: 0.25; cursor: default; pointer-events: none; }

@media (max-width: 600px) { .blog-filter__arrow { display: none; } }

.blog-filter__list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    flex: 1;
}
.blog-filter__list::-webkit-scrollbar { display: none; }

.blog-filter__btn {
    white-space: nowrap;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--clr-text);
    background: var(--clr-bg-alt);
    border: 1px solid var(--clr-border);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--ff-body);
}

.blog-filter__btn:hover {
    background: rgba(94, 48, 48, 0.08);
    border-color: var(--clr-primary-light);
    color: var(--clr-primary);
}

.blog-filter__btn--active {
    background: var(--clr-primary);
    color: var(--clr-white);
    border-color: var(--clr-primary);
}

/* ── BLOG LISTING SECTION ── */
.blog-listing {
    padding: 64px 0;
    background: var(--clr-bg-alt);
}

/* ── BLOG GRID ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.blog-grid--related {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 16px;
}

/* ── BLOG CARD ── */
.blog-card {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 16px 40px rgba(0,0,0,0.09);
    border-color: rgba(139,69,69,0.15);
}

.blog-card__img-link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.blog-card__img-link img,
.blog-card__img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card__img-placeholder {
    background: linear-gradient(135deg, #2d1818 0%, #5e3030 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.15);
}

.blog-card:hover .blog-card__img-link img {
    transform: scale(1.05);
}

.blog-card__cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--clr-primary-light);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
}

.blog-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 10px;
}

.blog-card__sep {
    opacity: 0.5;
}

.blog-card__title {
    font-family: var(--ff-heading);
    font-size: 1.125rem;
    line-height: 1.4;
    color: var(--clr-heading);
    margin-bottom: 10px;
    letter-spacing: -0.15px;
    transition: color var(--transition);
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.blog-card:hover .blog-card__title a,
.blog-card__title a:hover {
    color: var(--clr-primary-light);
}

.blog-card__excerpt {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #666;
    font-weight: 300;
    flex: 1;
    margin-bottom: 16px;
}

.blog-card__more {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--clr-primary-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition);
    margin-top: auto;
}

.blog-card__more:hover {
    gap: 8px;
    color: var(--clr-primary);
}

/* Empty state */
.blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 24px;
    color: #999;
}

.blog-empty svg {
    opacity: 0.3;
    margin-bottom: 16px;
}

.blog-empty p {
    font-size: 0.9375rem;
}

/* ── BLOG CTA STRIP ── */
.blog-cta {
    background: var(--clr-primary);
    padding: 56px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/library.jpg') center/cover no-repeat;
    opacity: 0.06;
}

.blog-cta .container {
    position: relative;
    z-index: 1;
}

.blog-cta__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}

.blog-cta__title {
    font-family: var(--ff-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.875rem);
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.blog-cta__desc {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 28px;
    font-weight: 300;
}

.blog-cta .btn--primary {
    background: #fff;
    color: var(--clr-primary);
    border-color: #fff;
    padding: 14px 36px;
    font-weight: 600;
}

.blog-cta .btn--primary:hover {
    background: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.9);
}

/* ══════════════════════════════════════
   BLOG POST PAGE
   ══════════════════════════════════════ */

/* ── POST HEADER ── */
.post-header {
    background: linear-gradient(155deg, #0a0a0a 0%, #141010 45%, #2d1818 80%, #3d2020 100%);
    color: var(--clr-white);
    padding: calc(var(--nav-height) + 48px) 0 56px;
    position: relative;
    overflow: hidden;
}

.post-header::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,69,69,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.post-header .container {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.post-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.post-breadcrumb a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color var(--transition);
}

.post-breadcrumb a:hover {
    color: rgba(255,255,255,0.85);
}

.post-breadcrumb span {
    color: rgba(255,255,255,0.7);
}

.post-cat-badge {
    display: inline-block;
    background: var(--clr-primary-light);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.post-header__title {
    font-family: var(--ff-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.post-header__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
}

.post-header__meta time {
    color: rgba(255,255,255,0.6);
}

/* ── FEATURED IMAGE ── */
.post-featured-img {
    padding: 40px 0 0;
    max-width: 860px;
}

.post-featured-img figure {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,0.12);
}

.post-featured-img img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    display: block;
}

.post-featured-img figcaption {
    font-size: 0.8125rem;
    color: #999;
    text-align: center;
    padding: 10px 0 0;
    font-style: italic;
}

/* ── POST CONTENT WRAP ── */
.post-content-wrap {
    padding: 56px 0 80px;
    max-width: 860px;
}

/* ── POST BODY TYPOGRAPHY ── */
.post-body {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--clr-text);
    margin-bottom: 48px;
}

.post-body h2 {
    font-family: var(--ff-heading);
    font-size: 1.625rem;
    color: var(--clr-heading);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--clr-bg-alt);
    position: relative;
}

.post-body h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--clr-primary-light);
}

.post-body h3 {
    font-family: var(--ff-heading);
    font-size: 1.25rem;
    color: var(--clr-heading);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.post-body p {
    margin-bottom: 1.25rem;
}

.post-body a {
    color: var(--clr-primary-light);
    text-decoration: underline;
    text-decoration-color: rgba(139,69,69,0.35);
    text-underline-offset: 3px;
    transition: all var(--transition);
}

.post-body a:hover {
    color: var(--clr-primary);
    text-decoration-color: var(--clr-primary);
}

.post-body ul,
.post-body ol {
    padding-left: 1.75rem;
    margin-bottom: 1.25rem;
}

.post-body ul li,
.post-body ol li {
    margin-bottom: 0.5rem;
    line-height: 1.9;
}

.post-body ul li::marker {
    color: var(--clr-primary-light);
}

.post-body ol li::marker {
    color: var(--clr-primary-light);
    font-weight: 600;
}

.post-body blockquote {
    margin: 2rem 0;
    padding: 20px 24px;
    border-left: 3px solid var(--clr-primary-light);
    background: var(--clr-bg-alt);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

.post-body blockquote cite {
    display: block;
    font-style: normal;
    font-size: 0.8125rem;
    color: #888;
    margin-top: 8px;
    font-weight: 500;
}

.post-body strong {
    color: var(--clr-heading);
    font-weight: 600;
}

.post-body .post-callout {
    background: rgba(94,48,48,0.05);
    border: 1px solid rgba(94,48,48,0.15);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 2rem 0;
    font-size: 0.9375rem;
}

.post-body .post-callout strong {
    color: var(--clr-primary-light);
    display: block;
    margin-bottom: 4px;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── SHARE BAR ── */
.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    margin-bottom: 40px;
}

.post-share__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 4px;
}

.post-share__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--clr-border);
    background: var(--clr-bg);
    color: var(--clr-text);
    text-decoration: none;
    transition: all var(--transition);
    font-family: var(--ff-body);
}

.post-share__btn--wa {
    color: #25D366;
    border-color: rgba(37,211,102,0.3);
}

.post-share__btn--wa:hover {
    background: rgba(37,211,102,0.08);
    border-color: #25D366;
}

.post-share__btn--copy:hover {
    background: var(--clr-bg-alt);
    border-color: var(--clr-primary-light);
    color: var(--clr-primary);
}

.post-share__btn--copied {
    color: #2d8a4e;
    border-color: rgba(45,138,78,0.3);
    background: rgba(45,138,78,0.06);
}

/* ── AUTHOR CARD ── */
.post-author-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--clr-bg-alt);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 48px;
}

.post-author-card img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.post-author-card__info strong {
    display: block;
    font-family: var(--ff-heading);
    font-size: 1.0625rem;
    color: var(--clr-heading);
    margin-bottom: 4px;
}

.post-author-card__info .author-title {
    font-size: 0.75rem;
    color: var(--clr-primary-light);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.post-author-card__info p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #666;
    margin-bottom: 10px;
}

.post-author-card__info a {
    font-size: 0.8125rem;
    color: var(--clr-primary-light);
    font-weight: 500;
    text-decoration: none;
}

.post-author-card__info a:hover {
    text-decoration: underline;
}

/* ── RELATED POSTS ── */
.post-related {
    margin-bottom: 56px;
}

.post-related__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-primary-light);
    margin-bottom: 20px;
}

.post-related__label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--clr-primary-light);
}

/* ══════════════════════════════════════
   COMMENTS SECTION
   ══════════════════════════════════════ */

.comments-section {
    padding-top: 48px;
    border-top: 2px solid var(--clr-border);
}

.comments__heading {
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    color: var(--clr-heading);
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.comments__count {
    font-size: 0.875rem;
    font-weight: 400;
    font-family: var(--ff-body);
    color: #999;
}

/* ── COMMENT FORM ── */
.comment-form-wrap {
    background: var(--clr-bg-alt);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 48px;
}

.comment-form__title {
    font-family: var(--ff-heading);
    font-size: 1.125rem;
    color: var(--clr-heading);
    margin-bottom: 24px;
}

.comment-form .form__group {
    margin-bottom: 16px;
}

.comment-form .form__group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--clr-heading);
    margin-bottom: 6px;
}

.comment-form .form__group label .optional {
    color: #aaa;
    font-weight: 400;
    font-size: 0.75rem;
    margin-left: 4px;
}

.comment-form .form__group input,
.comment-form .form__group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    font-family: var(--ff-body);
    font-size: 0.9375rem;
    color: var(--clr-text);
    background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    -webkit-appearance: none;
}

.comment-form .form__group input:focus,
.comment-form .form__group textarea:focus {
    border-color: var(--clr-primary-light);
    box-shadow: 0 0 0 3px rgba(139,69,69,0.08);
}

.comment-form .form__group textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

.comment-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.comment-form__charcount {
    font-size: 0.75rem;
    color: #bbb;
    text-align: right;
    margin-top: 4px;
    transition: color 0.2s;
}

.comment-form__charcount--warn { color: #d68a00; }
.comment-form__charcount--error { color: #c0392b; }

.reply-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(139,69,69,0.06);
    border: 1px solid rgba(139,69,69,0.15);
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: var(--clr-primary);
}

.reply-indicator svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.reply-indicator__text {
    flex: 1;
    font-weight: 500;
}

.reply-indicator__cancel {
    background: none;
    border: none;
    font-family: var(--ff-body);
    font-size: 0.8125rem;
    color: #999;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all var(--transition);
}

.reply-indicator__cancel:hover {
    background: rgba(0,0,0,0.06);
    color: var(--clr-text);
}

.form__status {
    margin-top: 12px;
    font-size: 0.875rem;
    border-radius: 6px;
    padding: 0;
    min-height: 0;
    transition: all 0.3s;
}

.form__status--error {
    color: #c0392b;
    background: rgba(192,57,43,0.06);
    border: 1px solid rgba(192,57,43,0.15);
    padding: 10px 14px;
}

.form__status--success {
    color: #2d8a4e;
    background: rgba(45,138,78,0.06);
    border: 1px solid rgba(45,138,78,0.15);
    padding: 10px 14px;
}

/* ── COMMENT ITEMS ── */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.comments-empty {
    text-align: center;
    padding: 48px 24px;
    color: #bbb;
}

.comments-empty svg {
    opacity: 0.25;
    margin-bottom: 12px;
}

.comments-empty p {
    font-size: 0.9375rem;
}

.comment {
    display: flex;
    gap: 14px;
    padding: 24px 0;
    border-bottom: 1px solid var(--clr-border);
}

.comment:last-child {
    border-bottom: none;
}

.comment__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(94,48,48,0.1);
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-heading);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 2px solid rgba(94,48,48,0.08);
}

.comment--reply .comment__avatar {
    width: 34px;
    height: 34px;
    font-size: 0.875rem;
}

.comment__body {
    flex: 1;
    min-width: 0;
}

.comment__header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.comment__name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--clr-heading);
}

.comment__time {
    font-size: 0.75rem;
    color: #bbb;
    font-weight: 400;
}

.comment__text {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--clr-text);
    margin-bottom: 10px;
    word-break: break-word;
}

.comment__reply-btn {
    background: none;
    border: none;
    font-family: var(--ff-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--clr-primary-light);
    cursor: pointer;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all var(--transition);
}

.comment__reply-btn:hover {
    color: var(--clr-primary);
    gap: 6px;
}

/* Replies container */
.comment__replies {
    margin-top: 16px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 2px solid var(--clr-border);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.comment__replies .comment {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.comment__replies .comment:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Pending / confirmed states */
.comment--pending {
    opacity: 0.55;
    pointer-events: none;
}

@keyframes confirmFlash {
    from { background: rgba(139,69,69,0.08); }
    to   { background: transparent; }
}

.comment--confirmed {
    animation: confirmFlash 1s ease-out forwards;
    border-radius: 8px;
}

/* ── SCROLL PROGRESS ── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b4545, #a35555);
    z-index: 200;
    width: 0%;
    transition: none;
}

/* ── PAGE ENTRANCE ── */
body.blog-page {
    opacity: 0;
    animation: blogEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

@keyframes blogEntrance {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── P-REVEAL ── */
.p-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.p-reveal--visible {
    opacity: 1;
    transform: translateY(0);
}
.p-reveal--delay-1 { transition-delay: 0.1s; }
.p-reveal--delay-2 { transition-delay: 0.2s; }
.p-reveal--delay-3 { transition-delay: 0.3s; }

/* ── FLOATING ACTION BUTTONS (same as variant-final) ── */
.pfab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 90;
}

.pfab__btn {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.pfab__btn:hover {
    transform: translateY(-3px);
    color: #fff;
}

.pfab__btn--top {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
}

.pfab__btn--top.visible {
    opacity: 1;
    pointer-events: auto;
}

.pfab__btn--top:hover {
    background: rgba(26, 26, 26, 0.9);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.pfab__btn--wa {
    width: 54px;
    height: 54px;
    background: var(--clr-whatsapp);
    box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}

.pfab__btn--wa:hover {
    box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}

/* ── COOKIE BANNER ── */
.pcookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13,13,13,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 200;
    padding: 18px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.pcookie__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pcookie__text {
    color: rgba(255,255,255,0.8);
    font-size: 0.8125rem;
    line-height: 1.6;
    flex: 1;
}

.pcookie__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.pcookie__btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    font-family: var(--ff-body);
}

.pcookie__btn--accept {
    background: var(--clr-primary-light);
    color: #fff;
}

.pcookie__btn--reject {
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.15);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

/* ── BLOG LISTING HEADER ── */
.blog-listing__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--clr-border);
}

.blog-listing__count {
    font-size: 0.875rem;
    color: #aaa;
    line-height: 1;
}

.blog-listing__count strong {
    color: var(--clr-heading);
    font-weight: 600;
}

/* ── TOP MINI-NAV ── */
.blog-top-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-top-nav__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--clr-border);
    border-radius: 6px;
    background: transparent;
    color: var(--clr-text);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.blog-top-nav__btn:hover:not(:disabled) {
    border-color: var(--clr-primary-light);
    background: var(--clr-primary-light);
    color: #fff;
}

.blog-top-nav__btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.blog-top-nav__info {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--clr-heading);
    min-width: 52px;
    text-align: center;
    letter-spacing: 0.02em;
}

/* ── FEATURED CARD (first card on page 1, all category) ── */
.blog-card--featured {
    grid-column: 1 / -1;
    flex-direction: row;
}

.blog-card--featured .blog-card__img-link {
    width: 42%;
    flex-shrink: 0;
    aspect-ratio: unset;
    min-height: 260px;
}

.blog-card--featured .blog-card__body {
    padding: 36px 40px;
    justify-content: center;
}

.blog-card--featured .blog-card__title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-card--featured .blog-card__excerpt {
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card--featured .blog-card__more {
    font-size: 0.875rem;
}

/* ── CARD ENTRANCE ANIMATION ── */
@keyframes cardIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.blog-card--in {
    animation: cardIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── BLOG PAGINATION ── */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 52px;
    padding-top: 36px;
    border-top: 1px solid var(--clr-border);
    flex-wrap: wrap;
}

.blog-pagination__arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--clr-border);
    background: var(--clr-bg);
    color: var(--clr-text);
    font-family: var(--ff-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1;
}

.blog-pagination__arrow:hover:not(:disabled) {
    border-color: var(--clr-primary-light);
    color: var(--clr-primary);
    background: rgba(94,48,48,0.04);
}

.blog-pagination__arrow:disabled {
    opacity: 0.32;
    cursor: default;
    pointer-events: none;
}

.blog-pagination__pages {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-pagination__num {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--clr-border);
    background: var(--clr-bg);
    color: var(--clr-text);
    font-family: var(--ff-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.blog-pagination__num:hover {
    border-color: var(--clr-primary-light);
    color: var(--clr-primary);
    background: rgba(94,48,48,0.04);
}

.blog-pagination__num.active {
    background: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
    font-weight: 600;
    cursor: default;
}

.blog-pagination__dots {
    width: 32px;
    text-align: center;
    color: #ccc;
    font-size: 0.875rem;
    user-select: none;
    line-height: 40px;
}

@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: calc(var(--nav-height) + 36px) 0 40px;
    }

    .blog-listing { padding: 40px 0; }

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

    /* Featured card → stacked on mobile */
    .blog-card--featured {
        flex-direction: column;
    }

    .blog-card--featured .blog-card__img-link {
        width: 100%;
        min-height: unset;
        aspect-ratio: 16 / 9;
    }

    .blog-card--featured .blog-card__body {
        padding: 24px;
    }

    .blog-card--featured .blog-card__title {
        font-size: 1.25rem;
    }

    /* Pagination compact on mobile */
    .blog-pagination {
        gap: 4px;
        margin-top: 36px;
        padding-top: 28px;
    }

    .blog-pagination__arrow {
        padding: 10px 14px;
        font-size: 0.8125rem;
    }

    .blog-pagination__num {
        width: 36px;
        height: 36px;
        font-size: 0.8125rem;
    }

    .blog-grid--related {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post-header {
        padding: calc(var(--nav-height) + 32px) 0 40px;
    }

    .post-header__title {
        font-size: 1.5rem;
    }

    .post-content-wrap {
        padding: 36px 0 56px;
    }

    .post-featured-img {
        padding: 24px 0 0;
    }

    .post-body {
        font-size: 1rem;
    }

    .post-body h2 {
        font-size: 1.375rem;
    }

    .post-author-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        gap: 16px;
    }

    .post-author-card img {
        width: 64px;
        height: 64px;
    }

    .comment__replies {
        margin-left: 12px;
        padding-left: 14px;
    }

    .comment-form-wrap {
        padding: 24px 20px;
    }

    .comment-form__row {
        grid-template-columns: 1fr;
    }

    .post-share {
        flex-wrap: wrap;
    }

    .pcookie__inner {
        flex-direction: column;
        text-align: center;
    }

    .pcookie__actions {
        width: 100%;
    }

    .pcookie__btn { flex: 1; }
}
