/*
 * plr-blog.css
 * Blog-specific styles for pastliferegressiondallas.com
 * Link AFTER plr-modern.css on all blog pages:
 *   <link href="/includes/plr-blog.css" rel="stylesheet" type="text/css" />
 *
 * Contains: blog hero, benefit list, CTA band, modal overlay
 * Does NOT modify any existing plr-modern.css rules.
 */

/* ── Blog Hero ─────────────────────────────────────────────────────────────── */
.plr-blog-hero {
    background-color: #0a1628;
    position: relative;
    padding: 110px 24px 64px;
    text-align: center;
    overflow: hidden;
}
.plr-blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/images/plr-hero-stars.jpg');
    background-size: cover;
    background-position: center 30%;
    filter: brightness(0.40);
}
.plr-blog-hero > * { position: relative; z-index: 1; }
.plr-blog-hero .plr-eyebrow {
    font-size: 0.72rem;
    color: var(--plr-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.plr-blog-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: #fff;
    margin: 0 auto 16px;
    max-width: 780px;
    text-wrap: balance;
}
.plr-blog-hero .plr-subtitle {
    font-size: 1.05rem;
    color: rgba(232,228,220,0.78);
    max-width: 640px;
    margin: 0 auto;
}

/* ── Blog Body ─────────────────────────────────────────────────────────────── */
.plr-blog-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}
.plr-blog-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(232,228,220,0.88);
    margin-bottom: 1.4em;
}
.plr-blog-body h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    color: var(--plr-gold);
    margin: 2em 0 0.6em;
}
.plr-blog-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: var(--plr-gold);
    margin: 1.6em 0 0.5em;
}
.plr-blog-body a {
    color: var(--plr-gold);
    text-decoration: underline;
}
.plr-blog-body a:hover {
    color: #e8c96a;
}
.plr-blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px auto;
    display: block;
}
.plr-blog-body ul {
    padding-left: 1.4rem;
    margin: 0 0 1.4em;
}
.plr-blog-body ul li {
    line-height: 1.8;
    margin-bottom: 0.5em;
    color: rgba(232,228,220,0.88);
}

/* ── Article Back Link ─────────────────────────────────────────────────────── */
.plr-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--plr-gold);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    margin-bottom: 40px;
}
.plr-back-link:hover {
    text-decoration: underline;
}
.plr-back-link::before {
    content: '\2190';
}

/* ── Zoom Availability Section ────────────────────────────────────────────── */
.plr-zoom-section {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: 12px;
    padding: 36px 32px;
    margin-top: 48px;
}
.plr-zoom-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    color: var(--plr-gold);
    margin-bottom: 16px;
}
.plr-zoom-section p {
    font-size: 0.97rem;
    color: rgba(232,228,220,0.78);
    line-height: 1.75;
    margin-bottom: 1em;
}

/* ── Article Video Embed ──────────────────────────────────────────────────── */
.plr-youtube-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin: 24px auto;
    max-width: 100%;
}
.plr-youtube-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Benefit List ──────────────────────────────────────────────────────────── */
.plr-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2em;
}
.plr-benefit-list li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 24px;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 10px;
    transition: border-color 0.18s, background 0.18s;
}
.plr-benefit-list li:hover {
    border-color: rgba(201,168,76,0.4);
    background: rgba(201,168,76,0.04);
}
.plr-benefit-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.9rem;
    color: var(--plr-gold);
    font-weight: 600;
}
.plr-benefit-text strong a {
    color: var(--plr-gold);
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Playfair Display', Georgia, serif;
}
.plr-benefit-text strong a:hover { text-decoration: underline; }
.plr-benefit-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(232,228,220,0.82);
}

