/* ═══════════════════════════════════════════════════════════════════
   IPTV4U — Guide Article Premium CSS
   Scope: #guide-page .gp-*
   ═══════════════════════════════════════════════════════════════════ */

/* ── Reading Progress Bar ── */
.gp-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ── Variables ── */
#guide-page {
    --em: #10b981;
    --em-dark: #064e3b;
    --em-glow: #34d399;
    --em-bright: #6ee7b7;
    --em-muted: rgba(16, 185, 129, 0.10);
    --bg: #010d08;
    --bg-card: rgba(4, 30, 20, 0.45);
    --bg-card-hover: rgba(6, 45, 30, 0.65);
    --text: #f0fdf4;
    --text-body: #d1fae5;
    --text-muted: #a7f3d0;
    --border: rgba(16, 185, 129, 0.06);
    --border-em: rgba(52, 211, 153, 0.20);
    --radius: 20px;
    --radius-sm: 14px;
    --shadow-glow: 0 0 60px rgba(16, 185, 129, 0.12);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    background-color: #01120a;
    background-image: 
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
        radial-gradient(circle at top left, rgba(4, 120, 87, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(52, 211, 153, 0.05) 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.85;
    position: relative;
    overflow: hidden;
    padding-bottom: 0px; /* Force px so regex matches if needed later */
}

/* ── Layout ── */
#guide-page .gp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}
#guide-page .gp-narrow {
    max-width: 820px;
}

/* ── Typography ── */
#guide-page h1,
#guide-page h2,
#guide-page h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.2;
}

/* ── Scroll Animations ── */
#guide-page .gp-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
#guide-page .gp-animate.gp-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ═══════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════ */
#guide-page .gp-hero {
    padding: 130px 0 90px;
    text-align: center;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(16, 185, 129, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 30% 20%, rgba(52, 211, 153, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(110, 231, 183, 0.04) 0%, transparent 35%);
    position: relative;
    z-index: 1;
}
#guide-page .gp-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--em), transparent);
    opacity: 0.3;
}
#guide-page .gp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--em-glow);
    border: 1px solid var(--border-em);
    padding: 9px 22px;
    border-radius: 100px;
    margin-bottom: 32px;
    background: var(--em-muted);
    text-transform: uppercase;
}
#guide-page .gp-badge-dot {
    width: 7px; height: 7px;
    background: var(--em);
    border-radius: 50%;
    display: inline-block;
    animation: gp-pulse-dot 2s infinite;
}
@keyframes gp-pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
#guide-page .gp-hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.8rem);
    margin: 0 0 28px;
    background: linear-gradient(180deg, #fff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
#guide-page .gp-hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 45px;
    font-weight: 300;
    line-height: 1.7;
}

/* ── Buttons ── */
#guide-page .gp-btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #10b981, #34d399, #6ee7b7);
    background-size: 200% 200%;
    animation: gp-btn-shimmer 3s ease-in-out infinite;
    color: #021a12;
    padding: 17px 42px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(16, 185, 129, 0.3), 0 0 60px rgba(16, 185, 129, 0.1);
    position: relative;
}
@keyframes gp-btn-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
#guide-page .gp-btn-glow:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.45), 0 0 80px rgba(52, 211, 153, 0.2);
}
#guide-page .gp-btn-arrow {
    transition: transform 0.3s;
}
#guide-page .gp-btn-glow:hover .gp-btn-arrow {
    transform: translateX(6px);
}
#guide-page .gp-hero-cta {
    box-shadow: 0 0 70px rgba(16, 185, 129, 0.3), 0 0 120px rgba(16, 185, 129, 0.1);
    animation: gp-btn-shimmer 3s ease-in-out infinite, gp-cta-pulse 4s ease-in-out infinite;
}
@keyframes gp-cta-pulse {
    0%, 100% { box-shadow: 0 0 70px rgba(16, 185, 129, 0.3), 0 0 120px rgba(16, 185, 129, 0.1); }
    50% { box-shadow: 0 0 90px rgba(16, 185, 129, 0.45), 0 0 150px rgba(16, 185, 129, 0.15); }
}

