/*
Theme Name:     PHYSIOBOOK
Description:    Standalone theme for PHYSIOBOOK.com
Version:        1.1.0
Author:         PHYSIOBOOK
Text Domain:    physiobook
Tags:           custom-logo, custom-menu, featured-images, responsive-layout
*/

/* ===== STANDALONE THEME BASE ===== */
html {
    font-family: "Open Sans", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #203443;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

#physiobook-page-shell a,
#physiobook-page-shell a:hover,
#physiobook-page-shell a:focus,
#physiobook-page-shell a:focus-visible {
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* WordPress accessibility helper used by form labels and menu controls. */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    top: 5px;
    left: 5px;
    z-index: 100000;
    display: block;
    width: auto;
    height: auto;
    padding: 14px 20px;
    clip: auto !important;
    border-radius: 4px;
    background: #fff;
    color: #203443;
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .35);
}

/* ===== NATIVE PAGES, SEARCH AND ARCHIVES ===== */
.physiobook-page,
.physiobook-page *,
.physiobook-archive,
.physiobook-archive *,
.physiobook-404,
.physiobook-404 * {
    box-sizing: border-box;
}

.physiobook-page,
.physiobook-archive,
.physiobook-404 {
    min-height: 60vh;
    background: #f4f8fa;
    color: #203443;
    font-family: "Open Sans", Arial, sans-serif;
}

.physiobook-page-container,
.physiobook-archive-container,
.physiobook-404-container {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 76px;
}

.physiobook-page-card {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #dce8ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 38, 55, .07);
}

.physiobook-page-header {
    padding: 34px 40px 30px;
    border-bottom: 1px solid #e2ecef;
}

.physiobook-page-breadcrumbs,
.physiobook-archive-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
    color: #718490;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.physiobook-page-breadcrumbs a,
.physiobook-archive-breadcrumbs a {
    color: var(--physiobook-blue-accent);
    text-decoration: none;
    transition: color .24s ease;
}

.physiobook-page-breadcrumbs a:hover,
.physiobook-page-breadcrumbs a:focus-visible,
.physiobook-archive-breadcrumbs a:hover,
.physiobook-archive-breadcrumbs a:focus-visible {
    color: var(--physiobook-green-accent);
}

.physiobook-page-title,
.physiobook-archive-title {
    margin: 0;
    color: var(--physiobook-blue-deep);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.12;
}

.physiobook-page-featured-image {
    margin: 0;
}

.physiobook-page-featured-image img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.physiobook-page-content {
    padding: 36px 40px 46px;
    font-size: 17px;
    line-height: 1.8;
}

.physiobook-page-content > div,
.physiobook-page-content > section,
.physiobook-page-content > article,
.physiobook-page-content > aside,
.physiobook-page-content > form,
.physiobook-page-content > table {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box;
}

.physiobook-page-content > :first-child {
    margin-top: 0;
}

.physiobook-page-content > :last-child {
    margin-bottom: 0;
}

.physiobook-page-content h2,
.physiobook-page-content h3,
.physiobook-page-content h4 {
    margin: 36px 0 15px;
    color: var(--physiobook-blue-deep);
    font-weight: 800;
    line-height: 1.25;
}

.physiobook-page-content h2 {
    font-size: 29px;
}

.physiobook-page-content h3 {
    font-size: 23px;
}

.physiobook-page-content p,
.physiobook-page-content ul,
.physiobook-page-content ol,
.physiobook-page-content blockquote,
.physiobook-page-content table,
.physiobook-page-content form {
    margin-bottom: 24px;
}

.physiobook-page-content ul,
.physiobook-page-content ol {
    padding-left: 1.3em;
}

.physiobook-page-content a {
    color: var(--physiobook-blue-accent);
    text-underline-offset: 3px;
    transition: color .24s ease;
}

.physiobook-page-content a:hover,
.physiobook-page-content a:focus-visible {
    color: var(--physiobook-green-accent);
}

.physiobook-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.physiobook-page-content blockquote {
    margin: 30px 0;
    padding: 24px 28px;
    border: 1px solid rgba(64, 192, 176, .34);
    border-left: 5px solid var(--physiobook-green-accent);
    border-radius: 10px;
    background: rgba(64, 192, 176, .08);
}

.physiobook-page-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.physiobook-archive-header {
    margin-bottom: 30px;
    padding: 34px 38px;
    border: 1px solid #dce8ed;
    border-top: 4px solid var(--physiobook-blue-accent);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 38, 55, .06);
}

.physiobook-archive--tag .physiobook-archive-container {
    margin-top: 42px;
    margin-bottom: 76px;
    overflow: hidden;
    padding: 0 38px 42px;
    border: 1px solid #dce8ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 38, 55, .07);
}

.physiobook-archive--tag .physiobook-archive-header {
    margin: 0 -38px 30px;
    padding: 34px 38px 30px;
    border: 0;
    border-top: 4px solid var(--physiobook-blue-accent);
    border-bottom: 1px solid #e2ecef;
    border-radius: 0;
    box-shadow: none;
}

