/* Inner pages, entries, tables, pagination */
.page-section { padding: 60px 0; }
.page-hero {
    background: var(--c-dark-blue);
    color: var(--c-white);
    padding: 60px 0;
    text-align: center;
}
.page-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--c-white);
    margin-bottom: 16px;
}
.page-hero__title:last-child {
    margin-bottom: 0;
}
.single-service .page-hero__title,
.single-promotion .page-hero__title,
.single-specialist .page-hero__title,
.post-type-archive-service .page-hero__title,
.post-type-archive-specialist .page-hero__title {
    margin-bottom: 0;
}
.post-type-archive-service .service-card__body {
    background: #f9f9f9;
}
.page-hero__subtitle {
    font-size: 16px;
    opacity: .8;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}
.service-detail__prices .price-table-block {
    margin: 0;
    padding: 0;
}
.service-detail__prices .price-table-block .price-table {
    margin: 0;
}
.service-detail__prices .price-table-block--secondary {
    margin-top: -1px;
}
.service-detail__prices .price-table-block--secondary .price-table-block__title {
    border-radius: 0;
}
.price-table th,
.price-table td {
    padding: 14px 16px;
    text-align: left;
    border: 1px solid var(--c-border);
    font-size: 15px;
    vertical-align: top;
}
.price-table th {
    background: var(--c-white);
    color: var(--c-primary);
    font-family: var(--f-heading);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .2px;
    white-space: nowrap;
}
.price-table__col-price,
.price-table__col-duration {
    white-space: nowrap;
    min-width: 160px;
}
.price-table tr:hover td { background: var(--c-bg-light); }
.price-table .price-value { font-weight: 700; color: var(--c-primary); white-space: nowrap; }
.price-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table-notes {
    margin-top: 12px;
    padding-top: 8px;
}
.price-table-block + .price-table-block {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
.price-table-block__title {
    margin: 0;
    padding: 10px 16px;
    background: var(--c-primary);
    color: var(--c-white);
    border-radius: var(--radius) var(--radius) 0 0;
    font-size: 1.65rem;
    line-height: 1.25;
    font-weight: 700;
}
.price-table-block__title + .price-table-wrapper .price-table {
    margin-top: 0;
}
.price-table-block__title + .price-table-wrapper .price-table th {
    border-top: 0;
}
.price-table-block--secondary .price-table-wrapper .price-table {
    margin-top: 0;
}
.price-table-notes__item {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--c-text-light);
    line-height: 1.5;
}
.price-table-notes__mark {
    display: inline-block;
    min-width: 28px;
    font-weight: 700;
    color: var(--c-dark);
}

.specialist-profile {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 48px;
    align-items: start;
}
.specialist-profile__photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.specialist-profile__photo img {
    width: 100%;
    object-fit: cover;
}
.specialist-profile__info h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}
.specialist-profile__position {
    font-size: 16px;
    color: var(--c-primary);
    font-weight: 600;
    margin-bottom: 16px;
}
.specialist-profile__text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--c-text-light);
}
.specialist-profile__text p { margin-bottom: 12px; }
.specialist-profile__certs { margin-top: 32px; }
.specialist-profile__certs h3 {
    font-size: 20px;
    margin-bottom: 16px;
}
.certs-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.certs-gallery img {
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform var(--transition);
}
.certs-gallery img:hover { transform: scale(1.05); }

.contact-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.contact-info__item { margin-bottom: 20px; }
.contact-info__label {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--c-text-muted);
    margin-bottom: 4px;
}
.contact-info__value {
    font-size: 16px;
    line-height: 1.6;
}
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    display: block;
}

.addresses-page__grid {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 40px;
    align-items: stretch;
}
.addresses-page__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.address-card {
    display: block;
    width: 100%;
    padding: 22px;
    text-align: left;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    background: var(--c-white);
    color: var(--c-dark);
    font: inherit;
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.address-card:hover,
.address-card.is-active {
    border-color: var(--c-primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.address-card__title,
.address-card__text,
.address-card__meta {
    display: block;
}
.address-card__title {
    margin-bottom: 10px;
    font-family: var(--f-heading);
    font-size: 18px;
    font-weight: 700;
}
.address-card__text {
    font-size: 15px;
    line-height: 1.6;
}
.address-card__meta {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--c-text-light);
}
.address-card__meta span {
    display: block;
}
.addresses-map {
    --addresses-map-height: 520px;
    height: var(--addresses-map-height);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--c-bg-light);
}
.addresses-map__canvas {
    width: 100%;
    height: var(--addresses-map-height);
}
.addresses-map-pin {
    position: relative;
    width: 38px;
    height: 38px;
    border: 2px solid var(--c-primary);
    border-radius: 50% 50% 50% 6px;
    background: var(--c-white);
    box-shadow: 0 6px 18px rgba(43, 42, 40, .18);
    transform: rotate(-45deg);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.addresses-map-pin span {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: url('../img/logo.svg') center / 96% auto no-repeat;
    transform: rotate(45deg);
}
.addresses-map-pin--active {
    border-color: var(--c-primary-dark);
    border-width: 3px;
    box-shadow: 0 6px 18px rgba(43, 42, 40, .18);
    transform: rotate(-45deg) scale(1.12);
}
.addresses-map-balloon__address,
.addresses-map-balloon__phone,
.addresses-map-balloon__hours {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--c-text);
}
.addresses-map-balloon__address + .addresses-map-balloon__phone,
.addresses-map-balloon__phone + .addresses-map-balloon__hours,
.addresses-map-balloon__address + .addresses-map-balloon__hours {
    margin-top: 8px;
}
.addresses-map-balloon__phone a {
    color: var(--c-primary);
    text-decoration: none;
}
.addresses-map-balloon__phone a:hover {
    color: var(--c-primary-dark);
}
.addresses-map-balloon__hours {
    color: var(--c-text-light);
}
.addresses-map iframe {
    display: block;
    width: 100%;
    height: var(--addresses-map-height, 520px);
    border: none;
}

.pagination { text-align: center; margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    font-weight: 600;
    border: 1px solid var(--c-border);
    transition: all var(--transition);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--c-primary);
    color: var(--c-white);
    border-color: var(--c-primary);
}

.entry-content h2 { font-size: 1.5rem; margin: 32px 0 16px; }
.entry-content h3 { font-size: 1.25rem; margin: 24px 0 12px; }
.entry-content {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { margin: 0 0 16px 24px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 8px; }
.entry-content img { border-radius: var(--radius); margin: 16px 0; }
.entry-content a { color: var(--c-primary); text-decoration: underline; }
.entry-content a:hover { color: var(--c-primary-dark); }
.entry-content blockquote {
    border-left: 4px solid var(--c-primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--c-bg-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--c-text-light);
}
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    max-width: 100%;
}
.entry-content th,
.entry-content td {
    padding: 12px;
    border: 1px solid var(--c-border);
    text-align: left;
    overflow-wrap: anywhere;
}
.entry-content th { background: var(--c-bg-light); font-weight: 700; }

.service-detail__content { margin-bottom: 48px; font-size: 16px; line-height: 1.8; }
.service-detail__prices { margin-bottom: 48px; }
.service-detail__prices h2 { font-size: 1.75rem; margin-bottom: 24px; }
.service-detail__cta { text-align: center; margin-top: 48px; }