/* ═══════════════════════════════════
   CONTENT WRAPPER
   ═══════════════════════════════════ */
#guide-page .gp-content-wrapper {
    padding: 30px 0 60px;
    position: relative;
    z-index: 1;
}
#guide-page .gp-section {
    margin-bottom: 55px;
}

/* ═══════════════════════════════════
   INTRO SECTION
   ═══════════════════════════════════ */
#guide-page .gp-intro {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--em);
    border-radius: var(--radius-sm);
    padding: 35px 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}
#guide-page .gp-intro::before {
    content: '"';
    position: absolute;
    top: -15px; left: 20px;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: rgba(16, 185, 129, 0.06);
    line-height: 1;
    pointer-events: none;
}
#guide-page .gp-intro-text {
    color: var(--text-body);
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.9;
}
#guide-page .gp-intro-text::first-letter {
    font-size: 3.2em;
    float: left;
    line-height: 0.85;
    margin-right: 12px;
    margin-top: 5px;
    font-weight: 800;
    color: var(--em-glow);
    font-family: Georgia, serif;
}

/* ═══════════════════════════════════
   CONTENT BLOCKS
   ═══════════════════════════════════ */
#guide-page .gp-content-block {
    position: relative;
    padding-left: 0;
}
#guide-page .gp-content-num {
    position: absolute;
    top: -10px; right: 0;
    font-size: 7rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
#guide-page .gp-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.9rem;
    margin: 0 0 25px;
    color: var(--em-glow);
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
#guide-page .gp-heading-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}
#guide-page .gp-paragraph {
    color: var(--text-body);
    margin-bottom: 22px;
    text-align: left;
}
#guide-page .gp-paragraph:last-child {
    margin-bottom: 0;
}
#guide-page .gp-internal-link {
    color: var(--em-glow);
    text-decoration: none;
    border-bottom: 1px dashed var(--em-glow);
    padding-bottom: 1px;
    transition: all 0.25s ease;
    font-weight: 500;
}
#guide-page .gp-internal-link:hover {
    color: #fff;
    border-bottom-style: solid;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}
#guide-page .gp-cta-inline {
    color: var(--em-glow);
    text-decoration: none;
    font-weight: 700;
    background: var(--em-muted);
    padding: 2px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-em);
    transition: all 0.25s ease;
}
#guide-page .gp-cta-inline:hover {
    background: var(--em);
    color: #000;
    border-color: var(--em);
}

/* ═══════════════════════════════════
   TABLE SECTION
   ═══════════════════════════════════ */
#guide-page .gp-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
#guide-page .gp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
}
#guide-page .gp-table th {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.08));
    color: var(--em-glow);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 18px 22px;
    text-align: left;
    border-bottom: 1px solid var(--border-em);
}
#guide-page .gp-table td {
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
    transition: background 0.2s;
}
#guide-page .gp-table tr:last-child td {
    border-bottom: none;
}
#guide-page .gp-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}
#guide-page .gp-row-highlight td {
    background: rgba(16, 185, 129, 0.06) !important;
    font-weight: 600;
    color: #fff;
}
#guide-page .gp-row-highlight td:first-child {
    position: relative;
}
#guide-page .gp-row-highlight td:first-child::before {
    content: '★';
    margin-right: 8px;
    color: var(--em-glow);
}
#guide-page .gp-recommend-tag {
    display: inline-block;
    background: var(--em);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 10px;
    vertical-align: middle;
}

/* ═══════════════════════════════════
   STEPS / TIMELINE
   ═══════════════════════════════════ */
