/*
 * WP SERVICE PAGE
 * ==========================================================================
 * Obecná šablona pro stránky načítané z databáze WordPressu.
 *
 * Cíl:
 * - stránka má působit jako nabídka služby, nikoliv jako blogový článek;
 * - běžné Gutenberg bloky mají použitelné výchozí styly;
 * - nové komponenty lze přidávat postupně pouze do tohoto CSS souboru.
 *
 * Všechny styly jsou uzavřené pod .wp-service-page nebo .wp-service-content,
 * aby neovlivnily homepage, blog ani ručně vytvořené TPL stránky.
 */


/* ==========================================================================
   Základ
   ========================================================================== */

.wp-service-page {
    background: #fff;
    color: #17283d;
}

.wp-service-main {
    overflow: hidden;
}

.wp-service-eyebrow,
.wp-service-sidebar__eyebrow,
.wp-service-contact__eyebrow,
.wp-service-trust-panel__eyebrow {
    margin: 0;
    color: #e95314;
    font-size: 1.28rem;
    font-weight: 820;
    letter-spacing: 0.13em;
    line-height: 1.35;
    text-transform: uppercase;
}


/* ==========================================================================
   Tlačítka a odkazy
   ========================================================================== */

.wp-service-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 5.2rem;
    padding: 1.35rem 2.1rem;
    color: #fff;
    background: #e95314;
    border: 1px solid #e95314;
    border-radius: 0;
    font-size: 1.52rem;
    font-weight: 780;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.wp-service-button:hover {
    color: #fff;
    background: #10243d;
    border-color: #10243d;
    text-decoration: none;
    transform: translateY(-0.15rem);
}

.wp-service-button--full {
    width: 100%;
}

.wp-service-button--outline {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.52);
}

.wp-service-button--outline:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.84);
}

.wp-service-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #234366;
    font-size: 1.5rem;
    font-weight: 760;
    text-decoration: none;
}

.wp-service-text-link:hover {
    color: #e95314;
    text-decoration: none;
}

.wp-service-text-link span {
    color: #e95314;
    font-size: 1.8rem;
    line-height: 1;
}


/* ==========================================================================
   Hero: výraznější nabídka služby
   ========================================================================== */

.wp-service-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 7.8rem 0 7.2rem;
    background:
        radial-gradient(75rem 34rem at 11% 9%, rgba(239, 223, 183, 0.31), transparent 75%),
        radial-gradient(76rem 36rem at 86% 83%, rgba(209, 233, 233, 0.34), transparent 73%),
        linear-gradient(135deg, #fbfaf7 0%, #ffffff 54%, #f7fbfb 100%);
    border-top: 1px solid rgba(16, 36, 61, 0.05);
    border-bottom: 1px solid rgba(16, 36, 61, 0.08);
}

.wp-service-hero::before,
.wp-service-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: -8vw;
    width: 116vw;
    height: 17rem;
    border-radius: 50%;
    border-top: 1px solid rgba(31, 63, 122, 0.065);
    pointer-events: none;
}

.wp-service-hero::before {
    top: 2rem;
    transform: rotate(4deg);
}

.wp-service-hero::after {
    bottom: -9rem;
    transform: rotate(-3deg);
}

.wp-service-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(32rem, 0.72fr);
    gap: 6.5rem;
    align-items: center;
    max-width: 120rem;
    margin: 0 auto;
}

.wp-service-hero__inner--simple {
    display: block;
    max-width: 94rem;
}

.wp-service-hero__content {
    max-width: 77rem;
}

.wp-service-hero h1 {
    max-width: 82rem;
    margin: 1.35rem 0 0;
    color: #10243d;
    font-size: clamp(4.4rem, 5.4vw, 7rem);
    font-weight: 820;
    letter-spacing: -0.06em;
    line-height: 0.99;
}

.wp-service-page--simple .wp-service-hero h1 {
    margin-top: 0;
    font-size: clamp(3.8rem, 4.6vw, 5.8rem);
    line-height: 1.04;
}

