/* Priyadarshika - blog list & blog details */
.pd-blog-section {
    --pd-gold: var(--main-600, hsl(39, 100%, 69%));
    --pd-gold-dark: #9a6b00;
    --pd-ink: #1d1d1b;
    --pd-muted: #6a665c;
    background: #f9f7e3;
    padding: 80px 0 30px;
}

.pd-bc-title { font-size: clamp(26px, 4vw, 48px); line-height: 1.2; }

/* ---------- Heading ---------- */
.pd-blog-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.pd-eyebrow {
    display: inline-block;
    font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: var(--pd-gold-dark);
    padding-bottom: 10px; margin-bottom: 8px;
    border-bottom: 3px solid var(--pd-gold);
}
.pd-blog-head h2 { font-size: clamp(28px, 4vw, 42px); color: var(--pd-ink); margin-bottom: 12px; }
.pd-blog-head p { color: var(--pd-muted); font-size: 17px; margin: 0; }

/* ---------- Shared bits ---------- */
.pd-tag {
    position: absolute; top: 16px; left: 16px;
    background: rgba(20, 20, 18, .78); color: var(--pd-gold);
    backdrop-filter: blur(4px);
    padding: 6px 14px; border-radius: 30px;
    font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
}
.pd-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--pd-muted); font-size: 14px; }
.pd-meta i { color: var(--pd-gold-dark); margin-right: 4px; }
.pd-meta--lg { font-size: 15px; margin: 22px 0 8px; padding-bottom: 18px; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.pd-readmore {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 700; color: var(--pd-gold-dark); text-decoration: none;
    margin-top: auto; transition: gap .3s ease, color .3s ease;
}
.pd-readmore:hover { gap: 12px; color: #000; }

/* ---------- Featured ---------- */
.pd-featured {
    display: grid; grid-template-columns: 1.15fr 1fr;
    background: #fff; border-radius: 24px; overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .1);
    text-decoration: none; color: inherit;
    margin-bottom: 56px;
    transition: transform .5s cubic-bezier(.22, .61, .36, 1), box-shadow .5s ease;
}
.pd-featured:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(0, 0, 0, .16); }
.pd-featured__img { position: relative; overflow: hidden; min-height: 380px; }
.pd-featured__img img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 1s cubic-bezier(.22, .61, .36, 1);
}
.pd-featured:hover .pd-featured__img img { transform: scale(1.07); }
.pd-featured__body { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.pd-featured__label {
    align-self: flex-start; background: var(--pd-gold); color: #1d1d1b;
    font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 30px;
}
.pd-featured__body h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; color: var(--pd-ink); margin: 0; }
.pd-featured__body p { color: var(--pd-muted); font-size: 16px; line-height: 1.75; margin: 0; }
.pd-featured .pd-readmore { margin-top: 6px; }

/* ---------- Grid cards ---------- */
.pd-card {
    display: flex; flex-direction: column;
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .07);
    transition: transform .45s cubic-bezier(.22, .61, .36, 1), box-shadow .45s ease;
}
.pd-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, .15); }
.pd-card__img { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 11; }
.pd-card__img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .9s cubic-bezier(.22, .61, .36, 1);
}
.pd-card:hover .pd-card__img img { transform: scale(1.1); }
.pd-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; flex: 1; }
.pd-card__body h4 { font-size: 21px; line-height: 1.35; margin: 0; }
.pd-card__body h4 a { color: var(--pd-ink); text-decoration: none; transition: color .3s ease; }
.pd-card__body h4 a:hover { color: var(--pd-gold-dark); }
.pd-card__body p {
    color: var(--pd-muted); font-size: 15px; line-height: 1.7; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Article ---------- */
.pd-article {
    background: #fff; border-radius: 24px; padding: 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .07);
}
.pd-article__hero { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; }
.pd-article__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-lead { font-size: 19px; line-height: 1.8; color: var(--pd-ink); font-weight: 500; margin: 20px 0 24px; }
.pd-article p { color: #4a463e; font-size: 16.5px; line-height: 1.85; margin-bottom: 16px; }
.pd-article__h {
    font-size: clamp(21px, 2.4vw, 27px); color: var(--pd-ink);
    margin: 34px 0 12px; padding-left: 14px; border-left: 4px solid var(--pd-gold); line-height: 1.3;
}

.pd-highlights { background: #fbf6e2; border: 1px solid rgba(201, 150, 43, .35); border-radius: 16px; padding: 22px 24px; }
.pd-highlights h5 { margin: 0 0 14px; font-size: 16px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--pd-gold-dark); }
.pd-highlights ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.pd-highlights li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--pd-ink); }
.pd-highlights li i { color: var(--pd-gold-dark); font-size: 20px; flex: 0 0 auto; }