.physiobook-archive-tag {
    margin: 0 0 9px;
    color: var(--physiobook-green-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.physiobook-archive-description {
    max-width: 760px;
    margin-top: 15px;
    color: #5d727f;
    font-size: 16px;
    line-height: 1.7;
}

.physiobook-archive-description > :last-child {
    margin-bottom: 0;
}

.physiobook-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.physiobook-archive-card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #dce8ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 38, 55, .06);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.physiobook-archive-card:hover,
.physiobook-archive-card:focus-within {
    border-color: var(--physiobook-border-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 38, 55, .11);
}

.physiobook-archive-card-link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.physiobook-archive-card-link:focus-visible {
    outline: 3px solid var(--physiobook-green-accent);
    outline-offset: -3px;
}

.physiobook-archive-image {
    width: 100%;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #dce9ee, #c8dce4);
}

.physiobook-archive-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.physiobook-archive-card:hover .physiobook-archive-image img,
.physiobook-archive-card:focus-within .physiobook-archive-image img {
    transform: scale(1.035);
}

.physiobook-archive-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.physiobook-archive-category {
    margin-bottom: 9px;
    color: var(--physiobook-blue-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.physiobook-archive-text h2,
.physiobook-archive-text h3 {
    margin: 0;
    color: var(--physiobook-blue-deep);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.28;
}

.physiobook-404-card {
    overflow: visible;
    border: 1px solid #dce8ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 38, 55, .07);
    color: #203443;
}

.physiobook-404-intro {
    padding: 38px 40px 42px;
    border-bottom: 1px solid #e2ecef;
}

.physiobook-404-recommendations {
    padding: 36px 40px 42px;
}

.physiobook-404-recommendations-header p {
    margin: 0 0 10px;
    color: var(--physiobook-green-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.physiobook-404-message h1 {
    margin: 0 0 17px;
    color: var(--physiobook-blue-deep);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.physiobook-404-message > p {
    max-width: 650px;
    margin: 0 0 24px;
    color: #5d727f;
    font-size: 16px;
    line-height: 1.7;
}

.physiobook-404-search {
    position: relative;
    display: flex;
    max-width: 650px;
    margin-bottom: 19px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #cfdee4;
    box-shadow: 0 7px 20px rgba(15, 38, 55, .08);
}

.physiobook-404-search input {
    min-width: 0;
    height: 52px;
    flex: 1;
    margin: 0;
    padding: 0 17px;
    border: 0;
    border-radius: 10px 0 0 10px;
    background: #fff;
    color: #203443;
    outline: 0;
}

.physiobook-404-search input:focus {
    box-shadow: inset 0 0 0 2px var(--physiobook-blue-accent);
}

.physiobook-404-search button {
    margin: 0;
    padding: 0 24px;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: var(--physiobook-blue-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color .24s ease;
}

.physiobook-404-search button:hover,
.physiobook-404-search button:focus-visible {
    background: var(--physiobook-green-accent);
}

.physiobook-404-return {
    color: var(--physiobook-blue-accent);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: color .24s ease;
}

.physiobook-404-return:hover,
.physiobook-404-return:focus-visible {
    color: var(--physiobook-green-accent);
}

.physiobook-404-recommendations-header {
    margin-bottom: 24px;
}

.physiobook-404-recommendations-header h2 {
    margin: 0;
    color: var(--physiobook-blue-deep);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 850;
    letter-spacing: -.035em;
}

.physiobook-archive-text p {
    margin: 13px 0 18px;
    color: #5d727f;
    font-size: 14px;
    line-height: 1.65;
}

.physiobook-archive-read {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--physiobook-blue-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: color .24s ease;
}

.physiobook-archive-card:hover .physiobook-archive-read,
.physiobook-archive-card:focus-within .physiobook-archive-read {
    color: var(--physiobook-green-accent);
}

.physiobook-archive .navigation.pagination {
    margin-top: 34px;
}

.physiobook-archive .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.physiobook-archive .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid #dce8ed;
    border-radius: 8px;
    background: #fff;
    color: var(--physiobook-blue-deep);
    font-weight: 800;
    text-decoration: none;
}

.physiobook-archive .page-numbers.current,
.physiobook-archive .page-numbers:hover,
.physiobook-archive .page-numbers:focus-visible {
    border-color: var(--physiobook-blue-accent);
    background: var(--physiobook-blue-accent);
    color: #fff;
}

.physiobook-archive-empty {
    padding: 38px;
    border: 1px solid #dce8ed;
    border-radius: 14px;
    background: #fff;
}

.physiobook-archive-empty h2 {
    margin-top: 0;
    color: var(--physiobook-blue-deep);
}

.physiobook-archive-empty .search-form {
    display: flex;
    max-width: 620px;
    margin-top: 22px;
}

.physiobook-archive-empty .search-field {
    min-width: 0;
    flex: 1;
    padding: 13px 15px;
    border: 1px solid #cfdee4;
    border-radius: 8px 0 0 8px;
}

.physiobook-archive-empty .search-submit {
    padding: 0 20px;
    border: 0;
    border-radius: 0 8px 8px 0;
    background: var(--physiobook-blue-accent);
    color: #fff;
    font-weight: 800;
}

@media (max-width: 900px) {
    .physiobook-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .physiobook-page-container,
    .physiobook-archive-container,
    .physiobook-404-container {
        width: calc(100% - 28px);
        padding: 24px 0 54px;
    }

    .physiobook-page-header,
    .physiobook-page-content,
    .physiobook-archive-header,
    .physiobook-archive-empty {
        padding: 24px 20px;
    }

    .physiobook-page-title,
    .physiobook-archive-title {
        font-size: 31px;
    }

    .physiobook-page-featured-image img {
        height: 250px;
    }

    .physiobook-page-content {
        font-size: 16px;
    }

    .physiobook-archive-grid {
        grid-template-columns: 1fr;
    }

    .physiobook-archive-text {
        padding: 20px;
    }

    .physiobook-archive--tag .physiobook-archive-container {
        width: calc(100% - 28px);
        margin-top: 24px;
        margin-bottom: 54px;
        padding: 0 20px 24px;
    }

    .physiobook-archive--tag .physiobook-archive-header {
        margin: 0 -20px 24px;
        padding: 24px 20px;
    }

    .physiobook-404-intro {
        padding: 28px 20px 30px;
    }

    .physiobook-404-recommendations {
        padding: 28px 20px 30px;
    }

    .physiobook-404-message h1 {
        font-size: 34px;
    }

    .physiobook-404-search button {
        padding: 0 14px;
        font-size: 10px;
    }
}

/* ===== PHYSIOBOOK HEADER ===== */
:root {
    --physiobook-blue-dark: #142f43;
    --physiobook-blue-deep: #0f2637;
    --physiobook-blue-accent: #29a7df;
    --physiobook-green-accent: #40c0b0;
    --physiobook-white: #ffffff;
    --physiobook-border: rgba(255, 255, 255, .16);
    --physiobook-border-card-hover: #ddd;
}

.physiobook-skip {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10001;
    padding: 10px 14px;
    border-radius: 6px;
    background: #fff;
    color: var(--physiobook-blue-dark);
    font-weight: 700;
    transform: translateY(-160%);
}

.physiobook-skip:focus {
    transform: translateY(0);
}

.physiobook-header,
.physiobook-header * {
    box-sizing: border-box;
}

.physiobook-header {
    position: sticky;
    top: 0;
    z-index: 9990;
    color: var(--physiobook-white);
    font-family: "Open Sans", Arial, sans-serif;
}

body.admin-bar .physiobook-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .physiobook-header {
        top: 46px;
    }
}

@media (max-width: 600px) {
    body.admin-bar .physiobook-header {
        top: 0;
    }
}

.physiobook-header-main,
.physiobook-navigation-bar {
    background: var(--physiobook-blue-dark);
}

.physiobook-header-container {
    display: flex;
    align-items: center;
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

.physiobook-header-main .physiobook-header-container {
    min-height: 106px;
    gap: 28px;
}

.physiobook-header-logo {
    display: flex;
    flex: 0 0 330px;
    align-items: center;
    min-width: 0;
}

.physiobook-header-logo img {
    display: block;
    width: 330px;
    max-width: 100%;
    height: 64px;
    object-fit: contain;
}

.physiobook-header-logo picture {
    display: block;
}

.physiobook-header-search {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    min-width: 230px;
    height: 48px;
    overflow: visible;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(2, 18, 30, .2);
}

.physiobook-header-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    margin: 0;
    padding: 0 18px;
    border: 0;
    border-radius: 10px 0 0 10px;
    background: #fff;
    color: #273845;
    font-size: 14px;
    line-height: 48px;
    outline: 0;
}

.physiobook-header-search input:focus {
    box-shadow: inset 0 0 0 2px var(--physiobook-blue-accent);
}

.physiobook-header-search button {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 48px;
    margin: 0;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: var(--physiobook-blue-accent);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease;
}

.physiobook-header-search button:hover,
.physiobook-header-search button:focus-visible {
    background: #168fc6;
}

.physiobook-header-search svg,
.physiobook-header-support > svg,
.physiobook-header-action svg,
.physiobook-navigation-contact svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.physiobook-header-search svg {
    width: 22px;
    height: 22px;
}

.physiobook-search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 10020;
    max-height: min(520px, 70vh);
    overflow-y: auto;
    border: 1px solid #d6e2e8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(2, 18, 30, .22);
    color: #273845;
    text-align: left;
}

.physiobook-search-results[hidden] {
    display: none;
}

.physiobook-search-status {
    margin: 0;
    padding: 18px;
    color: #657680;
    font-size: 14px;
}

.physiobook-search-result {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border-bottom: 1px solid #e7eef1;
    color: #20313c;
    text-decoration: none;
    transition: background-color .22s ease, color .22s ease;
}

.physiobook-search-result:hover,
.physiobook-search-result:focus-visible {
    background: #edf8f4;
    color: #168b70;
    outline: 0;
}

.physiobook-search-image {
    display: block;
    width: 58px;
    height: 48px;
    border-radius: 7px;
    object-fit: cover;
    background: #e7eef1;
}

.physiobook-search-image--empty {
    background: linear-gradient(135deg, #dcecf2, #d9f1e8);
}

.physiobook-search-text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.physiobook-search-text small {
    color: #168fc6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.physiobook-search-text strong {
    overflow: hidden;
    font-size: 14px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.physiobook-search-all {
    display: block;
    padding: 12px 15px;
    background: #f4f8fa;
    color: #168fc6;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: background-color .22s ease, color .22s ease;
}

.physiobook-search-all:hover,
.physiobook-search-all:focus-visible {
    background: #e7f5ef;
    color: #168b70;
}

.physiobook-header-support {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.physiobook-header-support > svg {
    width: 34px;
    height: 34px;
}

.physiobook-header-support span {
    display: grid;
    gap: 2px;
}

.physiobook-header-support strong,
.physiobook-header-support small {
    color: #fff;
    white-space: nowrap;
}

.physiobook-header-support strong {
    color: var(--physiobook-blue-accent);
    font-size: 12px;
    line-height: 1.1;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.physiobook-header-support small {
    font-size: 13px;
    line-height: 1.3;
}

.physiobook-header-action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--physiobook-blue-accent);
    border-radius: 9px;
    background: var(--physiobook-blue-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .035em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.physiobook-header-action:hover,
.physiobook-header-action:focus-visible {
    border-color: #fff;
    background: #fff;
    color: var(--physiobook-blue-dark);
    transform: translateY(-1px);
}

.physiobook-header-action svg {
    width: 21px;
    height: 21px;
}

.physiobook-navigation-bar {
    border-top: 1px solid var(--physiobook-border);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
}

.physiobook-navigation-container {
    min-height: 52px;
    justify-content: space-between;
    gap: 24px;
}

.physiobook-desktop-navigation {
    min-width: 0;
}

.physiobook-main-menu,
.physiobook-main-menu ul,
.physiobook-mobile-menu,
.physiobook-mobile-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.physiobook-main-menu {
    display: flex;
    align-items: stretch;
}

.physiobook-main-menu > li {
    position: relative;
}

.physiobook-main-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 14px;
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease;
}

.physiobook-main-menu > li:first-child > a {
    padding-left: 0;
}

.physiobook-main-menu > li.current-menu-item > a,
.physiobook-main-menu > li.current-menu-ancestor > a {
    color: var(--physiobook-blue-accent);
}

.physiobook-main-menu > li > a:hover,
.physiobook-main-menu > li:hover > a {
    color: var(--physiobook-green-accent);
}

.physiobook-main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    display: none;
    width: 240px;
    padding: 9px 0;
    border-top: 3px solid var(--physiobook-blue-accent);
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(7, 31, 48, .2);
}

.physiobook-main-menu li:hover > .sub-menu,
.physiobook-main-menu li:focus-within > .sub-menu {
    display: block;
}

.physiobook-main-menu .sub-menu a {
    display: block;
    padding: 10px 18px;
    color: #273845;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.physiobook-main-menu .sub-menu a:hover,
.physiobook-main-menu .sub-menu a:focus-visible {
    background: #edf8fd;
    color: var(--physiobook-green-accent);
}

.physiobook-main-menu .sub-menu .sub-menu {
    top: -9px;
    left: 100%;
}

.physiobook-navigation-contact {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.physiobook-navigation-contact:hover,
.physiobook-navigation-contact:focus-visible {
    color: var(--physiobook-green-accent);
}

.physiobook-navigation-contact svg {
    width: 18px;
    height: 18px;
}

.physiobook-menu-button,
.physiobook-mobile-drawer,
.physiobook-mobile-overlay {
    display: none;
}

@media (max-width: 1240px) {
    .physiobook-header-main .physiobook-header-container {
        gap: 20px;
    }

    .physiobook-header-logo {
        flex-basis: 270px;
    }

    .physiobook-header-logo img {
        width: 270px;
    }

    .physiobook-navigation-contact {
        display: none;
    }

    .physiobook-main-menu > li > a {
        padding-right: 11px;
        padding-left: 11px;
        font-size: 11px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .physiobook-header-main .physiobook-header-container {
        min-height: 88px;
        gap: 16px;
    }

    .physiobook-header-logo {
        flex: 0 0 245px;
    }

    .physiobook-header-logo img {
        width: 245px;
        height: 58px;
    }

    .physiobook-header-support {
        display: none;
    }

    .physiobook-header-action {
        min-height: 44px;
        padding-right: 13px;
        padding-left: 13px;
    }

    .physiobook-navigation-container {
        gap: 0;
    }

    .physiobook-main-menu {
        width: 100%;
        justify-content: space-between;
    }

    .physiobook-main-menu > li > a,
    .physiobook-main-menu > li:first-child > a {
        padding-right: 6px;
        padding-left: 6px;
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    body.physiobook-mobile-menu-open {
        overflow: hidden;
    }

    .physiobook-header-main .physiobook-header-container {
        min-height: 76px;
        gap: 16px;
    }

    .physiobook-header-container {
        width: min(100% - 28px, 740px);
    }

    .physiobook-menu-button {
        display: grid;
        order: 2;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        margin: 0;
        padding: 0;
        place-items: center;
        border: 1px solid var(--physiobook-border);
        border-radius: 8px;
        background: transparent;
        color: #fff;
        margin-left: auto;
    }

    .physiobook-menu-lines {
        display: grid;
        gap: 4px;
        width: 19px;
    }

    .physiobook-menu-lines span {
        display: block;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
    }

    .physiobook-header-logo {
        order: 1;
        flex: 0 1 285px;
    }

    .physiobook-header-logo img {
        width: 270px;
        height: 64px;
    }

    .physiobook-header-search,
    .physiobook-header-support,
    .physiobook-header-action,
    .physiobook-navigation-bar {
        display: none;
    }

    .physiobook-mobile-drawer {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        z-index: 10000;
        display: block;
        width: min(390px, 88vw);
        overflow-y: auto;
        padding: 76px 24px 30px;
        background: var(--physiobook-blue-dark);
        box-shadow: -16px 0 40px rgba(0, 0, 0, .28);
        transform: translateX(105%);
        transition: transform .25s ease;
    }

    .physiobook-mobile-menu-open .physiobook-mobile-drawer {
        transform: translateX(0);
    }

    .physiobook-mobile-drawer-close {
        position: absolute;
        top: 17px;
        right: 18px;
        width: 42px;
        height: 42px;
        margin: 0;
        padding: 0;
        border: 1px solid var(--physiobook-border);
        border-radius: 8px;
        background: transparent;
        color: #fff;
        font-size: 30px;
        font-weight: 300;
        line-height: 38px;
    }

    .physiobook-mobile-drawer-logo {
        display: block;
        margin-bottom: 24px;
    }

    .physiobook-mobile-drawer-logo img {
        display: block;
        width: 280px;
        max-width: 100%;
        height: 58px;
        object-fit: contain;
    }

    .physiobook-mobile-search {
        position: relative;
        display: flex;
        margin-bottom: 24px;
        overflow: visible;
        border-radius: 8px;
        background: #fff;
    }

    .physiobook-mobile-search input {
        flex: 1 1 auto;
        min-width: 0;
        height: 44px;
        margin: 0;
        padding: 0 13px;
        border: 0;
        border-radius: 8px 0 0 8px;
        background: #fff;
        color: #273845;
    }

    .physiobook-mobile-search button {
        margin: 0;
        padding: 0 13px;
        border: 0;
        border-radius: 0 8px 8px 0;
        background: var(--physiobook-blue-accent);
        color: #fff;
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .physiobook-mobile-search .physiobook-search-results {
        top: calc(100% + 8px);
        max-height: 360px;
    }

    .physiobook-mobile-menu > li {
        border-bottom: 1px solid var(--physiobook-border);
    }

    .physiobook-mobile-menu a {
        display: block;
        padding: 13px 0;
        color: #fff;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.35;
        text-decoration: none;
        text-transform: uppercase;
    }

    .physiobook-mobile-menu .sub-menu {
        padding: 0 0 8px 16px;
    }

    .physiobook-mobile-menu .sub-menu a {
        padding: 8px 0;
        color: rgba(255, 255, 255, .75);
        font-size: 12px;
        text-transform: none;
    }

    .physiobook-mobile-links {
        display: grid;
        gap: 11px;
        margin-top: 24px;
    }

    .physiobook-mobile-links a {
        color: var(--physiobook-blue-accent);
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }

    .physiobook-mobile-overlay {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: rgba(4, 19, 30, .68);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
    }

    .physiobook-mobile-menu-open .physiobook-mobile-overlay {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 560px) {
    .physiobook-header-main .physiobook-header-container {
        min-height: 68px;
        gap: 11px;
    }

    .physiobook-header-logo {
        flex: 1 1 auto;
    }

    .physiobook-header-logo img {
        width: min(255px, 100%);
        height: 58px;
    }

    .physiobook-header-action {
        min-height: 42px;
        padding: 0 11px;
    }

    .physiobook-header-action span {
        display: none;
    }
}

/* ===== CUSTOM PHYSIOBOOK FOOTER ===== */
.physiobook-footer,
.physiobook-footer * {
    box-sizing: border-box;
}

.physiobook-footer {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--physiobook-blue-deep);
}

.physiobook-footer::before {
    position: absolute;
    top: -180px;
    right: -160px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(41, 167, 223, .09);
    content: "";
    pointer-events: none;
}

.physiobook-footer-container {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    padding: 58px 0 0;
}

.physiobook-footer-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px;
}

.physiobook-footer-title {
    position: relative;
    margin: 0 0 25px;
    padding: 0 0 13px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.physiobook-footer-title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 3px;
    border-radius: 3px;
    background: var(--physiobook-blue-accent);
    content: "";
}

.physiobook-footer-posts,
.physiobook-footer-categories,
.physiobook-footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.physiobook-footer-post {
    margin: 0 0 18px;
}

.physiobook-footer-post-link {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.physiobook-footer-post-link:focus-visible {
    outline: 2px solid var(--physiobook-green-accent);
    outline-offset: 4px;
}

.physiobook-footer-post-image {
    display: block;
    overflow: hidden;
    width: 96px;
    height: 72px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
}

.physiobook-footer-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.physiobook-footer-post:hover .physiobook-footer-post-image img {
    transform: scale(1.04);
}

.physiobook-footer-post-title {
    display: -webkit-box;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.physiobook-footer-post-title:hover,
.physiobook-footer-post-title:focus-visible,
.physiobook-footer-post-link:hover .physiobook-footer-post-title,
.physiobook-footer-post-link:focus-visible .physiobook-footer-post-title,
.physiobook-footer-categories a:hover,
.physiobook-footer-categories a:focus-visible,
.physiobook-footer-menu a:hover,
.physiobook-footer-menu a:focus-visible,
.physiobook-footer-contact a:hover,
.physiobook-footer-contact a:focus-visible {
    color: var(--physiobook-green-accent);
}

.physiobook-footer-post time {
    display: block;
    margin-top: 6px;
    color: #9eb0bd;
    font-size: 11px;
    line-height: 1.4;
}

.physiobook-footer-categories li {
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.physiobook-footer-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    color: #eef4f7;
    font-size: 13px;
    text-decoration: none;
}

.physiobook-footer-category-count {
    min-width: 28px;
    padding: 3px 8px;
    border-radius: 999px;
    color: #c7d4dc;
    background: rgba(255, 255, 255, .07);
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}

.physiobook-footer-info-grid {
    display: grid;
    grid-template-columns: 1.1fr 2fr .85fr 1.2fr;
    gap: 42px;
    align-items: start;
    margin-top: 35px;
    padding: 37px 0 33px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.physiobook-footer-brand {
    align-self: center;
}

.physiobook-footer-brand a,
.physiobook-footer-brand img {
    display: block;
}

.physiobook-footer-brand img {
    width: min(220px, 100%);
    height: auto;
}

.physiobook-footer-about p {
    margin: 0;
    color: #b8c5cd;
    font-size: 13px;
    line-height: 1.75;
}

.physiobook-footer-info-grid .physiobook-footer-title {
    margin-bottom: 18px;
    font-size: 14px;
}

.physiobook-footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.physiobook-footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 9px;
    color: #fff;
    background: rgba(255, 255, 255, .04);
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.physiobook-footer-social-links a:hover,
.physiobook-footer-social-links a:focus-visible {
    border-color: var(--physiobook-blue-accent);
    background: var(--physiobook-blue-accent);
    transform: translateY(-2px);
}

.physiobook-footer-social-links svg,
.physiobook-footer-contact svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.physiobook-footer-social-links a:first-child svg {
    fill: currentColor;
    stroke: none;
}

.physiobook-footer-contact a {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: #d8e2e8;
    font-size: 13px;
    text-decoration: none;
}

.physiobook-footer-contact svg {
    flex: 0 0 auto;
    color: var(--physiobook-blue-accent);
}

.physiobook-footer-navigation {
    margin-top: 36px;
    padding: 24px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.physiobook-footer-bottom {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.physiobook-footer-bottom p {
    flex: 0 1 auto;
    margin: 0;
    color: #91a5b2;
    font-size: 12px;
    font-style: italic;
}

.physiobook-footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 24px;
    justify-content: center;
}

.physiobook-footer-menu a,
.physiobook-footer-privacy-cookies {
    color: #c7d4dc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    text-transform: uppercase;
}

.physiobook-footer-privacy-cookies {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid rgba(45, 175, 225, .35) !important;
    border-radius: 999px;
    background: rgba(45, 175, 225, .1) !important;
    box-shadow: 0 10px 24px rgba(3, 18, 28, .16);
    color: #e7f7fd !important;
    cursor: pointer;
    font-family: inherit;
    transition:
        background .24s ease,
        border-color .24s ease,
        color .24s ease,
        transform .24s ease;
}

.physiobook-footer-privacy-cookies:hover,
.physiobook-footer-privacy-cookies:focus-visible {
    border-color: rgba(45, 175, 225, .7) !important;
    background: rgba(45, 175, 225, .18) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.physiobook-footer .physiobook-footer-privacy-cookies.physiobook-cookie-settings {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 6px 11px;
    border: 1px solid rgba(45, 175, 225, .35) !important;
    border-radius: 999px;
    background: rgba(45, 175, 225, .1) !important;
    box-shadow: 0 7px 18px rgba(3, 18, 28, .13);
    color: #e7f7fd !important;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    text-decoration: none;
    text-transform: none;
    transition:
        background .24s ease,
        border-color .24s ease,
        color .24s ease,
        transform .24s ease;
}

.physiobook-footer .physiobook-footer-privacy-cookies.physiobook-cookie-settings:hover,
.physiobook-footer .physiobook-footer-privacy-cookies.physiobook-cookie-settings:focus-visible {
    border-color: rgba(45, 175, 225, .7) !important;
    background: rgba(45, 175, 225, .18) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .physiobook-footer-content-grid {
        gap: 28px;
    }

    .physiobook-footer-info-grid {
        grid-template-columns: 1fr 2fr 1fr;
        gap: 28px;
    }

    .physiobook-footer-brand {
        grid-column: 1 / -1;
    }

    .physiobook-footer-brand img {
        width: 210px;
    }
}

@media (max-width: 768px) {
    .physiobook-footer-container {
        width: calc(100% - 28px);
        padding-top: 42px;
    }

    .physiobook-footer-content-grid,
    .physiobook-footer-info-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .physiobook-footer-info-grid {
        margin-top: 38px;
        padding: 35px 0;
        text-align: center;
    }

    .physiobook-footer-brand {
        grid-column: auto;
    }

    .physiobook-footer-panel:has(.physiobook-footer-categories),
    .physiobook-footer-about,
    .physiobook-footer-social,
    .physiobook-footer-contact {
        text-align: center;
    }

    .physiobook-footer-panel:has(.physiobook-footer-categories) .physiobook-footer-title::after,
    .physiobook-footer-info-grid .physiobook-footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .physiobook-footer-categories a {
        justify-content: center;
        gap: 12px;
    }

    .physiobook-footer-brand a,
    .physiobook-footer-social-links,
    .physiobook-footer-contact a {
        justify-content: center;
    }

    .physiobook-footer-brand img {
        width: 200px;
        margin: 0 auto;
    }

    .physiobook-footer-bottom {
        flex-direction: column;
        gap: 14px;
        justify-content: center;
        padding: 23px 0 25px;
        text-align: center;
    }

    .physiobook-footer-navigation {
        margin-top: 30px;
        padding: 23px 0 6px;
    }

    .physiobook-footer-menu {
        justify-content: center;
    }

    .physiobook-footer-privacy-cookies {
        width: fit-content;
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .physiobook-footer-post-link {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .physiobook-footer-post-image {
        width: 84px;
        height: 66px;
    }

    .physiobook-footer-menu {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== PHYSIOBOOK SINGLE ARTICLE ===== */
.physiobook-article,
.physiobook-article * {
    box-sizing: border-box;
}

.physiobook-article {
    background:
        linear-gradient(180deg, #f5f9fc 0, #fff 360px),
        #fff;
    color: #203443;
    font-family: "Open Sans", Arial, sans-serif;
}

.physiobook-article-container {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 72px;
}

.physiobook-article-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
    color: #748795;
    font-size: 12px;
    line-height: 1.5;
}

.physiobook-article-breadcrumbs a {
    color: var(--physiobook-blue-accent);
    font-weight: 700;
    text-decoration: none;
}

.physiobook-article-breadcrumbs span:last-child {
    max-width: 560px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.physiobook-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 42px;
    align-items: start;
}

.physiobook-article-text {
    min-width: 0;
    overflow: hidden;
    padding: 0 45px 42px;
    border: 1px solid #dce8ef;
    border-top: 4px solid var(--physiobook-category-color, var(--physiobook-blue-accent));
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(15, 38, 55, .08);
}

.physiobook-article-intro {
    position: relative;
    margin-right: -32px;
    margin-left: -32px;
    padding: 40px 44px 38px;
    border-radius: 8px 8px 0 0;
    background: #fff;
}

.physiobook-article-top-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    justify-content: space-between;
    max-width: 860px;
    margin-top: 18px;
}

.physiobook-article-category,
.physiobook-card-article-category,
.physiobook-article-reading-time {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(41, 167, 223, .12);
    color: #117dad;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-decoration: none;
    text-transform: uppercase;
}

.physiobook-article-reading-time {
    background: #eef5f9;
    color: #5c7180;
}

.physiobook-article-title {
    max-width: 860px;
    margin: 0;
    color: var(--physiobook-blue-deep);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.18;
    text-transform: none;
}

.physiobook-article-summary {
    /* max-width: 780px; */
    margin: 18px 0 0;
    color: #405766;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.85;
    font-style: italic;
}

.physiobook-article-featured-image {
    margin: 34px 0 0;
}

.physiobook-article-featured-image img {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.physiobook-article-featured-image figcaption {
    margin-top: 10px;
    color: #7a8b98;
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
}

.physiobook-article-content {
    width: 100%;
    max-width: none;
    margin: 38px auto 0;
    color: #203443;
    font-size: 18px;
    line-height: 1.85;
}

.physiobook-article-content > *:first-child {
    margin-top: 0;
}

.physiobook-article-content p,
.physiobook-article-content ul,
.physiobook-article-content ol,
.physiobook-article-content blockquote,
.physiobook-article-content table {
    margin-bottom: 25px;
}

.physiobook-article-content ul,
.physiobook-article-content ol {
    padding-left: 1.35em;
}

.physiobook-article-content li {
    margin-bottom: 12px;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400 !important;
    line-height: inherit;
}

.physiobook-article-content li::marker {
    color: #203443;
}

.physiobook-article-content li strong {
    color: var(--physiobook-blue-deep);
    font-weight: 800;
}

.physiobook-article-content li:last-child {
    margin-bottom: 0;
}

.physiobook-article-content h2,
.physiobook-article-content h3,
.physiobook-article-content h4 {
    margin: 40px 0 16px;
    color: var(--physiobook-blue-deep);
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
}

.physiobook-article-content h2 {
    font-size: 30px;
}

.physiobook-article-content h3 {
    font-size: 24px;
}

.physiobook-article-content h4 {
    font-size: 20px;
}

.physiobook-article-content a {
    color: #168fc6;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .24s ease;
}

.physiobook-article-breadcrumbs a,
.physiobook-article-category,
.physiobook-card-article-category,
.physiobook-card-article h3 a,
.physiobook-footer-post-title,
.physiobook-footer-categories a,
.physiobook-footer-menu a,
.physiobook-footer-contact a {
    transition: color .24s ease;
}

.physiobook-article-content a:hover,
.physiobook-article-content a:focus-visible,
.physiobook-article-breadcrumbs a:hover,
.physiobook-article-breadcrumbs a:focus-visible,
.physiobook-article-category:hover,
.physiobook-article-category:focus-visible,
.physiobook-card-article-category:hover,
.physiobook-card-article-category:focus-visible,
.physiobook-card-article h3 a:hover,
.physiobook-card-article h3 a:focus-visible,
.physiobook-footer-post-title:hover,
.physiobook-footer-post-title:focus-visible,
.physiobook-footer-post-link:hover .physiobook-footer-post-title,
.physiobook-footer-post-link:focus-visible .physiobook-footer-post-title {
    color: var(--physiobook-green-accent);
}

.physiobook-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.physiobook-article-content figure,
.physiobook-article-content .wp-caption {
    max-width: 100% !important;
}

.physiobook-article-content figure img,
.physiobook-article-content .wp-caption img {
    max-width: 100%;
    height: auto;
}

.physiobook-article-content blockquote {
    display: block;
    float: none !important;
    clear: both;
    width: 100% !important;
    max-width: none !important;
    margin: 32px 0 !important;
    padding: 25px 30px !important;
    box-sizing: border-box;
    border: 1px solid rgba(64, 192, 176, .34);
    border-left: 5px solid var(--physiobook-green-accent);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(64, 192, 176, .13), rgba(64, 192, 176, .05));
    box-shadow: 0 10px 26px rgba(20, 54, 70, .07);
    color: #294653;
    font-family: inherit;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.7;
    text-align: left;
}

.physiobook-article-content blockquote > :first-child {
    margin-top: 0;
}

.physiobook-article-content blockquote > :last-child {
    margin-bottom: 0;
}

.physiobook-article-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.physiobook-article-pages a,
.physiobook-article-pages span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    border-radius: 6px;
    background: #eef5f9;
    color: var(--physiobook-blue-dark);
    font-weight: 800;
    text-decoration: none;
}

.physiobook-article-note {
    margin: 34px auto 0;
    padding: 22px 24px;
    border: 1px solid rgba(41, 167, 223, .28);
    border-left: 4px solid var(--physiobook-blue-accent);
    border-radius: 8px;
    background: linear-gradient(135deg, #f4fbfe, #fff);
}

.physiobook-article-note p {
    margin: 0;
    color: #485f6d;
    font-size: 14px;
    font-style: italic;
    line-height: 1.7;
}

.physiobook-article-note strong {
    display: inline-block;
    margin-right: 6px;
    color: var(--physiobook-blue-deep);
    font-style: normal;
    font-weight: 900;
    letter-spacing: .04em;
}

.physiobook-article-after,
.physiobook-related-articles {
    max-width: 860px;
    margin: 42px auto 0;
}

.physiobook-article-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    padding: 0 0 18px;
    color: #718594;
    font-size: 13px;
    line-height: 1.5;
}

.physiobook-article-dates span {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    font-weight: 700;
}

.physiobook-article-dates time {
    color: var(--physiobook-blue-deep);
    font-weight: 400;
}

.physiobook-article-topics,
.physiobook-article-sharing {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid #dce8ef;
}

.physiobook-article-topics span,
.physiobook-article-sharing span {
    color: var(--physiobook-blue-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.physiobook-article-topics a,
.physiobook-article-sharing a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef5f9;
    color: #415867;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.physiobook-article-sharing a:nth-of-type(1) {
    background: #1877f2;
    color: #fff;
}

.physiobook-article-sharing a:nth-of-type(2) {
    background: #128c7e;
    color: #fff;
}

.physiobook-article-topics a:hover,
.physiobook-article-sharing a:hover {
    background: var(--physiobook-blue-accent);
    color: #fff;
}

.physiobook-article-sharing a:nth-of-type(1):hover,
.physiobook-article-sharing a:nth-of-type(1):focus-visible {
    background: #0f5fc7;
}

.physiobook-article-sharing a:nth-of-type(2):hover,
.physiobook-article-sharing a:nth-of-type(2):focus-visible {
    background: #075e54;
}

.physiobook-section-title {
    margin-bottom: 20px;
}

.physiobook-section-title span {
    color: var(--physiobook-blue-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.physiobook-section-title h2 {
    margin: 5px 0 0;
    color: var(--physiobook-blue-deep);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}

.physiobook-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.physiobook-card-article {
    overflow: hidden;
    border: 1px solid #dce8ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 38, 55, .07);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.physiobook-card-article:hover,
.physiobook-card-article:focus-within {
    border-color: var(--physiobook-border-card-hover);
    box-shadow: 0 16px 34px rgba(15, 38, 55, .11);
}

.physiobook-card-article-image {
    display: block;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #e7f5fb, #c9e7f4);
}

.physiobook-card-article-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.physiobook-card-article-text {
    padding: 16px;
}

.physiobook-card-article h3 {
    margin: 11px 0 9px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.physiobook-card-article h3 a {
    color: var(--physiobook-blue-deep);
    text-decoration: none;
}

.physiobook-card-article time {
    color: #7a8b98;
    font-size: 12px;
}

.physiobook-article-sidebar {
    position: sticky;
    top: 183px;
    align-self: start;
    height: max-content;
    display: grid;
    gap: 20px;
}

body.admin-bar .physiobook-article-sidebar {
    top: 215px;
}

.physiobook-sidebar-card {
    padding: 24px;
    border: 1px solid #dce8ef;
    border-top: 4px solid var(--physiobook-blue-accent);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 38, 55, .06);
}

.physiobook-sidebar-card > h2 {
    margin: 0 0 16px;
    color: var(--physiobook-blue-deep);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.physiobook-sidebar-card--highlighted {
    border-color: rgba(41, 167, 223, .25);
    border-top-color: var(--physiobook-green-accent);
    background: linear-gradient(145deg, var(--physiobook-blue-dark), #0f2637);
    color: #fff;
}

.physiobook-sidebar-card--latest {
    border-top-color: var(--physiobook-blue-accent);
}

.physiobook-sidebar-card--popular {
    border-top-color: #f59e0b;
}

.physiobook-sidebar-card--highlighted span {
    color: var(--physiobook-blue-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.physiobook-sidebar-card--highlighted h2 {
    margin: 10px 0 20px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
}

.physiobook-sidebar-card--highlighted a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 7px;
    background: var(--physiobook-blue-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.physiobook-article-sidebar .physiobook-footer-posts {
    display: grid;
    gap: 16px;
}

.physiobook-article-sidebar .physiobook-footer-post {
    padding-bottom: 16px;
    border-bottom: 1px solid #e5eef3;
}

.physiobook-article-sidebar .physiobook-footer-post-link {
    grid-template-columns: 78px minmax(0, 1fr);
}

.physiobook-article-sidebar .physiobook-footer-post:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.physiobook-article-sidebar .physiobook-footer-post-image {
    width: 78px;
    height: 62px;
}

.physiobook-article-sidebar .physiobook-footer-post-title {
    color: var(--physiobook-blue-deep);
}

.physiobook-article-sidebar .physiobook-footer-post time {
    color: #7a8b98;
}

.physiobook-article .comment-respond,
.physiobook-article .comments-area,
.physiobook-article #comments {
    max-width: 860px;
    margin: 42px auto 0;
}

@media (max-width: 1100px) {
    .physiobook-article-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .physiobook-article-sidebar {
        position: static;
        top: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .physiobook-sidebar-card--highlighted {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .physiobook-article-container {
        width: calc(100% - 28px);
        padding: 20px 0 54px;
    }

    .physiobook-article-breadcrumbs span:last-child {
        max-width: 100%;
        white-space: normal;
    }

    .physiobook-article-text {
        padding: 0 18px 30px;
    }

    .physiobook-article-intro {
        margin-right: -18px;
        margin-left: -18px;
        padding: 30px 24px 28px;
    }

    .physiobook-article-title {
        font-size: 29px;
        line-height: 1.2;
    }

    .physiobook-article-summary {
        font-size: 17px;
        line-height: 1.78;
    }

    .physiobook-article-content {
        font-size: 17px;
        line-height: 1.78;
    }

    .physiobook-article-featured-image img {
        height: 280px;
    }

    .physiobook-article-content blockquote {
        margin: 26px 0 !important;
        padding: 20px 22px !important;
        border-left-width: 4px;
        font-size: 17px;
    }

    .physiobook-article-content ul,
    .physiobook-article-content ol {
        margin-left: 0;
        padding-left: 1.15em;
        list-style-position: outside;
    }

    .physiobook-article-content li {
        margin-left: 0;
        padding-left: 0;
    }

    .physiobook-related-grid,
    .physiobook-article-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .physiobook-article-featured-image img {
        height: 220px;
    }

    .physiobook-article-title {
        font-size: 28px;
    }

    .physiobook-article-sharing,
    .physiobook-article-topics {
        align-items: center;
        flex-direction: row;
    }
}

/* ===== NATIVE CATEGORY ARCHIVE ===== */
.physiobook-category {
    background: #f4f8fa;
    color: var(--physiobook-blue-deep);
}

.physiobook-category-container {
    box-sizing: border-box;
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 30px 72px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 38, 55, .06);
}

.physiobook-category-top-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 0 30px;
    padding: 14px 0 16px;
    border-bottom: 1px solid #e1ebf0;
}

.physiobook-category-breadcrumbs {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    min-width: 0;
    margin: 0;
    color: #738795;
    font-size: 13px;
}

.physiobook-category-breadcrumbs a {
    color: #41657a;
    text-decoration: none;
}

.physiobook-category-breadcrumbs a:hover,
.physiobook-category-breadcrumbs a:focus-visible {
    color: var(--physiobook-blue-accent);
}

.physiobook-category-header {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: auto;
    max-width: 280px;
    margin: 0 0 0 auto;
    padding: 8px 16px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--physiobook-blue-deep), #174865);
    color: #fff;
    box-shadow: 0 6px 16px rgba(15, 38, 55, .09);
}

.physiobook-category-title {
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.15;
}

.physiobook-category-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 34px;
    align-items: start;
}

.physiobook-category-layout--no-sidebar {
    grid-template-columns: minmax(0, 1fr);
}

.physiobook-category-articles {
    display: grid;
    gap: 22px;
    width: 100%;
    max-width: 840px;
    min-width: 0;
    justify-self: start;
}

.physiobook-category-card {
    overflow: hidden;
    margin: 0;
    border: 1px solid #e1ebf0;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 38, 55, .06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.physiobook-category-card:hover,
.physiobook-category-card:focus-within {
    border-color: var(--physiobook-border-card-hover);
    box-shadow: 0 14px 32px rgba(15, 38, 55, .11);
    transform: translateY(-2px);
}

.physiobook-category-card-link {
    display: grid;
    grid-template-columns: minmax(210px, 32%) minmax(0, 1fr);
    min-height: 170px;
    color: inherit;
    text-decoration: none;
}

.physiobook-category-card-link:focus-visible {
    outline: 3px solid var(--physiobook-blue-accent);
    outline-offset: -3px;
}

.physiobook-category-image {
    position: relative;
    align-self: stretch;
    min-height: 170px;
    margin: 0;
    background: linear-gradient(135deg, #dbe8ee, #f0f6f8);
}

.physiobook-category-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.physiobook-category-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 26px;
}

.physiobook-category-card-title {
    margin: 0 0 10px;
    color: var(--physiobook-blue-deep);
    font-size: clamp(21px, 2.2vw, 27px);
    line-height: 1.18;
}

.physiobook-category-text p {
    margin: 0 0 12px;
    color: #536b79;
    font-size: 14px;
    line-height: 1.55;
}

.physiobook-category-read {
    color: var(--physiobook-blue-accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.physiobook-category-sidebar {
    position: sticky;
    top: 183px;
    display: grid;
    gap: 20px;
}

body.admin-bar .physiobook-category-sidebar {
    top: 215px;
}

.physiobook-category-sidebar:empty {
    display: none;
}

.physiobook-category-sidebar .physiobook-ad-promotion {
    overflow: hidden;
    margin: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 38, 55, .08);
}

.physiobook-category-sidebar .physiobook-ad-promotion-image {
    display: block;
    width: 100%;
    height: auto;
}

.physiobook-category-articles .navigation.pagination {
    margin-top: 10px;
}

.physiobook-category-articles .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.physiobook-category-articles .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid #dce8ed;
    border-radius: 8px;
    background: #fff;
    color: var(--physiobook-blue-deep);
    font-weight: 800;
    text-decoration: none;
}

.physiobook-category-articles .page-numbers.current,
.physiobook-category-articles .page-numbers:hover,
.physiobook-category-articles .page-numbers:focus-visible {
    border-color: var(--physiobook-blue-accent);
    background: var(--physiobook-blue-accent);
    color: #fff;
}

.physiobook-category-empty {
    padding: 36px;
    border-radius: 12px;
    background: #fff;
}

@media (max-width: 980px) {
    .physiobook-category-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .physiobook-category-sidebar {
        position: static;
    }
}

@media (max-width: 700px) {
    .physiobook-category-container {
        width: calc(100% - 28px);
        padding: 20px 14px 52px;
    }

    .physiobook-category-header {
        display: none;
    }

    .physiobook-category-card-link {
        grid-template-columns: 1fr;
    }

    .physiobook-category-image {
        width: 100%;
        min-height: 0;
        aspect-ratio: 80 / 27;
    }

    .physiobook-category-text {
        padding: 20px;
    }
}

/* ===== NATIVE HOMEPAGE ===== */
.physiobook-homepage,
.physiobook-homepage * {
    box-sizing: border-box;
}

.physiobook-homepage {
    background: #f4f8fa;
    color: var(--physiobook-blue-deep);
    font-family: "Open Sans", Arial, sans-serif;
}

.physiobook-homepage-container {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

.physiobook-homepage-intro {
    position: relative;
    overflow: hidden;
    padding: 28px 0 52px;
    background: #f4f8fa;
}

.physiobook-homepage-intro::after {
    display: none;
}

.physiobook-homepage-seo-intro {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    align-items: end;
    gap: 34px;
    margin: 0 0 24px;
    padding: 13px 0 18px 18px;
    border-bottom: 1px solid #dce8ed;
}

.physiobook-homepage-seo-intro::before {
    position: absolute;
    top: 13px;
    bottom: 18px;
    left: 0;
    width: 4px;
    border-radius: 999px;
    background: var(--physiobook-green-accent);
    content: "";
}

.physiobook-homepage-seo-intro h1 {
    max-width: 820px;
    margin: 0;
    color: var(--physiobook-blue-deep);
    font-size: clamp(24px, 2.25vw, 30px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.16;
}

.physiobook-homepage-seo-intro p {
    max-width: 440px;
    margin: 0;
    color: #647985;
    font-size: 14px;
    line-height: 1.65;
}

.physiobook-homepage-kicker {
    margin: 0 0 9px;
    color: var(--physiobook-blue-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.physiobook-homepage-featured {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(420px, 1fr);
    gap: 12px;
}

.physiobook-homepage-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.physiobook-homepage-card {
    min-width: 0;
    margin: 0;
}

.physiobook-homepage-card-link {
    color: inherit;
    text-decoration: none;
}

.physiobook-homepage-image {
    position: relative;
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #dce9ee, #c8dce4);
}

.physiobook-homepage-image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 24, 35, .92), rgba(7, 24, 35, 0) 68%);
    content: "";
    pointer-events: none;
}

.physiobook-homepage-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease;
}

.physiobook-homepage-card-link:hover .physiobook-homepage-image img,
.physiobook-homepage-card-link:focus-visible .physiobook-homepage-image img {
    transform: scale(1.035);
}

.physiobook-homepage-card-link:focus-visible {
    outline: 3px solid var(--physiobook-green-accent);
    outline-offset: 3px;
}

.physiobook-homepage-card--main .physiobook-homepage-card-link,
.physiobook-homepage-card--featured .physiobook-homepage-card-link {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 38, 55, .11);
}

.physiobook-homepage-card--main .physiobook-homepage-image {
    height: 544px;
    min-height: 0;
}

.physiobook-homepage-card--featured .physiobook-homepage-image {
    height: 266px;
    min-height: 0;
}

.physiobook-homepage-card--main .physiobook-homepage-card-text,
.physiobook-homepage-card--featured .physiobook-homepage-card-text {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: block;
    padding: 34px;
    color: #fff;
}

.physiobook-homepage-card--featured .physiobook-homepage-card-text {
    padding: 21px;
}

.physiobook-homepage-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #6d7f89;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.physiobook-homepage-category {
    color: var(--physiobook-category-color, var(--physiobook-blue-accent));
    letter-spacing: .07em;
    text-transform: uppercase;
}

.physiobook-homepage-meta time::before {
    margin-right: 8px;
    color: #a6b5bc;
    content: "•";
}

.physiobook-homepage-card--main .physiobook-homepage-meta,
.physiobook-homepage-card--featured .physiobook-homepage-meta {
    color: rgba(255, 255, 255, .72);
}

.physiobook-homepage-card h3 {
    margin: 0;
    color: var(--physiobook-blue-deep);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.physiobook-homepage-card--main h3 {
    color: #fff;
    font-size: clamp(28px, 3vw, 43px);
    line-height: 1.1;
}

.physiobook-homepage-card--featured h3 {
    color: #fff;
    font-size: 17px;
    line-height: 1.25;
}

.physiobook-homepage-summary {
    display: block;
    margin-top: 13px;
    color: #5e707a;
    font-size: 13px;
    line-height: 1.65;
}

.physiobook-homepage-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--physiobook-category-color, var(--physiobook-blue-accent));
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.physiobook-homepage-card--main .physiobook-homepage-read,
.physiobook-homepage-card--featured .physiobook-homepage-read,
.physiobook-homepage-card--main .physiobook-homepage-summary,
.physiobook-homepage-card--featured .physiobook-homepage-summary {
    display: none;
}

.physiobook-homepage-quick-picks {
    border-bottom: 1px solid #dce8ed;
    background: #fff;
}

.physiobook-homepage-quick-picks-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 74px;
}

.physiobook-homepage-quick-picks-title {
    margin-right: 5px;
    color: #536b78;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.physiobook-homepage-quick-picks a {
    padding: 9px 14px;
    border: 1px solid var(--physiobook-category-color, #d9e6eb);
    border-radius: 999px;
    color: var(--physiobook-category-color, var(--physiobook-blue-dark));
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.physiobook-homepage-quick-picks a:hover,
.physiobook-homepage-quick-picks a:focus-visible {
    border-color: var(--physiobook-category-color, var(--physiobook-blue-accent));
    background: #f4f8fa;
    color: var(--physiobook-category-color, var(--physiobook-blue-dark));
}

.physiobook-homepage-content {
    padding: 56px 0 78px;
}

.physiobook-homepage-ad:empty {
    display: none;
}

.physiobook-homepage-ad-mobile {
    display: none;
}

.physiobook-homepage-promotion .physiobook-ad-promotion,
.physiobook-homepage-promotion .physiobook-ad-promotion-image {
    width: 100%;
}

.physiobook-homepage-promotion .physiobook-ad-promotion {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 38, 55, .1);
}

.physiobook-homepage-section,
.physiobook-homepage-topics {
    clear: both;
    margin-bottom: 72px;
}

.physiobook-homepage-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 26px;
    margin-bottom: 25px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d6e5eb;
}

.physiobook-homepage-section-header h2 {
    margin: 0;
    color: var(--physiobook-blue-deep);
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.1;
}

.physiobook-homepage-all {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    color: var(--physiobook-blue-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

.physiobook-homepage-all:hover,
.physiobook-homepage-all:focus-visible {
    color: var(--physiobook-green-accent);
}

.physiobook-homepage-section--latest {
    position: relative;
    padding: 30px;
    overflow: hidden;
    border: 1px solid #dce9ee;
    border-top: 4px solid var(--physiobook-blue-accent);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 38, 55, .07);
}

.physiobook-homepage-section--latest .physiobook-homepage-section-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
}

.physiobook-homepage-latest-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    gap: 20px;
}

.physiobook-homepage-latest-grid--with-promotion {
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr) minmax(220px, 250px);
    gap: 20px;
}

.physiobook-homepage-promotion {
    align-self: start;
}

.physiobook-homepage-card--large,
.physiobook-homepage-card--standard {
    overflow: hidden;
    border: 1px solid #dfebef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(15, 38, 55, .055);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.physiobook-homepage-card--large:hover,
.physiobook-homepage-card--standard:hover,
.physiobook-homepage-card--horizontal:hover,
.physiobook-homepage-card--large:focus-within,
.physiobook-homepage-card--standard:focus-within,
.physiobook-homepage-card--horizontal:focus-within {
    border-color: var(--physiobook-border-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(15, 38, 55, .11);
}

.physiobook-homepage-card--large .physiobook-homepage-image {
    aspect-ratio: 16 / 9;
}

.physiobook-homepage-card--large .physiobook-homepage-image::after,
.physiobook-homepage-card--standard .physiobook-homepage-image::after,
.physiobook-homepage-card--horizontal .physiobook-homepage-image::after {
    display: none;
}

.physiobook-homepage-card--large .physiobook-homepage-card-text,
.physiobook-homepage-card--standard .physiobook-homepage-card-text {
    display: block;
    padding: 25px;
}

.physiobook-homepage-card--large h3 {
    font-size: 26px;
}

.physiobook-homepage-latest-list {
    display: grid;
    align-content: start;
    gap: 12px;
}

.physiobook-homepage-card--horizontal {
    overflow: hidden;
    border: 1px solid #dfebef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(15, 38, 55, .045);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.physiobook-homepage-card--horizontal .physiobook-homepage-card-link {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    height: 135px;
    min-height: 0;
    background: #fff;
}

.physiobook-homepage-card--horizontal .physiobook-homepage-image {
    height: 100%;
}

.physiobook-homepage-card--horizontal .physiobook-homepage-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 20px;
}

.physiobook-homepage-card--horizontal h3 {
    font-size: 17px;
}

.physiobook-homepage-card--horizontal .physiobook-homepage-read {
    display: none;
}

.physiobook-homepage-ad:not(:empty) {
    clear: both;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.physiobook-homepage-ad .physiobook-ad {
    margin: 12px auto;
}

.physiobook-homepage-topics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.physiobook-homepage-topic {
    position: relative;
    display: flex;
    min-height: 235px;
    overflow: hidden;
    flex-direction: column;
    padding: 28px;
    border: 1px solid #d9e7ec;
    border-top: 4px solid var(--physiobook-category-color, var(--physiobook-blue-accent));
    border-radius: 12px;
    background: #fff;
    color: var(--physiobook-blue-deep);
    text-decoration: none;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.physiobook-homepage-topic::before {
    position: absolute;
    top: -48px;
    right: -48px;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: var(--physiobook-category-color, var(--physiobook-blue-accent));
    opacity: .09;
    content: "";
}

.physiobook-homepage-topic:hover,
.physiobook-homepage-topic:focus-visible {
    border-color: var(--physiobook-border-card-hover);
    border-top-color: var(--physiobook-category-color, var(--physiobook-blue-accent));
    outline: 0;
    box-shadow: 0 16px 36px rgba(15, 38, 55, .09);
    transform: translateY(-4px);
}

.physiobook-homepage-topic-count {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin-bottom: auto;
    color: var(--physiobook-category-color, var(--physiobook-blue-accent));
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.physiobook-homepage-topic h3 {
    margin: 24px 0 8px;
    font-size: 20px;
    line-height: 1.2;
}

.physiobook-homepage-topic p {
    margin: 0;
    color: #647985;
    font-size: 12px;
    line-height: 1.6;
}

.physiobook-homepage-topic-action {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--physiobook-category-color, var(--physiobook-blue-dark));
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.physiobook-homepage-stream-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.physiobook-homepage-stream-grid--mobile-layout > .physiobook-homepage-card:nth-child(n + 5) {
    display: none;
}

.physiobook-homepage-streams {
    display: grid;
    gap: 32px;
}

.physiobook-homepage-stream {
    margin-bottom: 0;
    padding: 30px;
    border: 1px solid #dce8ed;
    border-top: 4px solid var(--physiobook-category-color, var(--physiobook-blue-accent));
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 38, 55, .065);
}

.physiobook-homepage-stream .physiobook-homepage-kicker {
    color: var(--physiobook-category-color, var(--physiobook-blue-accent));
}

.physiobook-homepage-feature {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: 38px;
    overflow: hidden;
    border: 1px solid #d5e6ec;
    border-left: 5px solid var(--physiobook-blue-accent);
    border-radius: 14px;
    background: linear-gradient(135deg, #e8f3f6 0%, #f2f8f9 58%, #e9f5f3 100%);
    box-shadow: 0 10px 28px rgba(15, 38, 55, .055);
}

.physiobook-homepage-feature--with-ad {
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    align-items: center;
}

.physiobook-homepage-feature-content {
    max-width: 560px;
}

.physiobook-homepage-feature-content h2 {
    margin: 0;
    color: var(--physiobook-blue-deep);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.1;
}

.physiobook-homepage-feature-content > p:not(.physiobook-homepage-kicker) {
    max-width: 520px;
    margin: 14px 0 21px;
    color: #526d79;
    font-size: 14px;
    line-height: 1.65;
}

.physiobook-homepage-feature-search {
    display: flex;
    width: min(520px, 100%);
    padding: 5px;
    border: 1px solid #c9dde4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 38, 55, .055);
}

.physiobook-homepage-feature-search input {
    min-width: 0;
    flex: 1 1 auto;
    height: 44px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--physiobook-blue-deep);
    font-size: 14px;
}

.physiobook-homepage-feature-search input:focus-visible {
    border-radius: 7px;
    box-shadow: inset 0 0 0 2px var(--physiobook-blue-accent);
}

.physiobook-homepage-feature-search button {
    flex: 0 0 auto;
    min-width: 112px;
    height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: var(--physiobook-blue-dark);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.physiobook-homepage-feature-search button:hover,
.physiobook-homepage-feature-search button:focus-visible {
    background: var(--physiobook-green-accent);
    color: #082d33;
}

.physiobook-homepage-feature-ad {
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.physiobook-homepage-card--standard .physiobook-homepage-image {
    aspect-ratio: 4 / 3;
}

.physiobook-homepage-card--standard .physiobook-homepage-card-text {
    padding: 21px;
}

.physiobook-homepage-card--standard h3 {
    font-size: 18px;
}

.physiobook-homepage-card--standard .physiobook-homepage-summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 1080px) {
    .physiobook-homepage-featured {
        grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr);
    }

    .physiobook-homepage-card--main .physiobook-homepage-image {
        height: 480px;
    }

    .physiobook-homepage-card--featured .physiobook-homepage-image {
        height: 234px;
    }

    .physiobook-homepage-stream-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .physiobook-homepage-latest-grid--with-promotion {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    }

    .physiobook-homepage-latest-grid--with-promotion .physiobook-homepage-promotion {
        grid-column: 1 / -1;
        width: min(324px, 100%);
        margin: 0 auto;
    }
}

@media (max-width: 820px) {
    .physiobook-homepage-seo-intro {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .physiobook-homepage-seo-intro p {
        max-width: 680px;
    }

    .physiobook-homepage-topics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .physiobook-homepage-featured,
    .physiobook-homepage-latest-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .physiobook-homepage-card--main .physiobook-homepage-image {
        height: 440px;
    }

    .physiobook-homepage-latest-grid--with-promotion {
        grid-template-columns: minmax(0, 1fr);
    }

    .physiobook-homepage-feature--with-ad {
        grid-template-columns: 1fr;
    }

    .physiobook-homepage-feature-content {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .physiobook-homepage-ad-mobile {
        display: block;
        grid-column: 1 / -1;
        min-width: 0;
        width: 100%;
        padding: 0;
    }

    .physiobook-homepage-ad-mobile .physiobook-ad {
        margin: 12px auto 24px;
    }

    .physiobook-homepage-latest-grid > .physiobook-homepage-card--large {
        order: 1;
    }

    .physiobook-homepage-latest-grid > .physiobook-homepage-latest-list {
        order: 2;
    }

    .physiobook-homepage-latest-grid > .physiobook-homepage-ad-mobile--latest {
        order: 3;
    }

    .physiobook-homepage-latest-grid > .physiobook-homepage-promotion {
        order: 4;
    }

    .physiobook-homepage-stream-grid--mobile-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .physiobook-homepage-stream-grid--mobile-layout > .physiobook-homepage-card:nth-child(n + 5) {
        display: block;
    }

    .physiobook-homepage-stream-grid--mobile-layout > .physiobook-homepage-card:first-child {
        margin-bottom: 8px;
    }

    .physiobook-homepage-stream-grid--mobile-layout > .physiobook-homepage-card:first-child .physiobook-homepage-image {
        aspect-ratio: 16 / 9;
    }

    .physiobook-homepage-stream-grid--mobile-layout > .physiobook-homepage-card:first-child .physiobook-homepage-card-text {
        padding: 25px;
    }

    .physiobook-homepage-stream-grid--mobile-layout > .physiobook-homepage-card:first-child h3 {
        font-size: 26px;
    }

    .physiobook-homepage-stream-grid--mobile-layout > .physiobook-homepage-card:not(:first-child) .physiobook-homepage-card-link {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        height: 124px;
        min-height: 0;
    }

    .physiobook-homepage-stream-grid--mobile-layout > .physiobook-homepage-card:not(:first-child) .physiobook-homepage-image {
        height: 100%;
        aspect-ratio: auto;
    }

    .physiobook-homepage-stream-grid--mobile-layout > .physiobook-homepage-card:not(:first-child) .physiobook-homepage-card-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 14px;
    }

    .physiobook-homepage-stream-grid--mobile-layout > .physiobook-homepage-card:not(:first-child) h3 {
        font-size: 15px;
    }

    .physiobook-homepage-stream-grid--mobile-layout > .physiobook-homepage-card:not(:first-child) .physiobook-homepage-meta {
        margin-bottom: 7px;
        font-size: 9px;
    }

    .physiobook-homepage-stream-grid--mobile-layout > .physiobook-homepage-card:not(:first-child) .physiobook-homepage-summary,
    .physiobook-homepage-stream-grid--mobile-layout > .physiobook-homepage-card:not(:first-child) .physiobook-homepage-read {
        display: none;
    }
}

@media (max-width: 620px) {
    .physiobook-homepage-container {
        width: calc(100% - 28px);
    }

    .physiobook-homepage-intro {
        padding: 18px 0 38px;
    }

    .physiobook-homepage-seo-intro {
        gap: 7px;
        margin-bottom: 18px;
        padding: 10px 0 15px 14px;
    }

    .physiobook-homepage-seo-intro::before {
        top: 10px;
        bottom: 15px;
        width: 3px;
    }

    .physiobook-homepage-seo-intro h1 {
        font-size: 22px;
        line-height: 1.2;
    }

    .physiobook-homepage-seo-intro p {
        font-size: 13px;
        line-height: 1.55;
    }

    .physiobook-homepage-topics-grid,
    .physiobook-homepage-stream-grid {
        grid-template-columns: 1fr;
    }

    .physiobook-homepage-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .physiobook-homepage-card--main .physiobook-homepage-image {
        height: 400px;
    }

    .physiobook-homepage-card--main .physiobook-homepage-card-text {
        padding: 25px;
    }

    .physiobook-homepage-card--featured .physiobook-homepage-image {
        height: 205px;
    }

    .physiobook-homepage-card--featured .physiobook-homepage-card-text {
        padding: 14px;
    }

    .physiobook-homepage-card--featured h3 {
        font-size: 14px;
    }

    .physiobook-homepage-card--featured .physiobook-homepage-meta {
        margin-bottom: 7px;
        font-size: 9px;
    }

    .physiobook-homepage-quick-picks-container {
        padding: 15px 0;
    }

    .physiobook-homepage-quick-picks-title {
        width: 100%;
    }

    .physiobook-homepage-content {
        padding: 42px 0 58px;
    }

    .physiobook-homepage-section--latest {
        padding: 22px;
    }

    .physiobook-homepage-section,
    .physiobook-homepage-topics {
        margin-bottom: 54px;
    }

    .physiobook-homepage-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .physiobook-homepage-card--horizontal .physiobook-homepage-card-link {
        grid-template-columns: 118px minmax(0, 1fr);
        height: 124px;
        min-height: 0;
    }

    .physiobook-homepage-card--horizontal .physiobook-homepage-card-text {
        padding: 14px;
    }

    .physiobook-homepage-card--horizontal h3 {
        font-size: 15px;
    }

    .physiobook-homepage-card--horizontal .physiobook-homepage-meta {
        margin-bottom: 7px;
        font-size: 9px;
    }

    .physiobook-homepage-topic {
        min-height: 210px;
    }

    .physiobook-homepage-stream {
        padding: 22px;
    }

    .physiobook-homepage-feature {
        display: block;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .physiobook-homepage-feature-content {
        display: none;
    }

    .physiobook-homepage-feature-ad {
        padding: 0;
        background: transparent;
    }

    .physiobook-homepage-feature-search {
        flex-direction: column;
        gap: 6px;
    }

    .physiobook-homepage-feature-search button {
        width: 100%;
    }
}