.wp-service-hero__lead {
    max-width: 76rem;
    margin: 2.4rem 0 0;
    color: #3e5063;
    font-size: 2.05rem;
    line-height: 1.6;
}

.wp-service-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.7rem 2.2rem;
    margin-top: 3.2rem;
}


/* ==========================================================================
   Hero: panel důvěryhodnosti
   ========================================================================== */

.wp-service-trust-panel {
    padding: 3.3rem 3.2rem 3rem;
    color: #fff;
    background: #10243d;
    border-left: 0.45rem solid #e95314;
    box-shadow: 0 2rem 4rem rgba(16, 36, 61, 0.14);
}

.wp-service-trust-panel h2 {
    margin: 1.25rem 0 0;
    color: #fff;
    font-size: 3rem;
    font-weight: 810;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.wp-service-trust-panel > p:not(.wp-service-trust-panel__eyebrow) {
    margin: 1.45rem 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.53rem;
    line-height: 1.62;
}

.wp-service-trust-panel__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 2.4rem;
    background: rgba(255, 255, 255, 0.14);
}

.wp-service-trust-panel__stats div {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 10rem;
    padding: 1.45rem 1.15rem;
    background: rgba(255, 255, 255, 0.055);
}

.wp-service-trust-panel__stats strong {
    color: #f06a2d;
    font-size: 2.45rem;
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 1;
}

.wp-service-trust-panel__stats span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.12rem;
    line-height: 1.42;
}


/* ==========================================================================
   Obsahová část: nabídka + boční panel
   ========================================================================== */

.wp-service-section {
    padding: 8.2rem 0 9.6rem;
    background: #fff;
}

.wp-service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 31rem;
    gap: 7rem;
    align-items: start;
    max-width: 120rem;
    margin: 0 auto;
}

.wp-service-layout--simple {
    display: block;
    max-width: 94rem;
}

.wp-service-content {
    min-width: 0;
    color: #344457;
    font-size: 1.7rem;
    line-height: 1.7;
}

.wp-service-page--simple .wp-service-content {
    max-width: 88rem;
    font-size: 1.72rem;
}

.wp-service-content > *:first-child {
    margin-top: 0;
}

.wp-service-content > *:last-child {
    margin-bottom: 0;
}

/* Gutenberg občas vloží prázdný odstavec. */
.wp-service-content p:empty {
    display: none;
}

.wp-service-content p {
    margin: 0 0 1.45em;
}

.wp-service-content strong {
    color: #10243d;
    font-weight: 790;
}

.wp-service-content a {
    color: #c84f1c;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.17em;
}

.wp-service-content a:hover {
    color: #8e3511;
}


/* ==========================================================================
   Nadpisy: zřetelné sekce nabídky, nikoliv rytmus blogového článku
   ========================================================================== */

.wp-service-content h2,
.wp-service-content h3,
.wp-service-content h4,
.wp-service-content h5,
.wp-service-content h6 {
    color: #10243d;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.wp-service-content h2 {
    position: relative;
    margin: 5.8rem 0 1.8rem;
    padding-top: 2.2rem;
    border-top: 1px solid rgba(16, 36, 61, 0.12);
    font-size: 3.8rem;
    line-height: 1.08;
}

.wp-service-content h2::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 6rem;
    height: 0.3rem;
    background: #e95314;
}

.wp-service-content > h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.wp-service-content > h2:first-child::before {
    display: none;
}

.wp-service-content h3 {
    margin: 3rem 0 0.85rem;
    padding-left: 1.35rem;
    border-left: 0.32rem solid rgba(233, 83, 20, 0.82);
    font-size: 2.3rem;
    line-height: 1.18;
}

.wp-service-content h4 {
    margin: 2.5rem 0 0.75rem;
    font-size: 2rem;
    line-height: 1.25;
}