#guide-page .gp-steps {
    position: relative;
    padding-left: 45px;
}
#guide-page .gp-steps::before {
    content: '';
    position: absolute;
    top: 0; left: 18px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--em), var(--border), transparent);
    border-radius: 2px;
}
#guide-page .gp-step {
    position: relative;
    margin-bottom: 35px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 30px 32px;
    transition: var(--transition);
}
#guide-page .gp-step:hover {
    transform: translateY(-4px);
    border-color: var(--border-em);
    box-shadow: var(--shadow-glow);
}
#guide-page .gp-step:last-child {
    margin-bottom: 0;
}
#guide-page .gp-step-circle {
    position: absolute;
    left: -45px; top: 30px;
    width: 36px; height: 36px;
    background: var(--bg);
    border: 2px solid var(--em);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--em-glow);
    z-index: 3;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}
#guide-page .gp-step-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
#guide-page .gp-step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}
#guide-page .gp-step-text {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════
   TIP / EXPERT ADVICE
   ═══════════════════════════════════ */
#guide-page .gp-tip {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(16, 185, 129, 0.01));
    border: 1px solid var(--border-em);
    border-left: 5px solid var(--em);
    border-radius: var(--radius-sm);
    padding: 32px 36px;
    position: relative;
    overflow: hidden;
}
#guide-page .gp-tip::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(16,185,129,0.08), transparent 70%);
    pointer-events: none;
}
#guide-page .gp-tip-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
#guide-page .gp-tip-icon {
    font-size: 1.6rem;
    animation: gp-pulse-icon 2.5s ease-in-out infinite;
}
@keyframes gp-pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
#guide-page .gp-tip-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--em-glow);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
#guide-page .gp-tip-text {
    color: var(--text-body);
    margin: 0;
    font-style: italic;
    line-height: 1.8;
}

/* ═══════════════════════════════════
   FEATURES GRID
   ═══════════════════════════════════ */
#guide-page .gp-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
}
#guide-page .gp-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 35px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
#guide-page .gp-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--em), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
#guide-page .gp-feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-em);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}
#guide-page .gp-feature-card:hover::before {
    opacity: 1;
}
#guide-page .gp-feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    display: block;
}
#guide-page .gp-feature-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 12px;
}
#guide-page .gp-feature-text {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════ */
#guide-page .gp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
}
#guide-page .gp-faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.3s;
}
#guide-page .gp-faq-item:hover,
#guide-page .gp-faq-item[open] {
    border-color: var(--border-em);
}
#guide-page .gp-faq-item summary {
    padding: 22px 28px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: background 0.2s;
    font-size: 1rem;
}
#guide-page .gp-faq-item summary::-webkit-details-marker {
    display: none;
}
#guide-page .gp-faq-item summary:hover {
    background: rgba(255, 255, 255, 0.02);
}
#guide-page .gp-faq-toggle {
    width: 28px; height: 28px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--em-glow);
    flex-shrink: 0;
    transition: var(--transition);
}
#guide-page .gp-faq-item[open] .gp-faq-toggle {
    transform: rotate(45deg);
    background: var(--em-muted);
    border-color: var(--em);
}
#guide-page .gp-faq-answer {
    padding: 0 28px 24px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    margin-top: -2px;
    padding-top: 20px;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════
   CTA MID (Intermédiaire)
   ═══════════════════════════════════ */
#guide-page .gp-cta-mid {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 78, 59, 0.15));
    border: 1px solid var(--border-em);
    border-radius: var(--radius);
    padding: 45px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
#guide-page .gp-cta-mid::before,
#guide-page .gp-cta-mid::after {
    content: '';
    position: absolute;
    width: 200px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--em), transparent);
    left: 50%;
    transform: translateX(-50%);
}
#guide-page .gp-cta-mid::before { top: 0; }
#guide-page .gp-cta-mid::after { bottom: 0; }
#guide-page .gp-cta-mid-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
}
#guide-page .gp-cta-mid .gp-btn-glow {
    font-size: 0.95rem;
    padding: 14px 36px;
}

