/* REDELUX standalone Blog & Gallery pages */
.inner-page {
    padding-top: 0
}

.page-hero {
    position: relative;
    min-height: 58vh;
    display: flex;
    align-items: center;
    padding: 100px 0 0px;
    background:
        radial-gradient(700px 380px at 85% 15%, rgba(183, 227, 90, .26), transparent 65%),
        radial-gradient(620px 360px at 8% 70%, rgba(47, 125, 77, .12), transparent 65%), #f7faf3;
    overflow: hidden
}

.page-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -150px;
    bottom: -220px;
    border-radius: 50%;
    border: 1px solid rgba(27, 107, 69, .12);
    box-shadow: 0 0 0 60px rgba(27, 107, 69, .025), 0 0 0 120px rgba(27, 107, 69, .018)
}

.page-hero .container {
    position: relative;
    z-index: 2
}

.page-hero h1 {
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    max-width: 900px;
    margin: 24px 0 18px
}

.page-hero p {
    max-width: 720px;
    color: var(--ink-soft);
    font-size: 1.12rem
}

.blog-page-section {
    background: #fff
}

.blog-toolbar {
    display: flex;
    gap: 18px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap
}

.blog-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.blog-filter {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    padding: 10px 16px;
    border-radius: 999px;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: .3s
}

.blog-filter:hover,
.blog-filter.active {
    background: var(--grad-sky);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px)
}

.blog-search {
    display: flex;
    align-items: center;
    gap: 9px;
    width: min(100%, 300px);
    padding: 11px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    color: var(--ink-soft)
}

.blog-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    color: var(--ink)
}

.blog-card.is-hidden {
    display: none
}

.blog-empty {
    display: none;
    text-align: center;
    color: var(--ink-soft);
    padding: 45px 0
}

.blog-empty.show {
    display: block
}

.blog-read {
    margin-top: 8px
}

.gallery-page-section {
    background: linear-gradient(180deg, #f8faf5 0%, #fff 100%)
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 290px;
    gap: 20px;
    grid-auto-flow: dense
}

.page-gallery-item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    padding: 0;
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #dfe7df;
    cursor: pointer;
    box-shadow: 0 14px 40px rgba(18, 61, 42, .09);
    isolation: isolate;
    text-align: left;
    transition: transform .4s cubic-bezier(.2, .7, .3, 1), box-shadow .4s ease
}

.page-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .3, 1), filter .5s ease
}

.page-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 22, 14, .02) 35%, rgba(4, 22, 14, .82) 100%);
    z-index: 1;
    opacity: .9;
    transition: opacity .35s ease
}

.page-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(18, 61, 42, .16)
}

.page-gallery-item:hover img {
    transform: scale(1.07);
    filter: saturate(1.06)
}

.page-gallery-item:hover::after {
    opacity: 1
}

.page-gallery-item>span {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 20px;
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column
}

.page-gallery-item strong {
    font: 700 1.12rem "Manrope", sans-serif;
    letter-spacing: -.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .4)
}

.page-gallery-item small {
    opacity: .85;
    margin-top: 4px;
    font-size: .82rem
}

.page-gallery-item i {
    position: absolute;
    right: 0;
    bottom: 2px;
    font-size: 1rem;
    transition: transform .3s ease
}

.page-gallery-item:hover i {
    transform: scale(1.18)
}

.page-gallery-large {
    grid-row: span 2
}

.page-gallery-wide {
    grid-column: span 2
}

/* CSS guard: If the 5th item is the last child in the grid, ensure it takes 1 column to avoid leaving an empty hole on row 2 */
.gallery-page-grid>.page-gallery-item:nth-child(5):last-child {
    grid-column: span 1
}

.page-lightbox {
    position: fixed;
    inset: 0;
    z-index: 180;
    background: rgba(3, 15, 9, .94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: .3s
}

.page-lightbox.open {
    opacity: 1;
    visibility: visible
}

.page-lightbox figure {
    margin: 0;
    max-width: min(1100px, 88vw);
    max-height: 88vh;
    text-align: center
}

.page-lightbox img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .4)
}