.wp-service-content h5,
.wp-service-content h6 {
    margin: 2.2rem 0 0.7rem;
    font-size: 1.82rem;
    line-height: 1.3;
}


/* ==========================================================================
   Seznamy
   ========================================================================== */

.wp-service-content ul,
.wp-service-content ol {
    margin: 0 0 1.7em;
    padding-left: 1.45em;
}

.wp-service-content li {
    margin: 0.52em 0;
    padding-left: 0.25em;
}

.wp-service-content li::marker {
    color: #e95314;
    font-weight: 800;
}


/* ==========================================================================
   Běžné Gutenberg bloky
   ========================================================================== */

.wp-service-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

.wp-service-content figure,
.wp-service-content .wp-block-image {
    max-width: 100%;
    margin: 2.6em 0;
}

.wp-service-content figcaption,
.wp-service-content .wp-element-caption {
    margin-top: 0.85rem;
    color: #687686;
    font-size: 1.32rem;
    font-style: italic;
    line-height: 1.48;
}

.wp-service-content blockquote,
.wp-service-content .wp-block-quote {
    margin: 2.6em 0;
    padding: 1.45em 1.6em;
    color: #26384b;
    background: #f5f8fa;
    border-left: 0.45rem solid #e95314;
}

.wp-service-content blockquote p:last-child {
    margin-bottom: 0;
}

.wp-service-content cite {
    display: block;
    margin-top: 1rem;
    color: #697787;
    font-size: 1.35rem;
    font-style: normal;
}


/* ==========================================================================
   Gutenberg sloupce a budoucí komponenty
   ========================================================================== */

.wp-service-content .wp-block-columns {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    margin: 2.6em 0;
}

.wp-service-content .wp-block-column {
    min-width: 0;
    padding: 2rem 1.9rem;
    background: #f5f7f8;
    border-top: 0.32rem solid rgba(233, 83, 20, 0.78);
}

.wp-service-content .wp-block-column > *:first-child {
    margin-top: 0;
}

.wp-service-content .wp-block-column > *:last-child {
    margin-bottom: 0;
}

/*
 * V editoru Gutenberg můžeš bloku přidat vlastní CSS třídy:
 *
 * wp-service-card-grid
 * wp-service-card
 * wp-service-highlight
 *
 * Díky tomu lze z obsahu skládat nabídku bez zásahu do TPL.
 */

.wp-service-content .wp-service-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    margin: 2.6em 0;
}

.wp-service-content .wp-service-card {
    padding: 2rem 1.9rem;
    background: #f5f7f8;
    border-top: 0.32rem solid rgba(233, 83, 20, 0.78);
}

.wp-service-content .wp-service-card > *:first-child,
.wp-service-content .wp-service-highlight > *:first-child {
    margin-top: 0;
}

.wp-service-content .wp-service-card > *:last-child,
.wp-service-content .wp-service-highlight > *:last-child {
    margin-bottom: 0;
}

.wp-service-content .wp-service-highlight {
    margin: 2.5em 0;
    padding: 2.2rem 2.3rem;
    color: #fff;
    background: #10243d;
    border-left: 0.45rem solid #e95314;
}

.wp-service-content .wp-service-highlight h2,
.wp-service-content .wp-service-highlight h3,
.wp-service-content .wp-service-highlight h4,
.wp-service-content .wp-service-highlight strong {
    color: #fff;
}

.wp-service-content .wp-service-highlight a {
    color: #f28a58;
}


/* ==========================================================================
   Širší bloky
   ========================================================================== */

.wp-service-content .alignwide,
.wp-service-content .wp-block-image.alignwide,
.wp-service-content .wp-block-table.alignwide {
    width: min(105rem, calc(100vw - 4rem));
    max-width: none;
    margin-right: auto;
    margin-left: 50%;
    transform: translateX(-50%);
}

.wp-service-content .alignfull,
.wp-service-content .wp-block-image.alignfull {
    width: min(125rem, calc(100vw - 3rem));
    max-width: none;
    margin-right: auto;
    margin-left: 50%;
    transform: translateX(-50%);
}