/* ── CTA Band ──────────────────────────────────────────────────────────────── */
.plr-blog-cta-band {
    background: rgba(201,168,76,0.07);
    border-top: 1px solid rgba(201,168,76,0.2);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    text-align: center;
    padding: 48px 24px 48px;
    margin: 40px 0 0;
}
.plr-blog-cta-band h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--plr-gold);
    margin-bottom: 12px;
}
.plr-blog-cta-band p {
    color: rgba(232,228,220,0.78);
    max-width: 520px;
    margin: 0 auto 24px;
}
.plr-cta-btn-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Scheduling Modal (large white Acuity iframe) ──────────────────────────── */
/* The modal div must be placed OUTSIDE the <form runat="server"> tag          */
/* so ASP.NET does not strip the inline style="display:none"                   */
.plr-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 27, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.plr-modal-backdrop.plr-modal-open {
    display: flex;
    opacity: 1;
}
.plr-modal-container {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    height: 90vh;
    max-height: 800px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.25s ease;
}
.plr-modal-backdrop.plr-modal-open .plr-modal-container {
    transform: translateY(0);
}
.plr-modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    background: var(--plr-gold, #c9a84c);
    border: none;
    color: #0d1b2a;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 10000;
    transition: background 0.25s ease, transform 0.2s ease;
    line-height: 1;
}
.plr-modal-close:hover {
    background: #e8c96a;
    transform: scale(1.1);
}
.plr-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* ── Blog Home: Intro Strip ──────────────────────────────────────────────────── */
.plr-blog-intro {
    background: #0a1628;
    border-top: 1px solid rgba(201,168,76,0.15);
    border-bottom: 1px solid rgba(201,168,76,0.15);
    padding: 48px 24px;
    text-align: center;
}
.plr-blog-intro p {
    font-family: 'Inter', Verdana, sans-serif;
    font-size: 1.05rem;
    color: rgba(232,228,220,0.82);
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto 1em;
}
.plr-blog-intro p:last-child { margin-bottom: 0; }

/* ── Blog Home: Collections & Card Grid ──────────────────────────────────────── */
.plr-blog-collections {
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px 24px 80px;
}
.plr-blog-collection {
    margin-bottom: 80px;
    border-bottom: 1px solid rgba(201,168,76,0.12);
    padding-bottom: 72px;
}
.plr-blog-collection:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.plr-blog-collection-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.plr-blog-collection-label {
    font-family: 'Inter', Verdana, sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--plr-gold, #c9a84c);
    margin-bottom: 8px;
}
.plr-blog-collection-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    margin: 0;
    line-height: 1.2;
}
.plr-blog-collection-browse {
    font-family: 'Inter', Verdana, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--plr-gold, #c9a84c);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid rgba(201,168,76,0.4);
    padding-bottom: 2px;
    transition: color 0.15s, border-color 0.15s;
}
.plr-blog-collection-browse:hover {
    color: #e8c96a;
    border-color: #e8c96a;
}
.plr-blog-collection-intro {
    font-family: 'Inter', Verdana, sans-serif;
    font-size: 1rem;
    color: rgba(232,228,220,0.75);
    line-height: 1.8;
    max-width: 760px;
    margin-bottom: 36px;
}
.plr-blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}
.plr-blog-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 12px;
    padding: 28px 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.plr-blog-card:hover {
    background: rgba(201,168,76,0.06);
    border-color: rgba(201,168,76,0.4);
    transform: translateY(-3px);
}
.plr-blog-card-tag {
    font-family: 'Inter', Verdana, sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--plr-gold, #c9a84c);
}
.plr-blog-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
    line-height: 1.35;
}
.plr-blog-card p {
    font-family: 'Inter', Verdana, sans-serif;
    font-size: 0.9rem;
    color: rgba(232,228,220,0.68);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.plr-blog-card-arrow {
    font-size: 0.82rem;
    color: var(--plr-gold, #c9a84c);
    font-family: 'Inter', Verdana, sans-serif;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-top: 4px;
}
.plr-blog-all-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', Verdana, sans-serif;
    font-size: 0.88rem;
    color: rgba(232,228,220,0.6);
}
.plr-blog-all-link a {
    color: var(--plr-gold, #c9a84c);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(201,168,76,0.35);
    padding-bottom: 1px;
    transition: color 0.15s;
}
.plr-blog-all-link a:hover { color: #e8c96a; }

@media (max-width: 640px) {
    .plr-blog-collections { padding: 48px 16px 56px; }
    .plr-blog-collection { margin-bottom: 56px; padding-bottom: 48px; }
    .plr-blog-cards { grid-template-columns: 1fr; }
    .plr-blog-collection-header { flex-direction: column; align-items: flex-start; }
}