.page-lightbox figcaption {
    color: #fff;
    margin-top: 14px;
    font-weight: 700
}

.page-lightbox-close,
.page-lightbox-nav {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer
}

.page-lightbox-close {
    top: 24px;
    right: 24px
}

.page-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem
}

.page-lightbox-nav.prev {
    left: 24px
}

.page-lightbox-nav.next {
    right: 24px
}

.page-lightbox-close:hover,
.page-lightbox-nav:hover {
    background: #fff;
    color: #14382A
}

/* ══════════════ REDELUX SINGLE BLOG POST ══════════════ */
.blog-post-page {
    background: #fff;
}

.blog-breadcrumbs {
    padding: 130px 0 16px;
    background: #f7faf3;
    border-bottom: 1px solid rgba(27, 107, 69, 0.08);
    font-size: 0.88rem;
}

.blog-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-breadcrumbs a {
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-breadcrumbs a:hover {
    color: var(--candi-green);
}

.blog-breadcrumbs i {
    font-size: 0.65rem;
    color: rgba(20, 36, 29, 0.4);
}

.blog-breadcrumbs span {
    color: var(--ink);
    font-weight: 600;
}

/* Article Hero */
.blog-post-hero {
    position: relative;
    padding: 36px 0 44px;
    background: 
        radial-gradient(600px 320px at 90% 10%, rgba(183, 227, 90, 0.22), transparent 70%),
        radial-gradient(500px 280px at 10% 80%, rgba(47, 125, 77, 0.1), transparent 70%),
        #f7faf3;
    border-bottom: 1px solid rgba(27, 107, 69, 0.08);
}

.blog-post-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}

.blog-post-tag-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.blog-post-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--candi-green);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.blog-post-readtime {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-post-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.25;
    color: var(--ink);
    margin: 0 0 24px;
    font-weight: 800;
}

.blog-post-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(27, 107, 69, 0.12);
    flex-wrap: wrap;
}

.blog-post-author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-sky);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(27, 107, 69, 0.2);
}

.author-details strong {
    display: block;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.author-details span {
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.blog-post-shares {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink-soft);
    margin-right: 4px;
}

.share-icon {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: none;
    animation: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.share-icon:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.share-icon.share-wa { background: #25d366; }
.share-icon.share-li { background: #0077b5; }
.share-icon.share-tw { background: #0f1419; }
.share-icon.share-cp { background: var(--candi-green); }

.copy-alert {
    position: absolute;
    bottom: -28px;
    right: 0;
    background: var(--ink);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.copy-alert.show {
    opacity: 1;
}

/* Featured Media Container */
.blog-media-container {
    max-width: 980px;
    margin-top: -24px;
    position: relative;
    z-index: 3;
}

.blog-featured-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(20, 36, 29, 0.1);
    background: #e9eee4;
    max-height: 480px;
}

.blog-featured-img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Content Layout Grid */
.blog-body-section {
    padding: 48px 0 72px;
}

.blog-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: start;
}

.blog-content-col {
    min-width: 0;
}

/* Lead Paragraph Box */
.blog-lead-box {
    background: #f7faf3;
    border-left: 4px solid var(--candi-green);
    border-radius: 0 10px 10px 0;
    padding: 18px 24px;
    margin-bottom: 32px;
}

.blog-lead-box p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--ink);
    font-weight: 500;
    margin: 0;
}

/* Rich Prose Styles */
.blog-prose {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--ink-soft);
    margin-bottom: 40px;
    overflow-wrap: break-word;
}

.blog-prose h2 {
    font-size: 1.75rem;
    color: var(--ink);
    margin: 2.2rem 0 1rem;
    font-weight: 800;
    line-height: 1.35;
    position: relative;
}

.blog-prose h3 {
    font-size: 1.35rem;
    color: var(--ink);
    margin: 1.8rem 0 0.8rem;
    font-weight: 700;
}

.blog-prose h4 {
    font-size: 1.15rem;
    color: var(--ink);
    margin: 1.4rem 0 0.6rem;
    font-weight: 700;
}

.blog-prose p {
    margin-bottom: 1.4rem;
}

.blog-prose strong,
.blog-prose b {
    color: var(--ink);
    font-weight: 700;
}

.blog-prose a {
    color: var(--candi-green);
    text-decoration: underline;
    font-weight: 600;
}

.blog-prose a:hover {
    color: var(--candi-green-2);
}

.blog-prose ul,
.blog-prose ol {
    margin: 1rem 0 1.5rem 1.6rem;
    padding-left: 0.5rem;
}

.blog-prose li {
    margin-bottom: 0.6rem;
    padding-left: 0.4rem;
}

.blog-prose blockquote {
    background: #f7faf3;
    border-left: 4px solid var(--candi-green);
    margin: 2rem 0;
    padding: 18px 24px;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--ink);
    font-size: 1.1rem;
    line-height: 1.7;
}