/* ═══════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════ */
#guide-page .gp-cta-final {
    padding: 80px 0 100px;
    position: relative;
    z-index: 1;
}
#guide-page .gp-cta-box {
    background: linear-gradient(135deg, var(--em-dark), #020617 70%);
    padding: 65px;
    border-radius: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--em);
    box-shadow: 0 25px 70px -20px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}
#guide-page .gp-cta-box::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1), transparent 60%);
    pointer-events: none;
}
#guide-page .gp-cta-text h3 {
    font-size: 2.2rem;
    margin: 0 0 12px;
    color: #fff;
}
#guide-page .gp-cta-text p {
    color: #d1fae5;
    font-size: 1.15rem;
    margin: 0;
    font-weight: 300;
}

/* ═══════════════════════════════════
   LEGACY HTML CONTENT
   ═══════════════════════════════════ */
#guide-page .gp-legacy-html p {
    margin-bottom: 25px;
    color: var(--text-body);
}
#guide-page .gp-legacy-html h2 {
    font-size: 2rem;
    margin: 55px 0 22px;
    color: var(--em-glow);
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
}
#guide-page .gp-legacy-html h3 {
    font-size: 1.5rem;
    margin: 35px 0 18px;
    color: #f1f5f9;
}
#guide-page .gp-legacy-html ul,
#guide-page .gp-legacy-html ol {
    margin: 22px 0;
    padding-left: 0;
    color: var(--text-body);
    list-style: none;
}
#guide-page .gp-legacy-html li {
    margin-bottom: 14px;
    position: relative;
    padding-left: 26px;
}
#guide-page .gp-legacy-html ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--em);
    font-weight: 800;
}
#guide-page .gp-legacy-html blockquote {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid var(--border-em);
    border-left-width: 5px;
    border-left-color: var(--em);
    padding: 28px;
    border-radius: var(--radius-sm);
    margin: 35px 0;
}
#guide-page .gp-legacy-html blockquote strong {
    color: var(--em-glow);
    display: block;
    margin-bottom: 8px;
}
#guide-page .gp-legacy-html table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 35px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-card);
}
#guide-page .gp-legacy-html th,
#guide-page .gp-legacy-html td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
#guide-page .gp-legacy-html th {
    background: rgba(16, 185, 129, 0.12);
    color: var(--em-glow);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
}
#guide-page .gp-legacy-html tr:last-child td {
    border-bottom: none;
}
#guide-page .gp-legacy-html a {
    color: var(--em-glow);
    text-decoration: none;
    border-bottom: 1px dashed var(--em-glow);
    transition: 0.2s;
}
#guide-page .gp-legacy-html a:hover {
    color: #fff;
    border-bottom-style: solid;
}

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */
@media (max-width: 900px) {
    #guide-page { font-size: 16px; }
    #guide-page .gp-hero { padding: 100px 0 60px; }
    #guide-page .gp-hero-title { font-size: 2.4rem; }
    #guide-page .gp-hero-sub { font-size: 1.1rem; }
    #guide-page .gp-heading { font-size: 1.55rem; }
    #guide-page .gp-features-grid { grid-template-columns: 1fr; }
    #guide-page .gp-cta-box {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 45px 30px;
    }
    #guide-page .gp-cta-text h3 { font-size: 1.7rem; }
    #guide-page .gp-intro { padding: 28px 24px; }
    #guide-page .gp-step { padding: 24px; }
    #guide-page .gp-tip { padding: 24px 28px; }
    #guide-page .gp-cta-mid { padding: 35px 24px; }
    #guide-page .gp-content-num { font-size: 5rem; }
}

@media (max-width: 600px) {
    #guide-page .gp-hero-title { font-size: 2rem; }
    #guide-page .gp-container { padding: 0 16px; }
    #guide-page .gp-btn-glow { padding: 14px 30px; font-size: 0.95rem; }
    #guide-page .gp-steps { padding-left: 35px; }
    #guide-page .gp-step-circle { left: -35px; width: 30px; height: 30px; font-size: 0.65rem; }
    #guide-page .gp-cta-box { padding: 35px 20px; border-radius: 20px; }
    #guide-page .gp-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
    #guide-page .gp-table { font-size: 0.85rem; }
    #guide-page .gp-table th,
    #guide-page .gp-table td { padding: 12px 14px; }
    #guide-page .gp-toc { margin: 0 16px; }
    #guide-page .gp-related-grid { grid-template-columns: 1fr; }
    #guide-page .gp-breadcrumb { font-size: 0.7rem; }
}

