/* ============================================================
   GLOBAL GUIDE STYLING
============================================================ */
:root {
    --guide-accent: #0a7cff;
    --guide-bg-light: #f7f7f7;
    --guide-border: #e5e5e5;
    --guide-text: #222;
    --guide-muted: #666;
    --guide-radius: 12px;
}

.guide-wrapper {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: inherit;
}

.guide-wrapper section {
    margin-bottom: 60px;
}

/* ============================================================
   HERO
============================================================ */
.guide-hero {
    position: relative;
    display: grid;
    gap: 30px;
    align-items: center;
}

.guide-hero__inner {
    max-width: 650px;
}

.guide-hero__subtitle {
    display: inline-block;
    color: var(--guide-accent);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.guide-hero__title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 700;
}

.guide-hero__text {
    font-size: 1.1rem;
    color: var(--guide-text);
    margin-bottom: 20px;
}

.guide-hero__cta {
    display: inline-block;
    background: var(--guide-accent);
    color: white;
    padding: 12px 20px;
    border-radius: var(--guide-radius);
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}

.guide-hero__cta:hover {
    background: #005fcc;
}

.guide-hero__image img {
    width: 100%;
    border-radius: var(--guide-radius);
}

/* ============================================================
   HERO – Bild alltid överst (desktop + mobil)
============================================================ */

.guide-hero {
    display: flex;
    flex-direction: column;
}

.guide-hero__image {
    order: -1; /* Flytta bilden högst upp */
    margin-bottom: 25px;
}

.guide-hero__inner {
    order: 2;
}

/* ============================================================
   TEXTBLOCK — TITEL + TEXT
============================================================ */
.guide-section__title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.guide-section__content {
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--guide-text);
}

.guide-section__content p {
    margin-bottom: 18px;
}

/* ============================================================
   TEXTBLOCK — BILD
============================================================ */
.guide-textblock__image img {
    max-width: 100%;
    border-radius: var(--guide-radius);
    margin-bottom: 20px;
}

/* Bildplacering desktop */
.align-left .guide-textblock__image img {
    float: left;
    width: 45%;
    margin-right: 25px;
}

.align-right .guide-textblock__image img {
    float: right;
    width: 45%;
    margin-left: 25px;
}

.align-center .guide-textblock__image img {
    display: block;
    margin: 0 auto 25px auto;
}

.align-full .guide-textblock__image img {
    width: 100%;
    display: block;
    margin-bottom: 25px;
}

/* Rensa float */
.guide-textblock::after {
    content: "";
    display: block;
    clear: both;
}

/* Mobiloptimering */
@media (max-width: 768px) {
    .guide-textblock__image img {
        float: none !important;
        width: 100% !important;
        margin: 0 0 20px 0 !important;
        display: block;
    }
}

/* ============================================================
   INFOBOX
============================================================ */
.guide-infobox {
    background: var(--guide-bg-light);
    padding: 25px;
    border-radius: var(--guide-radius);
    border: 1px solid var(--guide-border);
}

.guide-infobox__inner {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.guide-infobox__icon img {
    width: 42px;
    height: 42px;
}

.guide-infobox__icon i {
    font-size: 36px;
    color: var(--guide-accent);
}

.guide-infobox__title {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.guide-infobox__text {
    color: var(--guide-muted);
}

/* ============================================================
   PRODUCT LIST
============================================================ */
.guide-productlist__item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--guide-border);
}

.guide-productlist__item:last-child {
    border-bottom: none;
}

.guide-productlist__image img {
    width: 100%;
    border-radius: var(--guide-radius);
}

.guide-productlist__title {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.guide-productlist__price {
    font-weight: 600;
    color: var(--guide-accent);
    margin-bottom: 8px;
}

.guide-productlist__description {
    color: var(--guide-muted);
}

/* ============================================================
   COMPARISON TABLE
============================================================ */

.guide-table__inner {
    overflow-x: auto;
    margin: 30px 0;
}

.guide-comparison_table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    border-radius: var(--guide-radius);
    overflow: hidden;
    background: #fff;
    font-size: 1rem;
}

/* Kolumnrubriker */
.guide-comparison_table thead th {
    background: var(--guide-bg-light);
    font-weight: 700;
    text-align: center;
    padding: 14px 16px;
    border-bottom: 2px solid var(--guide-border);
}