/* ==========================================================================
   Tlačítka z Gutenbergu
   ========================================================================== */

.wp-service-content .wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2.3em 0;
}

.wp-service-content .wp-block-button {
    margin: 0;
}

.wp-service-content .wp-block-button__link,
.wp-service-content .wp-element-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 5.1rem;
    padding: 1.3rem 2rem;
    color: #fff;
    background: #e95314;
    border: 1px solid #e95314;
    border-radius: 0;
    font-size: 1.5rem;
    font-weight: 780;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: 0.2s ease;
}

.wp-service-content .wp-block-button__link:hover,
.wp-service-content .wp-element-button:hover {
    color: #fff;
    background: #10243d;
    border-color: #10243d;
    text-decoration: none;
}

.wp-service-content .is-style-outline .wp-block-button__link {
    color: #e95314;
    background: transparent;
}

.wp-service-content .is-style-outline .wp-block-button__link:hover {
    color: #fff;
    background: #e95314;
}


/* ==========================================================================
   Tabulky
   ========================================================================== */

.wp-service-content .wp-block-table {
    overflow-x: auto;
    margin: 2.5em 0;
}

.wp-service-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.5rem;
    line-height: 1.52;
}

.wp-service-content th,
.wp-service-content td {
    padding: 1.05rem 1.15rem;
    border: 1px solid rgba(16, 36, 61, 0.14);
    text-align: left;
    vertical-align: top;
}

.wp-service-content th {
    color: #10243d;
    background: #f1f5f7;
    font-weight: 790;
}


/* ==========================================================================
   Rozbalovací bloky a oddělovače
   ========================================================================== */

.wp-service-content details,
.wp-service-content .wp-block-details {
    margin: 2.1em 0;
    padding: 0;
    background: #f8fafb;
    border: 1px solid rgba(16, 36, 61, 0.14);
}

.wp-service-content summary,
.wp-service-content .wp-block-details summary {
    padding: 1.25rem 1.45rem;
    color: #10243d;
    background: #f1f5f7;
    cursor: pointer;
    font-size: 1.58rem;
    font-weight: 790;
    line-height: 1.45;
}

.wp-service-content details > *:not(summary) {
    margin-right: 1.45rem;
    margin-left: 1.45rem;
}

.wp-service-content details > *:last-child {
    margin-bottom: 1.45rem;
}

.wp-service-content hr,
.wp-service-content .wp-block-separator {
    height: 1px;
    margin: 3.4em 0;
    background: rgba(16, 36, 61, 0.16);
    border: 0;
}


/* ==========================================================================
   Video, iframe a kód
   ========================================================================== */

.wp-service-content iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

.wp-service-content pre {
    overflow-x: auto;
    margin: 2.2em 0;
    padding: 1.5rem;
    color: #edf3f7;
    background: #10243d;
    font-size: 1.4rem;
    line-height: 1.6;
}

.wp-service-content code {
    padding: 0.1em 0.3em;
    color: #a63f12;
    background: #f6eee9;
    font-size: 0.92em;
}

.wp-service-content pre code {
    padding: 0;
    color: inherit;
    background: transparent;
}


/* ==========================================================================
   Boční kontaktní panel
   ========================================================================== */

.wp-service-sidebar {
    min-width: 0;
}

.wp-service-sidebar__card {
    position: sticky;
    top: 10rem;
    padding: 2.6rem 2.4rem;
    background: #f4f6f7;
    border-top: 0.4rem solid #e95314;
    box-shadow: 0 1.7rem 3.4rem rgba(16, 36, 61, 0.08);
}