/* ═══════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════ */
#guide-page .gp-breadcrumb {
    padding: 20px 0 0;
    position: relative;
    z-index: 2;
    font-size: 0.82rem;
}
#guide-page .gp-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
#guide-page .gp-breadcrumb a:hover {
    color: var(--em-glow);
}
#guide-page .gp-bc-sep {
    color: var(--text-muted);
    margin: 0 8px;
    opacity: 0.5;
}
#guide-page .gp-bc-current {
    color: var(--em-glow);
    font-weight: 600;
    max-width: 300px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

/* ═══════════════════════════════════
   READING TIME
   ═══════════════════════════════════ */
#guide-page .gp-hero-meta {
    margin-bottom: 28px;
}
#guide-page .gp-read-time {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 6px 18px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

/* ═══════════════════════════════════
   TABLE OF CONTENTS
   ═══════════════════════════════════ */
#guide-page .gp-toc {
    margin-bottom: 40px;
}
#guide-page .gp-toc-details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
#guide-page .gp-toc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 28px;
    cursor: pointer;
    list-style: none;
    transition: background 0.2s;
}
#guide-page .gp-toc-header::-webkit-details-marker {
    display: none;
}
#guide-page .gp-toc-header:hover {
    background: rgba(255, 255, 255, 0.02);
}
#guide-page .gp-toc-icon {
    font-size: 1.3rem;
}
#guide-page .gp-toc-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    flex: 1;
}
#guide-page .gp-toc-toggle {
    color: var(--em-glow);
    font-size: 0.8rem;
    transition: transform 0.3s;
}
#guide-page .gp-toc-details[open] .gp-toc-toggle {
    transform: rotate(180deg);
}
#guide-page .gp-toc-list {
    padding: 0 28px 24px 48px;
    margin: 0;
    border-top: 1px solid var(--border);
    counter-reset: toc;
}
#guide-page .gp-toc-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    list-style: none;
    counter-increment: toc;
}
#guide-page .gp-toc-list li::before {
    content: counter(toc, decimal-leading-zero) ".";
    color: var(--em);
    font-weight: 800;
    font-size: 0.8rem;
    margin-right: 12px;
}
#guide-page .gp-toc-list li:last-child {
    border-bottom: none;
}
#guide-page .gp-toc-list a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
}
#guide-page .gp-toc-list a:hover {
    color: var(--em-glow);
    padding-left: 6px;
}

/* ═══════════════════════════════════
   RELATED ARTICLES
   ═══════════════════════════════════ */
.gp-related {
    padding: 60px 0 80px;
    position: relative;
    z-index: 1;
}
.gp-related .gp-heading {
    color: var(--em-glow);
}
.gp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gp-related-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}
.gp-related-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--em), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.gp-related-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-em);
    box-shadow: 0 15px 40px -10px rgba(16, 185, 129, 0.2);
}
.gp-related-card:hover::before {
    opacity: 1;
}
.gp-related-cat {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--em-glow);
    letter-spacing: 0.12em;
    background: var(--em-muted);
    padding: 4px 12px;
    border-radius: 100px;
    display: inline-block;
    width: fit-content;
}
.gp-related-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gp-related-keyword {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.gp-related-arrow {
    font-size: 0.85rem;
    color: var(--em-glow);
    font-weight: 700;
    margin-top: auto;
    transition: padding-left 0.2s;
}
.gp-related-card:hover .gp-related-arrow {
    padding-left: 8px;
}

@media (max-width: 900px) {
    .gp-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .gp-related-grid { grid-template-columns: 1fr; }
}