.blog-prose blockquote p {
    margin: 0;
}

.blog-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.8rem 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.blog-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.8rem 0;
    font-size: 0.95rem;
    border: 1px solid rgba(27, 107, 69, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.blog-prose th,
.blog-prose td {
    padding: 12px 16px;
    border: 1px solid rgba(27, 107, 69, 0.12);
    text-align: left;
}

.blog-prose th {
    background: #f2f7ed;
    color: var(--ink);
    font-weight: 700;
}

.blog-prose tr:nth-child(even) {
    background: #fbfdf9;
}

.blog-prose pre {
    background: #14241d;
    color: #e2f0d9;
    padding: 16px 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.9rem;
    margin: 1.5rem 0;
}

.blog-prose code {
    background: rgba(27, 107, 69, 0.08);
    color: var(--candi-green);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
}

.blog-prose pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Post Footer Bar */
.blog-post-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(27, 107, 69, 0.12);
    border-bottom: 1px solid rgba(27, 107, 69, 0.12);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.blog-footer-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
}

.topic-tag {
    background: #f7faf3;
    border: 1px solid rgba(27, 107, 69, 0.15);
    color: var(--ink-soft);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.topic-tag:hover {
    background: var(--candi-green);
    color: #fff;
    border-color: var(--candi-green);
}

.blog-footer-share {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-footer-share span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
}

.share-mini {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: none;
    animation: none;
    transition: transform 0.2s ease;
}

.share-mini:hover {
    transform: translateY(-2px);
}

.share-mini.share-mini-wa { background: #25d366; }
.share-mini.share-mini-li { background: #0077b5; }
.share-mini.share-mini-tw { background: #0f1419; }

/* Author Bio Card */
.blog-author-bio-card {
    display: flex;
    gap: 20px;
    background: #f7faf3;
    border: 1px solid rgba(27, 107, 69, 0.12);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.author-badge-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--grad-sky);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.author-bio-text h4 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 800;
}

.author-bio-text p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 12px;
}

.btn-author-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--candi-green);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
}

.btn-author-link:hover {
    text-decoration: underline;
}

/* Comments Section */
.blog-comments-wrapper {
    margin-top: 48px;
    border-top: 2px solid rgba(27, 107, 69, 0.08);
    padding-top: 36px;
}

.comments-heading {
    font-size: 1.4rem;
    color: var(--ink);
    font-weight: 800;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.comment-card {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background: #f7faf3;
    border: 1px solid rgba(27, 107, 69, 0.1);
    border-radius: 12px;
}

.comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e2edd8;
    color: var(--candi-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 6px;
}

.comment-name {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.comment-date {
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.comment-text {
    color: var(--ink);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.no-comments-box {
    background: #f7faf3;
    border: 1px dashed rgba(27, 107, 69, 0.2);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    margin-bottom: 36px;
}

.no-comments-box p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    margin: 0;
}

/* Comment Form */
.comment-form-container {
    background: #fff;
    border: 1px solid rgba(27, 107, 69, 0.14);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.03);
}

.comment-form-container h4 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 800;
}

.form-subtext {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin: 0 0 20px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(27, 107, 69, 0.2);
    border-radius: 8px;
    font: inherit;
    font-size: 0.92rem;
    color: var(--ink);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--candi-green);
    box-shadow: 0 0 0 3px rgba(27, 107, 69, 0.12);
}