.wp-service-sidebar__card h2 {
    margin: 1.15rem 0 0;
    color: #10243d;
    font-size: 2.42rem;
    font-weight: 820;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.wp-service-sidebar__card > p:not(.wp-service-sidebar__eyebrow) {
    margin: 1.35rem 0 1.8rem;
    color: #5a6877;
    font-size: 1.48rem;
    line-height: 1.58;
}

.wp-service-sidebar__mail {
    display: block;
    margin: 1.45rem 0 0;
    color: #c84f1c;
    font-size: 1.43rem;
    font-weight: 760;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.wp-service-sidebar__mail:hover {
    color: #10243d;
}

.wp-service-sidebar__card ul {
    margin: 2rem 0 0;
    padding: 1.7rem 0 0;
    border-top: 1px solid rgba(16, 36, 61, 0.12);
    list-style: none;
}

.wp-service-sidebar__card li {
    position: relative;
    margin: 0.7rem 0;
    padding-left: 1.45rem;
    color: #536274;
    font-size: 1.3rem;
    line-height: 1.45;
}

.wp-service-sidebar__card li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 0.55rem;
    height: 0.55rem;
    background: #e95314;
    border-radius: 50%;
}


/* ==========================================================================
   Závěrečný kontaktní panel
   ========================================================================== */

.wp-service-contact {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 8rem 0;
    background: #07131d;
}

.wp-service-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(0, 8, 12, 0.78),
        rgba(0, 8, 12, 0.50)
    );
    pointer-events: none;
}

.wp-service-contact__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 55%;
}

.wp-service-contact .container {
    position: relative;
    z-index: 2;
}

.wp-service-contact__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 25rem;
    gap: 4rem;
    align-items: end;
    max-width: 111rem;
    margin: 0 auto;
    padding: 4.8rem 4.8rem 0;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(
        120deg,
        rgba(1, 8, 12, 0.96),
        rgba(5, 13, 17, 0.85)
    );
    border: 1px solid rgba(255, 255, 255, 0.21);
    box-shadow: 0 2.4rem 5rem rgba(0, 0, 0, 0.30);
}

.wp-service-contact__content {
    padding-bottom: 4.8rem;
}

.wp-service-contact h2 {
    margin: 1.1rem 0 0;
    color: #fff;
    font-size: 4.5rem;
    font-weight: 820;
    letter-spacing: -0.06em;
    line-height: 1.03;
}

.wp-service-contact__content > p:not(.wp-service-contact__eyebrow) {
    max-width: 72rem;
    margin: 1.65rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.62rem;
    line-height: 1.63;
}

.wp-service-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
    margin-top: 2.6rem;
}

.wp-service-contact__points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.wp-service-contact__points span {
    padding: 0.58rem 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 1.15rem;
    font-weight: 680;
}

.wp-service-contact__person {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.wp-service-contact__person picture,
.wp-service-contact__person img {
    display: block;
    width: 100%;
    height: auto;
}

.wp-service-contact__person picture {
    margin-top: auto;
}

.wp-service-contact__person img {
    max-height: 32rem;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 1.4rem 1.4rem rgba(0, 0, 0, 0.18));
}

.wp-service-contact__person div {
    padding: 1.25rem 1.4rem;
    background: rgba(7, 19, 29, 0.84);
}

.wp-service-contact__person strong,
.wp-service-contact__person span {
    display: block;
}

.wp-service-contact__person strong {
    color: #fff;
    font-size: 1.62rem;
}

.wp-service-contact__person span {
    margin-top: 0.38rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.15rem;
    line-height: 1.4;
}


/* ==========================================================================
   Pomocné třídy WordPressu
   ========================================================================== */

.wp-service-content .has-text-align-center {
    text-align: center;
}

.wp-service-content .has-text-align-right {
    text-align: right;
}

.wp-service-content .has-text-align-left {
    text-align: left;
}


/* ==========================================================================
   Responzivní chování
   ========================================================================== */

@media (max-width: 1199px) {
    .wp-service-hero__inner,
    .wp-service-layout {
        max-width: 108rem;
    }

    .wp-service-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(29rem, 0.7fr);
        gap: 4.2rem;
    }

    .wp-service-layout {
        grid-template-columns: minmax(0, 1fr) 29rem;
        gap: 4rem;
    }
}