/* Celler */
.guide-comparison_table td,
.guide-comparison_table th {
    padding: 14px 16px;
    border: 1px solid var(--guide-border);
    vertical-align: middle;
}

/* Vänster rad-etikett */
.guide-table__row-label {
    background: #fafafa;
    font-weight: 600;
    width: 180px;
    white-space: nowrap;
}

/* Zebra-effekt */
.guide-comparison_table tbody tr:nth-child(even) td {
    background: #fcfcfc;
}

/* Mobiloptimering */
@media (max-width: 600px) {
    .guide-comparison_table td,
    .guide-comparison_table th {
        padding: 10px 12px;
        font-size: 0.95rem;
        white-space: normal;
    }

    .guide-table__row-label {
        width: auto;
        white-space: normal;
    }
}


/* ============================================================
   FAQ
============================================================ */
.guide-faq__item {
    margin-bottom: 10px;
    border: 1px solid var(--guide-border);
    border-radius: var(--guide-radius);
    overflow: hidden;
}

.guide-faq__question {
    all: unset;
    display: block;
    width: 100%;
    padding: 16px;
    background: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--guide-text);
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
    position: relative;
    border-bottom: 1px solid var(--guide-border);
}

/* Pilikon */
.guide-faq__question .faq-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--guide-text);
    border-bottom: 2px solid var(--guide-text);
    transform: translateY(-50%) rotate(45deg);
    transition: transform .25s ease;
}

.guide-faq__item.active .faq-arrow {
    transform: translateY(-50%) rotate(225deg);
}

/* Svar */
.guide-faq__answer {
    display: none;
    padding: 16px;
    background: #fafafa;
    color: var(--guide-text);
    line-height: 1.6;
    overflow: hidden;
    max-height: 0;
    transition: max-height .25s ease;
}

/* ============================================================
   IMAGEBLOCK
============================================================ */
.guide-imageblock {
    text-align: center;
}

.guide-imageblock img {
    max-width: 100%;
    border-radius: var(--guide-radius);
}

.guide-imageblock__caption {
    color: var(--guide-muted);
    margin-top: 6px;
    font-size: 0.9rem;
}

/* ============================================================
   RELATED GUIDES
============================================================ */
.guide-related__heading {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.guide-related__list {
    display: grid;
    gap: 20px;
}

.guide-related__item {
    border: 1px solid var(--guide-border);
    border-radius: var(--guide-radius);
    padding: 18px;
    text-decoration: none;
    color: var(--guide-text);
    transition: box-shadow .2s;
}

.guide-related__item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.guide-related__item h3 {
    margin-bottom: 8px;
}

/* ============================================================
   SEO BLOCK
============================================================ */
.guide-seo-block__title {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.guide-seo-block__text p {
    margin-bottom: 14px;
}

/* ============================================================
   FIX: VC OVERLAY
============================================================ */
.vc-drawer__backdrop {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

/* ============================================================
   ARCHIVE: Pleasure Magazine
============================================================ */

.guide-archive-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.guide-archive-subtitle {
    font-size: 1.15rem;
    color: var(--guide-muted);
    margin-bottom: 40px;
}

.guide-archive-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.guide-archive-card {
    display: block;
    border: 1px solid var(--guide-border);
    border-radius: var(--guide-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: box-shadow .2s ease;
}

.guide-archive-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.guide-archive-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.guide-archive-card-content {
    padding: 18px;
}

.guide-archive-card-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.guide-archive-card-excerpt {
    color: var(--guide-muted);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.guide-archive-readmore {
    font-weight: 600;
    color: var(--guide-accent);
    font-size: 0.95rem;
}

.guide-archive-pagination {
    margin-top: 40px;
    text-align: center;
}

/* ============================================================
   Pleasure Magazine – Intro / Description
============================================================ */

.guide-archive-description {
    max-width: 820px;            /* bra läsbredd */
    margin: 0 auto 50px;         /* centrerad + luft nedåt */
    padding: 0 20px;             /* säker mobil-padding */
}

.guide-archive-description h2 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.guide-archive-description p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--guide-muted);
    margin-bottom: 14px;
}

/* sista stycket får inte extra luft */
.guide-archive-description p:last-child {
    margin-bottom: 0;
}