.comment-feedback-alert {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
}

.comment-feedback-alert.success {
    display: block;
    background: #eef8ee;
    color: #1b6b45;
    border: 1px solid #bce1bc;
}

.comment-feedback-alert.error {
    display: block;
    background: #fdeeee;
    color: #c0392b;
    border: 1px solid #f5b7b1;
}

/* Sidebar Widgets */
.blog-sidebar-col {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid rgba(27, 107, 69, 0.12);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}

.cta-widget {
    background: linear-gradient(145deg, #f7faf3 0%, #edf5e8 100%);
    border-color: rgba(27, 107, 69, 0.2);
}

.sidebar-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--candi-green);
    margin-bottom: 8px;
}

.cta-widget h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: var(--ink);
    font-weight: 800;
    line-height: 1.35;
}

.cta-widget p {
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0 0 18px;
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.sidebar-contact-links {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(27, 107, 69, 0.15);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.sidebar-contact-links a:hover {
    color: var(--candi-green);
}

.widget-title {
    font-size: 1.1rem;
    color: var(--ink);
    font-weight: 800;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(27, 107, 69, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-posts-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-post-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    align-items: center;
    transition: transform 0.2s ease;
}

.sidebar-post-item:hover {
    transform: translateX(3px);
}

.sidebar-post-thumb {
    width: 68px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e0e9d9;
}

.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-post-info {
    flex: 1;
    min-width: 0;
}

.sidebar-post-date {
    display: block;
    font-size: 0.72rem;
    color: var(--ink-soft);
    margin-bottom: 2px;
}

.sidebar-post-info h5 {
    margin: 0;
    font-size: 0.88rem;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-post-item:hover h5 {
    color: var(--candi-green);
}

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

.sidebar-categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f7faf3;
    border-radius: 8px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-categories-list a i {
    font-size: 0.7rem;
    color: var(--candi-green);
    transition: transform 0.2s;
}

.sidebar-categories-list a:hover {
    background: var(--candi-green);
    color: #fff;
}

.sidebar-categories-list a:hover i {
    color: #fff;
    transform: translateX(2px);
}

/* ══════════════ RESPONSIVE ADJUSTMENTS ══════════════ */
@media(max-width:980px) {
    .page-hero {
        min-height: 52vh;
        padding-top: 140px
    }

    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 260px;
        gap: 16px
    }

    .page-gallery-large {
        grid-row: span 2
    }

    .page-gallery-wide {
        grid-column: span 2
    }

    .gallery-page-grid>.page-gallery-item:nth-child(5):last-child {
        grid-column: span 2
    }

    .blog-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-sidebar-col {
        position: static;
    }
}

@media(max-width:640px) {
    .page-hero {
        padding: 125px 0 70px
    }

    .page-hero h1 {
        font-size: 2.4rem
    }

    .blog-toolbar {
        align-items: stretch
    }

    .blog-search {
        width: 100%
    }

    .gallery-page-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 14px
    }

    .page-gallery-large,
    .page-gallery-wide,
    .gallery-page-grid>.page-gallery-item:nth-child(5):last-child {
        grid-column: auto !important;
        grid-row: auto !important
    }

    .page-lightbox {
        padding: 18px
    }

    .page-lightbox-nav.prev {
        left: 10px
    }

    .page-lightbox-nav.next {
        right: 10px
    }

    .blog-breadcrumbs {
        padding-top: 110px;
    }

    .blog-post-title {
        font-size: 1.85rem;
    }

    .blog-post-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .blog-featured-frame {
        border-radius: 10px;
        max-height: 280px;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .blog-author-bio-card {
        flex-direction: column;
        gap: 14px;
    }
}