/* CTA */
.pd-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
    margin-top: 40px; padding: 28px;
    border-radius: 18px; color: #fff;
    background: linear-gradient(120deg, #1d1b14, #3a2f10);
}
.pd-cta h4 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.pd-cta p { color: rgba(255, 255, 255, .8) !important; margin: 0; font-size: 15px !important; }
.pd-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }

.pd-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 12px;
    font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
}
.pd-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, .25); }
.pd-btn--wa { background: #25d366; color: #fff; }
.pd-btn--wa:hover { color: #fff; }
.pd-btn--call { background: var(--pd-gold); color: #1d1d1b; }
.pd-btn--call:hover { color: #000; }
.pd-btn--line { border: 2px solid var(--pd-gold); color: var(--pd-gold); }
.pd-btn--line:hover { background: var(--pd-gold); color: #1d1d1b; }

/* Prev / next */
.pd-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.pd-pager__item {
    display: flex; flex-direction: column; gap: 6px; padding: 18px 20px;
    border: 1px solid rgba(0, 0, 0, .1); border-radius: 14px;
    text-decoration: none; color: var(--pd-ink);
    transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.pd-pager__item:hover { border-color: var(--pd-gold); background: #fffaf0; transform: translateY(-3px); }
.pd-pager__item span { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--pd-gold-dark); }
.pd-pager__item strong { font-size: 15px; line-height: 1.4; font-weight: 600; }
.pd-pager__item--next { text-align: right; grid-column: 2; }

/* ---------- Sidebar ---------- */
.pd-side { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 24px; }
.pd-side__box { background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 8px 30px rgba(0, 0, 0, .07); }
.pd-side__box h5 {
    margin: 0 0 18px; padding-bottom: 12px; font-size: 18px; color: var(--pd-ink);
    border-bottom: 2px solid var(--pd-gold); display: inline-block;
}
.pd-side__post {
    display: flex; align-items: center; gap: 14px; padding: 10px 0;
    text-decoration: none; color: var(--pd-ink);
    border-bottom: 1px dashed rgba(0, 0, 0, .12);
    transition: transform .3s ease;
}
.pd-side__post:hover { transform: translateX(5px); }
.pd-side__post img { width: 78px; height: 64px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.pd-side__post strong { display: block; font-size: 14.5px; line-height: 1.35; font-weight: 600; }
.pd-side__post small { color: var(--pd-muted); font-size: 12.5px; }
.pd-side__box .pd-readmore { margin-top: 16px; }
.pd-side__call { background: linear-gradient(135deg, #1d1b14, #3a2f10); }
.pd-side__call h5 { color: #fff; }
.pd-side__call p { color: rgba(255, 255, 255, .8); margin-bottom: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .pd-blog-section { padding: 60px 0 24px; }
    .pd-featured { grid-template-columns: 1fr; }
    .pd-featured__img { min-height: 0; aspect-ratio: 16 / 10; }
    .pd-featured__body { padding: 30px 26px; }
    .pd-side { position: static; }
}

@media (max-width: 575px) {
    .pd-blog-section { padding: 44px 0 16px; }
    .pd-blog-head { margin-bottom: 32px; }
    .pd-featured { margin-bottom: 36px; border-radius: 18px; }
    .pd-featured__body { padding: 24px 20px; }
    .pd-article { padding: 14px; border-radius: 18px; }
    .pd-lead { font-size: 17px; }
    .pd-article p { font-size: 16px; }
    .pd-highlights ul { grid-template-columns: 1fr; }
    .pd-cta { padding: 22px 18px; }
    .pd-cta__btns, .pd-cta__btns .pd-btn { width: 100%; }
    .pd-pager { grid-template-columns: 1fr; }
    .pd-pager__item--next { grid-column: auto; text-align: left; }
}

/* no extra gap between the blog section and the footer */
.pd-blog-section ~ .footer,
.pd-blog-section + .footer { margin-top: 0 !important; }
.pd-blog-section .pd-grid { margin-bottom: 0; }