@media (max-width: 991px) {
    .wp-service-page {
        padding-top: 8rem;
    }

    .wp-service-hero {
        padding: 6rem 0 5.8rem;
    }

    .wp-service-hero__inner {
        grid-template-columns: 1fr;
        gap: 3.2rem;
        max-width: 82rem;
    }

    .wp-service-trust-panel {
        max-width: 64rem;
    }

    .wp-service-section {
        padding: 6.5rem 0 7.8rem;
    }

    .wp-service-layout {
        grid-template-columns: 1fr;
        gap: 4.5rem;
        max-width: 82rem;
    }

    .wp-service-sidebar__card {
        position: relative;
        top: auto;
        max-width: 58rem;
    }

    .wp-service-contact {
        padding: 6rem 0;
    }

    .wp-service-contact__card {
        grid-template-columns: minmax(0, 1fr) 20rem;
        gap: 2.5rem;
        padding: 3.8rem 3.8rem 0;
    }

    .wp-service-contact__content {
        padding-bottom: 3.8rem;
    }
}

@media (max-width: 767px) {
    .wp-service-hero {
        padding: 5rem 0 4.8rem;
    }

    .wp-service-hero h1 {
        font-size: clamp(3.8rem, 10vw, 5.2rem);
        line-height: 1.03;
    }

    .wp-service-page--simple .wp-service-hero h1 {
        font-size: clamp(3.5rem, 9vw, 4.8rem);
    }

    .wp-service-hero__lead {
        margin-top: 1.9rem;
        font-size: 1.82rem;
        line-height: 1.58;
    }

    .wp-service-trust-panel {
        padding: 2.5rem 2.25rem 2.3rem;
    }

    .wp-service-trust-panel h2 {
        font-size: 2.55rem;
    }

    .wp-service-trust-panel__stats {
        grid-template-columns: 1fr;
    }

    .wp-service-trust-panel__stats div {
        min-height: auto;
    }

    .wp-service-section {
        padding: 5.3rem 0 6.5rem;
    }

    .wp-service-content {
        font-size: 1.62rem;
        line-height: 1.68;
    }

    .wp-service-content h2 {
        margin-top: 4.6rem;
        padding-top: 1.8rem;
        font-size: 3rem;
    }

    .wp-service-content h3 {
        margin-top: 2.5rem;
        font-size: 2.15rem;
    }

    .wp-service-content .wp-block-columns {
        display: block;
    }

    .wp-service-content .wp-block-column + .wp-block-column {
        margin-top: 1.2rem;
    }

    .wp-service-content .wp-service-card-grid {
        grid-template-columns: 1fr;
    }

    .wp-service-sidebar__card {
        padding: 2.2rem 2rem;
    }

    .wp-service-contact {
        padding: 4.5rem 0;
    }

    .wp-service-contact__card {
        display: block;
        padding: 2.6rem 2.4rem;
    }

    .wp-service-contact__content {
        padding-bottom: 0;
    }

    .wp-service-contact h2 {
        font-size: 3.7rem;
    }

    .wp-service-contact__person {
        display: none;
    }
}

@media (max-width: 575px) {
    .wp-service-page .personal-brand__name {
        font-size: 1.95rem;
    }

    .wp-service-hero {
        padding-top: 4.3rem;
    }

    .wp-service-eyebrow,
    .wp-service-sidebar__eyebrow,
    .wp-service-contact__eyebrow,
    .wp-service-trust-panel__eyebrow {
        font-size: 1.15rem;
    }

    .wp-service-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .wp-service-text-link {
        justify-content: center;
    }

    .wp-service-content h2 {
        font-size: 2.72rem;
    }

    .wp-service-content h3 {
        font-size: 2.05rem;
    }

    .wp-service-contact__actions {
        flex-direction: column;
    }

    .wp-service-contact__actions .wp-service-button {
        width: 100%;
    }
}
