/* Talarpartner About Guide Frontend v1.3 */
.tp-about-page {
    --tp-about-navy: var(--tp-ref-ink, var(--tp-ref-navy, #0b1d2b));
    --tp-about-text: var(--tp-ref-text, var(--tp-ref-ink, #0b1d2b));
    --tp-about-muted: var(--tp-ref-muted, #5f6b70);
    --tp-about-accent: var(--tp-ref-accent, var(--tp-ref-gold, #c9964a));
    --tp-about-bg: var(--tp-ref-main-bg, var(--tp-ref-bg, #fffdf8));
    --tp-about-soft: var(--tp-ref-bg, #f7f3ec);
    --tp-about-card: var(--tp-ref-card, #fffdf8);
    --tp-about-button-bg: var(--tp-about-accent);
    --tp-about-button-text: #ffffff;
    --tp-about-cta-bg: linear-gradient(135deg, rgba(247,243,236,.9), rgba(255,255,255,.85));
    --tp-about-cta-text: var(--tp-about-text);
    --tp-about-line: rgba(11, 29, 43, .10);
    --tp-about-shadow: 0 18px 70px rgba(11, 29, 43, .08);

    width: min(1480px, calc(100% - 24px));
    margin: 0 auto;
    background: var(--tp-about-bg);
    color: var(--tp-about-text);
    box-shadow: var(--tp-about-shadow);
    overflow: hidden;
}

.tp-about-page a {
    color: inherit;
}

.tp-about-section-kicker,
.tp-about-mission span {
    display: block;
    margin-bottom: 14px;
    color: var(--tp-about-accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tp-about-hero {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
    min-height: 430px;
    border-bottom: 1px solid var(--tp-about-line);
}

.tp-about-hero-content {
    display: grid;
    align-content: center;
    padding: clamp(54px, 7vw, 96px) clamp(32px, 6vw, 86px);
}

.tp-about-hero h1 {
    max-width: 700px;
    margin: 0;
    color: var(--tp-about-navy);
    font-size: clamp(48px, 5.9vw, 92px);
    line-height: .96;
    letter-spacing: -.055em;
    font-weight: 650;
}

.tp-about-hero p {
    max-width: 560px;
    margin: 24px 0 0;
    color: var(--tp-about-text);
    font-size: 18px;
    line-height: 1.65;
}

.tp-about-button {
    width: fit-content;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
    padding: 13px 24px;
    border-radius: 4px;
    background: var(--tp-about-button-bg, var(--tp-about-accent));
    color: var(--tp-about-button-text, #fff) !important;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: 0 12px 34px rgba(201, 150, 74, .22);
}

.tp-about-button:hover {
    transform: translateY(-1px);
}

.tp-about-hero-media {
    min-height: 430px;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    background: linear-gradient(135deg, var(--tp-about-soft), var(--tp-about-card));
}

.tp-about-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    display: block;
    object-fit: cover;
}

.tp-about-hero-placeholder {
    width: 100%;
    height: 100%;
    min-height: 430px;
    background:
        radial-gradient(circle at 70% 35%, rgba(201,150,74,.20), transparent 28%),
        linear-gradient(135deg, #1b3444, #d9c8ad);
}

.tp-about-mission {
    display: grid;
    grid-template-columns: .35fr .65fr;
    gap: clamp(28px, 6vw, 80px);
    padding: clamp(40px, 5vw, 76px) clamp(32px, 6vw, 86px);
    border-bottom: 1px solid var(--tp-about-line);
    background: linear-gradient(180deg, rgba(247,243,236,.74), rgba(255,255,255,.4));
}

.tp-about-section-title h2,
.tp-about-why h2,
.tp-about-process h2,
.tp-about-values h2,
.tp-about-cta h2 {
    margin: 0;
    color: var(--tp-about-navy);
    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.06;
    letter-spacing: -.035em;
    font-weight: 600;
}

.tp-about-mission-text {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 38px;
    align-items: start;
}

.tp-about-mission-text p {
    margin: 0;
    color: var(--tp-about-text);
    font-size: 18px;
    line-height: 1.75;
}

.tp-about-mission-text a {
    padding-top: 8px;
    color: var(--tp-about-accent);
    font-weight: 900;
    text-decoration: none;
}

.tp-about-why,
.tp-about-process {
    padding: clamp(42px, 5vw, 76px) clamp(32px, 6vw, 86px);
    border-bottom: 1px solid var(--tp-about-line);
}

.tp-about-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin-top: 34px;
}

.tp-about-why-item {
    display: grid;
    gap: 12px;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
    padding-right: 12px;
}

.tp-about-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--tp-about-navy);
}

.tp-about-icon svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.tp-about-why-item h3 {
    margin: 0;
    color: var(--tp-about-navy);
    font-size: 18px;
    line-height: 1.2;
}

.tp-about-why-item p {
    grid-column: 2;
    margin: -5px 0 0;
    color: var(--tp-about-text);
    line-height: 1.55;
}

.tp-about-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
    margin-top: 34px;
}

.tp-about-process-step {
    position: relative;
    padding-top: 10px;
}

.tp-about-process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22px;
    right: -24px;
    width: 34px;
    height: 1px;
    background: var(--tp-about-button-bg, var(--tp-about-accent));
}

.tp-about-process-step span {
    color: var(--tp-about-accent);
    font-size: 13px;
    font-weight: 900;
}

.tp-about-process-step h3 {
    margin: 12px 0 8px;
    color: var(--tp-about-navy);
    font-size: 18px;
}

.tp-about-process-step p {
    margin: 0;
    color: var(--tp-about-text);
    line-height: 1.55;
}

.tp-about-values-quote {
    display: grid;
    grid-template-columns: .52fr .48fr;
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
    padding: clamp(40px, 5vw, 70px) clamp(32px, 6vw, 86px);
    border-bottom: 1px solid var(--tp-about-line);
    background: var(--tp-about-soft);
}

.tp-about-value-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.tp-about-value-list span {
    position: relative;
    font-weight: 900;
    color: var(--tp-about-navy);
}

.tp-about-value-list span:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 14px;
    margin-left: 20px;
    vertical-align: middle;
    background: var(--tp-about-button-bg, var(--tp-about-accent));
}

.tp-about-quote {
    margin: 0;
    padding-left: clamp(24px, 4vw, 54px);
    border-left: 1px solid rgba(11,29,43,.16);
}

.tp-about-quote > span {
    display: block;
    color: var(--tp-about-accent);
    font-size: 70px;
    line-height: .7;
    font-weight: 900;
}

.tp-about-quote p {
    margin: 10px 0 12px;
    color: var(--tp-about-navy);
    font-size: 18px;
    line-height: 1.65;
    font-style: italic;
}

.tp-about-quote cite {
    color: var(--tp-about-text);
    font-style: normal;
    font-weight: 800;
}

.tp-about-cta {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    padding: clamp(32px, 4vw, 54px) clamp(32px, 6vw, 86px);
    background: var(--tp-about-cta-bg, linear-gradient(135deg, rgba(247,243,236,.9), rgba(255,255,255,.85)));
}

.tp-about-cta p {
    margin: 10px 0 0;
    color: var(--tp-about-text);
    font-size: 17px;
}

.tp-about-cta .tp-about-button {
    margin-top: 0;
    flex: 0 0 auto;
}

@media (max-width: 1050px) {
    .tp-about-hero,
    .tp-about-mission,
    .tp-about-mission-text,
    .tp-about-values-quote {
        grid-template-columns: 1fr;
    }

    .tp-about-hero-media {
        clip-path: none;
        order: -1;
    }

    .tp-about-why-grid,
    .tp-about-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tp-about-process-step::after {
        display: none;
    }
}

@media (max-width: 700px) {
    .tp-about-page {
        width: calc(100% - 18px);
    }

    .tp-about-hero-content,
    .tp-about-mission,
    .tp-about-why,
    .tp-about-process,
    .tp-about-values-quote,
    .tp-about-cta {
        padding-left: 22px;
        padding-right: 22px;
    }

    .tp-about-why-grid,
    .tp-about-process-grid {
        grid-template-columns: 1fr;
    }

    .tp-about-why-item {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .tp-about-icon {
        width: 44px;
        height: 44px;
    }

    .tp-about-icon svg {
        width: 30px;
        height: 30px;
    }

    .tp-about-cta {
        display: grid;
    }

    .tp-about-hero h1 {
        font-size: clamp(44px, 13vw, 62px);
    }
}


/* v1.1 template integration
   /om-oss/ is rendered through the plugin template, so the about page is no
   longer nested inside the theme's default page content box. */
body.tp-about-guide-template-active .tp-about-page {
    margin-top: 0;
    margin-bottom: 0;
}

/* Safety only: if the shortcode is manually placed inside normal page content,
   don't create a second shadowed shell inside another shell. */
.tmv-inner-page .tp-about-page,
.tmv-post .tp-about-page,
.entry-content .tp-about-page {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-shadow: none;
}


/* ==========================================================================
   v1.2 Hero H1 system compatibility
   Om oss följer samma Hero H1-system som temat v10.8.26.
   ========================================================================== */

.tp-about-page {
    --tp-hero-h1-color: var(--tp-ref-ink, var(--tp-about-navy, #0b1d2b));
    --tp-hero-h1-size: clamp(3.15rem, 5.15vw, 5.55rem);
    --tp-hero-h1-size-mobile: clamp(2.55rem, 11vw, 3.65rem);
    --tp-hero-h1-line-height: 0.98;
    --tp-hero-h1-letter-spacing: -0.047em;
    --tp-hero-h1-weight: 650;
    --tp-hero-h1-max-width: 11.8ch;
}

.tp-about-page .tp-about-hero h1 {
    max-width: var(--tp-hero-h1-max-width) !important;
    margin: 0 0 22px !important;
    color: var(--tp-hero-h1-color) !important;
    font-family: inherit !important;
    font-size: var(--tp-hero-h1-size) !important;
    font-weight: var(--tp-hero-h1-weight) !important;
    line-height: var(--tp-hero-h1-line-height) !important;
    letter-spacing: var(--tp-hero-h1-letter-spacing) !important;
    text-wrap: balance;
}

@media (max-width: 860px) {
    .tp-about-page {
        --tp-hero-h1-size: clamp(2.85rem, 8.2vw, 4.25rem);
        --tp-hero-h1-line-height: 1.02;
        --tp-hero-h1-letter-spacing: -0.038em;
        --tp-hero-h1-max-width: 10.8ch;
    }
}

@media (max-width: 560px) {
    .tp-about-page {
        --tp-hero-h1-size: var(--tp-hero-h1-size-mobile);
        --tp-hero-h1-line-height: 1.04;
        --tp-hero-h1-letter-spacing: -0.028em;
        --tp-hero-h1-max-width: 10.5ch;
    }
}




/* ==========================================================================
   v1.4.0 theme-driven colors
   Om oss Guide äger innehåll/markup. Temat äger färger, knappar och visuell identitet.
   ========================================================================== */
