/*
Theme Name: JLTABO
Theme URI: https://jltabo.com/
Author: JLTABO
Description: JLTABO Filipino tabo and everyday bathroom living website.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.2
Text Domain: jltabo
License: GPL-2.0-or-later
*/

/* =========================================================
   01. Design tokens
   ========================================================= */

:root {
    --jl-green-950: #093b2b;
    --jl-green-900: #104b36;
    --jl-green-800: #145d40;
    --jl-green-700: #147447;
    --jl-green-600: #14864f;
    --jl-green-100: #e6f5ec;
    --jl-green-50: #f2faf5;

    --jl-blue-800: #075a80;
    --jl-blue-700: #08769f;
    --jl-blue-100: #e3f5fc;
    --jl-blue-50: #f1faff;

    --jl-yellow: #ffda53;
    --jl-yellow-light: #fff4c7;
    --jl-white: #ffffff;
    --jl-ink: #18372e;
    --jl-muted: #52685f;
    --jl-border: #dce8e1;
    --jl-surface: #f7faf8;
    --jl-danger: #a92d2d;

    --jl-font: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;

    --jl-container: 1200px;
    --jl-reading: 780px;

    --jl-radius-sm: 10px;
    --jl-radius: 18px;
    --jl-radius-lg: 28px;

    --jl-shadow-sm: 0 5px 18px rgb(15 65 43 / 5%);
    --jl-shadow: 0 15px 40px rgb(15 65 43 / 8%);

    --jl-space-section: clamp(52px, 7vw, 92px);
}

/* =========================================================
   02. Reset and base
   ========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--jl-white);
    color: var(--jl-ink);
    font-family: var(--jl-font);
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: break-word;
}

body.menu-open {
    overflow: hidden;
}

img,
picture,
video,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

iframe {
    max-width: 100%;
    border: 0;
}

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

button,
input[type="submit"] {
    cursor: pointer;
}

button {
    color: inherit;
}

a {
    color: var(--jl-green-700);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

a:hover {
    color: var(--jl-green-950);
}

a,
button,
input,
textarea,
select,
summary {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--jl-blue-700);
    outline-offset: 4px;
}

::selection {
    background: var(--jl-yellow-light);
    color: var(--jl-green-950);
}

h1,
h2,
h3,
h4 {
    margin: 0 0 18px;
    color: var(--jl-green-950);
    font-weight: 750;
    line-height: 1.18;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(34px, 4.8vw, 62px);
}

h2 {
    font-size: clamp(27px, 3.1vw, 40px);
}

h3 {
    font-size: clamp(21px, 2vw, 25px);
}

h4 {
    font-size: 19px;
}

p {
    margin: 0 0 20px;
}

ul,
ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

li + li {
    margin-top: 8px;
}

strong {
    font-weight: 750;
}

hr {
    margin: 36px 0;
    border: 0;
    border-top: 1px solid var(--jl-border);
}

figure {
    margin: 0;
}

figcaption {
    margin-top: 12px;
    color: var(--jl-muted);
    font-size: 14px;
    line-height: 1.6;
}

blockquote {
    margin: 28px 0;
    padding: 8px 0 8px 24px;
    border-left: 3px solid var(--jl-green-600);
    color: var(--jl-muted);
}

blockquote p:last-child {
    margin-bottom: 0;
}

address {
    font-style: normal;
}

/* =========================================================
   03. Shared layout
   ========================================================= */

.container {
    width: min(var(--jl-container), calc(100% - 48px));
    margin-inline: auto;
}

.container--narrow {
    width: min(var(--jl-reading), calc(100% - 48px));
}

.section {
    padding-block: var(--jl-space-section);
}

.section--soft {
    background: var(--jl-surface);
}

.section--blue {
    background: var(--jl-blue-50);
}

.section--green {
    background: var(--jl-green-50);
}

.section--border {
    border-top: 1px solid var(--jl-border);
}

.section-heading {
    max-width: 740px;
    margin-bottom: 34px;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--jl-muted);
    font-size: 18px;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--jl-green-700);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.5;
    text-transform: uppercase;
}

.lead {
    color: var(--jl-muted);
    font-size: clamp(18px, 1.7vw, 21px);
    line-height: 1.75;
}

.text-muted {
    color: var(--jl-muted);
}

.text-center {
    text-align: center;
}

.stack > * + * {
    margin-top: 24px;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid > *,
.split > *,
.page-layout > * {
    min-width: 0;
}

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

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(30px, 5vw, 72px);
}

.split--wide-copy {
    grid-template-columns: 1.15fr 0.85fr;
}

.split__copy > :last-child {
    margin-bottom: 0;
}

.section-actions {
    margin-top: 32px;
}

.screen-reader-text,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    transform: translateY(-180%);
    border-radius: 8px;
    background: var(--jl-green-950);
    color: var(--jl-white);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
    color: var(--jl-white);
}

/* =========================================================
   04. Buttons
   ========================================================= */

.button,
.wp-element-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 23px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--jl-green-700);
    color: var(--jl-white);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.button:hover,
.wp-element-button:hover {
    background: var(--jl-green-950);
    color: var(--jl-white);
    box-shadow: var(--jl-shadow-sm);
}

.button--secondary {
    border-color: var(--jl-border);
    background: var(--jl-white);
    color: var(--jl-green-950);
}

.button--secondary:hover {
    border-color: var(--jl-green-700);
    background: var(--jl-green-50);
    color: var(--jl-green-950);
}

.button--yellow {
    background: var(--jl-yellow);
    color: var(--jl-green-950);
}

.button--yellow:hover {
    background: #f3ca37;
    color: var(--jl-green-950);
}

.button--small {
    min-height: 42px;
    padding: 10px 17px;
    font-size: 14px;
}

.button[disabled] {
    cursor: wait;
    opacity: 0.65;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 750;
}

/* =========================================================
   05. Site header
   ========================================================= */

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid var(--jl-border);
    background: var(--jl-white);
}

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

.header-inner {
    display: flex;
    min-height: 94px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    text-decoration: none;
}

.site-brand img {
    width: 200px;
    max-height: 76px;
    object-fit: contain;
}

.site-brand .custom-logo-link {
    display: block;
}

.brand-image-slot {
    display: block;
    width: 200px;
    height: 74px;
    border-radius: 12px;
    background: var(--jl-green-50);
}

.primary-nav {
    margin-left: auto;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav li {
    position: relative;
    margin: 0;
}

.primary-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--jl-ink);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
    background: var(--jl-green-50);
    color: var(--jl-green-700);
}

.primary-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    width: 240px;
    padding: 8px;
    visibility: hidden;
    opacity: 0;
    border: 1px solid var(--jl-border);
    border-radius: 12px;
    background: var(--jl-white);
    box-shadow: var(--jl-shadow);
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
}

.primary-nav .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

.menu-toggle {
    display: none;
    width: 46px;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--jl-border);
    border-radius: 10px;
    background: var(--jl-white);
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
    display: block;
    width: 21px;
    height: 2px;
    background: var(--jl-green-950);
}

.menu-toggle__lines {
    position: relative;
}

.menu-toggle__lines::before,
.menu-toggle__lines::after {
    position: absolute;
    left: 0;
    content: "";
}

.menu-toggle__lines::before {
    top: -7px;
}

.menu-toggle__lines::after {
    top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
    top: 0;
    transform: rotate(-45deg);
}

/* =========================================================
   06. Homepage hero
   ========================================================= */

.home-hero {
    position: relative;
    padding-block: clamp(44px, 6vw, 80px);
    overflow: hidden;
    background: linear-gradient(125deg, #f2faf5 0%, #e9f7ff 100%);
}

.home-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}

.home-hero__copy {
    position: relative;
    z-index: 1;
}

.home-hero h1 {
    max-width: 650px;
}

.home-hero .lead {
    max-width: 570px;
}

.hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 25px 0 0;
    padding: 0;
    color: var(--jl-muted);
    font-size: 13px;
    list-style: none;
}

.hero-notes li {
    margin: 0;
}

.hero-notes li::before {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--jl-green-600);
    vertical-align: middle;
    content: "";
}

.home-hero__media {
    min-width: 0;
}

.home-hero__media .media-frame {
    box-shadow: var(--jl-shadow);
}

/* =========================================================
   07. Image areas
   ========================================================= */

.media-frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border: 1px solid var(--jl-border);
    border-radius: var(--jl-radius-lg);
    background: linear-gradient(135deg, #e4f4eb, #e0f2fb);
}

.media-frame--square {
    aspect-ratio: 1;
}

.media-frame--portrait {
    aspect-ratio: 4 / 5;
}

.media-frame--wide {
    aspect-ratio: 16 / 9;
}

.media-frame--hero {
    aspect-ratio: 4 / 3;
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-frame--contain img {
    object-fit: contain;
}

.media-frame.is-empty {
    background:
        radial-gradient(
            circle at 78% 24%,
            rgb(255 255 255 / 70%),
            transparent 38%
        ),
        linear-gradient(135deg, #e4f4eb, #e0f2fb);
}

/* Missing images retain their reserved space without broken icons. */

.media-frame img[hidden] {
    display: none;
}

.card__image .media-frame {
    border: 0;
    border-radius: 0;
}

/* =========================================================
   08. Cards and content links
   ========================================================= */

.card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--jl-border);
    border-radius: var(--jl-radius);
    background: var(--jl-white);
    box-shadow: var(--jl-shadow-sm);
}

.card__image {
    display: block;
    overflow: hidden;
}

.card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 27px;
}

.card__body h3 {
    margin-bottom: 12px;
}

.card__body h3 a {
    color: inherit;
    text-decoration: none;
}

.card__body h3 a:hover {
    color: var(--jl-green-700);
}

.card__body p {
    color: var(--jl-muted);
}

.card__body .text-link {
    align-self: flex-start;
    margin-top: auto;
}

.info-card {
    padding: 28px;
    border: 1px solid var(--jl-border);
    border-radius: var(--jl-radius);
    background: var(--jl-white);
}

.info-card p:last-child {
    margin-bottom: 0;
}

.number-label {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--jl-green-100);
    color: var(--jl-green-800);
    font-size: 15px;
    font-weight: 800;
}

.link-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.link-list li {
    margin: 0;
    border-bottom: 1px solid var(--jl-border);
}

.link-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 0;
    font-weight: 650;
    text-decoration: none;
}

.link-list a::after {
    flex-shrink: 0;
    content: "→";
}

/* =========================================================
   09. Inner page header and breadcrumbs
   ========================================================= */

.breadcrumbs {
    padding-block: 19px;
    color: var(--jl-muted);
    font-size: 13px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs li {
    margin: 0;
}

.breadcrumbs li + li::before {
    margin-right: 11px;
    color: #83988c;
    content: "/";
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--jl-green-700);
    text-decoration: underline;
}

.page-hero {
    padding-block: 36px 58px;
    border-bottom: 1px solid var(--jl-border);
    background: linear-gradient(120deg, #f4faf6, #edf8fe);
}

.page-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
}

.page-hero__copy {
    max-width: 760px;
}

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

.page-hero--text .page-hero__copy {
    max-width: 850px;
}

.page-hero .lead {
    margin-top: 20px;
}

.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: start;
    gap: 60px;
}

.page-sidebar {
    position: sticky;
    top: 122px;
}

.page-sidebar__title {
    margin-bottom: 12px;
    color: var(--jl-green-950);
    font-size: 14px;
    font-weight: 800;
}

.page-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-sidebar li {
    margin: 0;
}

.page-sidebar a {
    display: block;
    padding: 9px 0;
    color: var(--jl-muted);
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.page-sidebar a:hover {
    color: var(--jl-green-700);
}

/* =========================================================
   10. Page body typography
   ========================================================= */

.prose {
    max-width: var(--jl-reading);
}

.prose > :first-child {
    margin-top: 0;
}

.prose > :last-child {
    margin-bottom: 0;
}

.prose h2 {
    margin-top: 46px;
    font-size: clamp(26px, 3vw, 34px);
}

.prose h3 {
    margin-top: 30px;
    font-size: 23px;
}

.prose p,
.prose li {
    color: #344f43;
}

.prose a {
    font-weight: 600;
}

.prose figure {
    margin-block: 32px;
}

.content-section + .content-section {
    margin-top: 44px;
}

.content-section {
    scroll-margin-top: 125px;
}

.definition-list {
    margin: 25px 0;
}

.definition-list dt {
    margin-top: 20px;
    color: var(--jl-green-950);
    font-weight: 750;
}

.definition-list dd {
    margin: 7px 0 0;
    color: var(--jl-muted);
}

.source-list {
    padding-top: 24px;
    border-top: 1px solid var(--jl-border);
    font-size: 14px;
}

.source-list a {
    overflow-wrap: anywhere;
}

.page-return {
    margin-top: 44px;
    padding-top: 26px;
    border-top: 1px solid var(--jl-border);
}

.page-return .button {
    min-width: 170px;
}

/* =========================================================
   11. Tables
   ========================================================= */

.table-scroll {
    max-width: 100%;
    margin-block: 26px;
    overflow-x: auto;
    border: 1px solid var(--jl-border);
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
}

.content-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    background: var(--jl-white);
    font-size: 15px;
}

.content-table th,
.content-table td {
    padding: 17px 19px;
    border-bottom: 1px solid var(--jl-border);
    text-align: left;
    vertical-align: top;
}

.content-table th {
    background: var(--jl-green-50);
    color: var(--jl-green-950);
    font-weight: 750;
}

.content-table td {
    color: #344f43;
}

.content-table tr:last-child td {
    border-bottom: 0;
}

.content-table th:first-child,
.content-table td:first-child {
    min-width: 145px;
}

.content-table p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   12. FAQ
   ========================================================= */

.faq-list {
    border-top: 1px solid var(--jl-border);
}

.faq-item {
    border-bottom: 1px solid var(--jl-border);
}

.faq-item summary {
    position: relative;
    padding: 22px 42px 22px 0;
    color: var(--jl-green-950);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    position: absolute;
    top: 22px;
    right: 4px;
    color: var(--jl-green-700);
    font-size: 23px;
    font-weight: 400;
    content: "+";
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item__answer {
    max-width: 860px;
    padding: 0 34px 23px 0;
    color: var(--jl-muted);
}

.faq-item__answer > :last-child {
    margin-bottom: 0;
}

.faq-group + .faq-group {
    margin-top: 40px;
}

/* =========================================================
   13. Contact form
   ========================================================= */

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: 48px;
}

.contact-form {
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid var(--jl-border);
    border-radius: var(--jl-radius-lg);
    background: var(--jl-white);
    box-shadow: var(--jl-shadow-sm);
}

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

.form-field {
    min-width: 0;
    margin-bottom: 20px;
}

.form-grid .form-field {
    margin-bottom: 0;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--jl-green-950);
    font-size: 14px;
    font-weight: 750;
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;
    min-height: 49px;
    padding: 12px 14px;
    border: 1px solid #bccfc2;
    border-radius: 9px;
    background: var(--jl-white);
    color: var(--jl-ink);
    line-height: 1.5;
}

.form-field textarea {
    min-height: 170px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--jl-green-600);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
    border-color: var(--jl-danger);
}

.form-help {
    display: block;
    margin-top: 7px;
    color: var(--jl-muted);
    font-size: 13px;
    line-height: 1.55;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 22px 0;
    color: var(--jl-muted);
    font-size: 14px;
    line-height: 1.6;
}

.form-consent input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 3px;
    accent-color: var(--jl-green-700);
}

.form-consent label {
    cursor: pointer;
}

.form-notice {
    margin-bottom: 24px;
    padding: 17px 20px;
    border: 1px solid var(--jl-border);
    border-radius: 10px;
    background: var(--jl-green-50);
    color: var(--jl-green-950);
}

.form-notice--error {
    border-color: #e7b6b6;
    background: #fff5f5;
    color: #862929;
}

.form-notice p:last-child {
    margin-bottom: 0;
}

.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-detail {
    padding-block: 20px;
    border-bottom: 1px solid var(--jl-border);
}

.contact-detail:first-of-type {
    padding-top: 0;
}

.contact-detail h3 {
    margin-bottom: 7px;
    font-size: 18px;
}

.contact-detail p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   14. Legal and utility pages
   ========================================================= */

.legal-meta {
    margin-bottom: 28px;
    color: var(--jl-muted);
    font-size: 14px;
}

.legal-content h2 {
    margin-top: 36px;
}

.not-found {
    padding-block: 80px;
    text-align: center;
}

.not-found__code {
    margin-bottom: 12px;
    color: var(--jl-green-700);
    font-size: clamp(70px, 15vw, 140px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.07em;
}

.not-found .lead {
    max-width: 650px;
    margin-inline: auto;
}

.not-found .button-group {
    justify-content: center;
}

/* =========================================================
   15. Footer
   ========================================================= */

.site-footer {
    padding-top: 58px;
    background: var(--jl-green-950);
    color: #d9e9e0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 42px;
}

.footer-brand img {
    width: 205px;
    max-height: 90px;
    margin-bottom: 19px;
    object-fit: contain;
}

.footer-brand p {
    max-width: 340px;
    color: #c5d9cd;
    font-size: 14px;
    line-height: 1.8;
}

.footer-title {
    margin: 0 0 17px;
    color: var(--jl-white);
    font-size: 15px;
    font-weight: 750;
    letter-spacing: 0;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin: 0 0 10px;
}

.footer-links a {
    color: #d9e9e0;
    font-size: 14px;
    line-height: 1.65;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--jl-yellow);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-block: 22px;
    border-top: 1px solid rgb(255 255 255 / 15%);
    color: #bdd1c5;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: inherit;
}

.footer-policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

/* =========================================================
   16. Back to top
   ========================================================= */

.back-to-top {
    position: fixed;
    z-index: 80;
    right: 20px;
    bottom: max(20px, env(safe-area-inset-bottom));
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--jl-border);
    border-radius: 12px;
    background: var(--jl-white);
    color: var(--jl-green-950);
    box-shadow: var(--jl-shadow);
    font-size: 21px;
    text-decoration: none;
}

.back-to-top[hidden] {
    display: none;
}

.back-to-top:hover {
    background: var(--jl-green-50);
    color: var(--jl-green-950);
}

/* =========================================================
   17. WordPress content compatibility
   ========================================================= */

.aligncenter {
    margin-inline: auto;
}

.alignwide {
    width: 100%;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    margin-top: 10px;
    color: var(--jl-muted);
    font-size: 14px;
}

.wp-block-image {
    margin-block: 26px;
}

.wp-block-image img {
    border-radius: var(--jl-radius);
}

.wp-block-table {
    max-width: 100%;
    overflow-x: auto;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
    padding: 14px 16px;
    border: 1px solid var(--jl-border);
    text-align: left;
}

.wp-block-table th {
    background: var(--jl-green-50);
}

.page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.page-links a,
.page-links > .post-page-numbers {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--jl-border);
    border-radius: 8px;
    text-decoration: none;
}

/* =========================================================
   18. Responsive layout
   ========================================================= */

@media (min-width: 981px) {
    body.menu-open {
        overflow: auto;
    }
}

@media (max-width: 1100px) {
    .header-inner {
        gap: 18px;
    }

    .site-brand img,
    .brand-image-slot {
        width: 175px;
    }

    .primary-nav a {
        padding-inline: 9px;
        font-size: 13px;
    }

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

    .page-layout {
        gap: 36px;
    }

    .footer-grid {
        gap: 26px;
    }
}

@media (max-width: 980px) {
    .header-inner {
        min-height: 82px;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .primary-nav {
        position: fixed;
        top: 82px;
        right: 0;
        bottom: 0;
        left: 0;
        display: none;
        margin: 0;
        padding: 22px 24px 40px;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-top: 1px solid var(--jl-border);
        background: var(--jl-white);
    }

    .primary-nav.is-open {
        display: block;
    }

    .admin-bar .primary-nav {
        top: 114px;
    }

    .primary-nav ul {
        display: block;
        max-width: 650px;
        margin-inline: auto;
    }

    .primary-nav li {
        border-bottom: 1px solid var(--jl-border);
    }

    .primary-nav a {
        padding: 15px 12px;
        font-size: 16px;
    }

    .primary-nav .sub-menu,
    .primary-nav .sub-menu .sub-menu {
        position: static;
        display: block;
        width: auto;
        padding: 0 0 10px 16px;
        visibility: visible;
        opacity: 1;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .primary-nav .sub-menu li {
        border: 0;
    }

    .primary-nav .sub-menu a {
        padding-block: 10px;
        font-size: 14px;
    }

    .home-hero__grid,
    .page-hero__grid {
        gap: 30px;
    }

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

    .page-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-sidebar {
        position: static;
        padding-top: 28px;
        border-top: 1px solid var(--jl-border);
    }

    .page-sidebar ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 24px;
    }

    .contact-layout {
        grid-template-columns: 1fr 1.3fr;
        gap: 28px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .footer-brand p {
        max-width: 650px;
    }
}

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

    .admin-bar .primary-nav {
        top: 128px;
    }
}

@media (max-width: 720px) {
    html {
        scroll-padding-top: 100px;
    }

    .container,
    .container--narrow {
        width: calc(100% - 36px);
    }

    .home-hero__grid,
    .page-hero__grid,
    .split,
    .split--wide-copy,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-hero__grid,
    .page-hero__grid {
        gap: 32px;
    }

    .home-hero {
        padding-block: 38px 44px;
    }

    .home-hero h1 {
        max-width: 620px;
    }

    .home-hero__media {
        max-width: 620px;
        width: 100%;
    }

    .page-hero {
        padding-block: 24px 40px;
    }

    .page-hero__media {
        max-width: 620px;
        width: 100%;
    }

    .split--reverse-mobile .split__media {
        order: -1;
    }

    .section-heading {
        margin-bottom: 26px;
    }

    .section-heading p {
        font-size: 17px;
    }

    .grid {
        gap: 20px;
    }

    .card__body {
        padding: 23px;
    }

    .contact-form {
        padding: 24px;
    }

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

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .content-section {
        scroll-margin-top: 110px;
    }
}

@media (max-width: 520px) {
    body {
        font-size: 16px;
        line-height: 1.75;
    }

    .container,
    .container--narrow {
        width: calc(100% - 32px);
    }

    .header-inner {
        min-height: 76px;
    }

    .site-brand img {
        width: 168px;
        max-height: 62px;
    }

    .brand-image-slot {
        width: 168px;
        height: 62px;
    }

    .primary-nav {
        top: 76px;
        padding-inline: 16px;
    }

    .admin-bar .primary-nav {
        top: 122px;
    }

    .grid--2,
    .grid--3,
    .grid--4,
    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-field--full {
        grid-column: auto;
    }

    .button-group {
        gap: 10px;
    }

    .button-group .button {
        width: 100%;
    }

    .hero-notes {
        gap: 8px 16px;
        font-size: 12px;
    }

    .media-frame {
        border-radius: 20px;
    }

    .card,
    .info-card {
        border-radius: 16px;
    }

    .info-card {
        padding: 23px;
    }

    .page-sidebar ul {
        grid-template-columns: minmax(0, 1fr);
    }

    .content-table th,
    .content-table td {
        padding: 13px 14px;
        font-size: 14px;
    }

    .faq-item summary {
        padding-block: 19px;
        font-size: 17px;
    }

    .faq-item summary::after {
        top: 18px;
    }

    .faq-item__answer {
        padding-right: 12px;
    }

    .contact-form {
        padding: 21px;
        border-radius: 20px;
    }

    .footer-grid {
        gap: 28px 20px;
    }

    .footer-brand,
    .footer-grid > :last-child {
        grid-column: 1 / -1;
    }

    .footer-brand img {
        width: 190px;
    }

    .back-to-top {
        right: 14px;
        width: 43px;
        height: 43px;
    }

    .not-found {
        padding-block: 60px;
    }
}

/* =========================================================
   19. Reduced motion and print
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .site-header,
    .site-footer,
    .breadcrumbs,
    .page-sidebar,
    .button-group,
    .page-return,
    .back-to-top,
    .menu-toggle {
        display: none !important;
    }

    body {
        background: #ffffff;
        color: #000000;
        font-size: 11pt;
    }

    .container,
    .container--narrow {
        width: 100%;
        max-width: none;
    }

    .section,
    .page-hero {
        padding-block: 20px;
        background: transparent;
    }

    .page-layout,
    .page-hero__grid,
    .split {
        display: block;
    }

    .prose {
        max-width: none;
    }

    h1,
    h2,
    h3 {
        color: #000000;
        break-after: avoid;
    }

    img,
    table,
    figure,
    .faq-item {
        break-inside: avoid;
    }

    a {
        color: #000000;
    }
}
/* =========================================================
   JLTABO visual refinement
   Append to the end of style.css
   ========================================================= */

:root {
    --jl-card-border: #dbe9e2;
    --jl-card-shadow:
        0 2px 5px rgb(9 59 43 / 2%),
        0 12px 32px rgb(9 59 43 / 5%);
    --jl-card-shadow-hover:
        0 5px 12px rgb(9 59 43 / 4%),
        0 22px 48px rgb(9 59 43 / 9%);
}

/* Section backgrounds */

.section--soft {
    background:
        radial-gradient(
            ellipse at 100% 0,
            rgb(219 244 235 / 45%),
            transparent 45%
        ),
        #f6faf8;
}

.section--blue {
    background:
        radial-gradient(
            ellipse at 0 100%,
            rgb(215 244 232 / 40%),
            transparent 50%
        ),
        #f0f9fd;
}

.section-heading {
    margin-bottom: 38px;
}

.section-heading .eyebrow,
.split__copy .eyebrow {
    margin-bottom: 15px;
}

.section-heading p {
    max-width: 660px;
    line-height: 1.8;
}

.section-heading--center p {
    margin-inline: auto;
}

/* Primary image cards */

.card {
    position: relative;
    isolation: isolate;
    height: 100%;
    padding: 9px;
    border: 1px solid var(--jl-card-border);
    border-radius: 25px;
    background: #ffffff;
    box-shadow: var(--jl-card-shadow);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.card__image {
    position: relative;
    flex-shrink: 0;
    border-radius: 18px;
    background: #eaf5ef;
}

.card__image .media-frame {
    border-radius: 18px;
    aspect-ratio: 3 / 2;
}

.card__image img {
    transition: transform 350ms ease;
}

.card__body {
    padding: 25px 19px 20px;
}

.card__body h3 {
    margin-bottom: 13px;
    font-size: clamp(21px, 2vw, 25px);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.card__body h3 a {
    border-radius: 3px;
}

.card__body p {
    margin-bottom: 25px;
    color: #587064;
    font-size: 15px;
    line-height: 1.85;
}

.card__body .text-link {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    padding-top: 17px;
    border-top: 1px solid #e8f0eb;
    color: var(--jl-green-800);
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.card__body .text-link span[aria-hidden="true"] {
    display: inline-flex;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9ebe0;
    border-radius: 50%;
    background: #eff8f2;
    color: var(--jl-green-700);
    transition:
        background-color 180ms ease,
        color 180ms ease;
}

.card:focus-within {
    border-color: #9cc9b0;
    box-shadow: var(--jl-card-shadow-hover);
}

/* Numbered information cards */

.info-card {
    position: relative;
    height: 100%;
    padding: clamp(25px, 3vw, 35px);
    overflow: hidden;
    border: 1px solid var(--jl-card-border);
    border-radius: 23px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgb(229 246 236 / 65%),
            transparent 48%
        ),
        #ffffff;
    box-shadow: var(--jl-card-shadow);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.info-card::before {
    position: absolute;
    top: 26px;
    right: 26px;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: #c5e6d1;
    content: "";
}

.number-label {
    width: 48px;
    height: 48px;
    margin-bottom: 23px;
    border: 1px solid #d1e8d9;
    border-radius: 15px;
    background: linear-gradient(145deg, #f5fcf7, #e0f2e7);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 90%);
    color: #17653e;
    font-size: 15px;
    letter-spacing: 0.025em;
}

.info-card h3 {
    max-width: 90%;
    margin-bottom: 14px;
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.info-card p {
    max-width: 58ch;
    color: #536c5f;
    font-size: 15px;
    line-height: 1.9;
}

/* Shared image presentation */

.media-frame {
    border-color: #dbe9e2;
    border-radius: 25px;
    background: #eaf5ef;
}

.split__media > .media-frame,
.page-hero__media > .media-frame,
.home-hero__media > .media-frame {
    box-shadow:
        0 4px 10px rgb(9 59 43 / 3%),
        0 20px 48px rgb(9 59 43 / 7%);
}

.prose > figure {
    margin-block: 36px;
}

.prose > figure .media-frame {
    border-radius: 22px;
    box-shadow: var(--jl-card-shadow);
}

.media-frame.is-empty {
    background:
        radial-gradient(
            circle at 22% 20%,
            rgb(255 255 255 / 85%),
            transparent 42%
        ),
        radial-gradient(
            circle at 85% 82%,
            rgb(210 235 224 / 75%),
            transparent 50%
        ),
        linear-gradient(135deg, #eaf7f0, #e6f4fc);
}

/* Standalone content links */

.link-list {
    display: grid;
    gap: 11px;
}

.link-list li {
    margin: 0;
    border: 0;
}

.link-list a {
    min-height: 62px;
    padding: 16px 20px;
    border: 1px solid #deebe3;
    border-radius: 14px;
    background: #ffffff;
    color: var(--jl-green-900);
    box-shadow: 0 3px 10px rgb(9 59 43 / 2%);
    font-size: 15px;
    line-height: 1.6;
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.link-list a::after {
    display: inline-flex;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf7f0;
    color: var(--jl-green-700);
    font-size: 16px;
}

/* FAQ cards */

.faq-list {
    display: grid;
    gap: 13px;
    border-top: 0;
}

.faq-item {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dce9e1;
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgb(9 59 43 / 3%);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.faq-item summary {
    padding: 22px 68px 22px 23px;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.faq-item summary::after {
    top: 20px;
    right: 20px;
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dcebe1;
    border-radius: 50%;
    background: #f0f8f3;
    color: #17653e;
    font-size: 21px;
    line-height: 1;
}

.faq-item[open] {
    border-color: #b2d4be;
    box-shadow: 0 10px 28px rgb(9 59 43 / 5%);
}

.faq-item[open] summary {
    color: #12663e;
}

.faq-item[open] summary::after {
    border-color: var(--jl-green-700);
    background: var(--jl-green-700);
    color: #ffffff;
}

.faq-item__answer {
    max-width: none;
    padding: 0 23px 23px;
    color: #526b5e;
    font-size: 15px;
    line-height: 1.85;
}

.faq-item__answer > :first-child {
    padding-top: 17px;
    border-top: 1px solid #e7efe9;
}

.faq-item__answer p {
    color: #526b5e;
}

.faq-group + .faq-group {
    margin-top: 45px;
}

/* Inner page sidebar */

.page-sidebar {
    padding: 24px;
    border: 1px solid #deebe3;
    border-radius: 19px;
    background: linear-gradient(155deg, #ffffff, #f5faf7);
    box-shadow: var(--jl-card-shadow);
}

.page-sidebar__title {
    margin-bottom: 17px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e0ebe4;
    font-size: 14px;
}

.page-sidebar a {
    padding: 10px 11px;
    border-radius: 8px;
    color: #526b5e;
    font-size: 13px;
    transition:
        color 160ms ease,
        background-color 160ms ease;
}

.page-sidebar a:hover,
.page-sidebar a:focus-visible {
    background: #eaf5ee;
    color: #12663e;
}

/* Definition lists */

.definition-list {
    margin-block: 28px;
}

.definition-list dt {
    position: relative;
    margin-top: 25px;
    padding-left: 19px;
    line-height: 1.6;
}

.definition-list dt::before {
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #239058;
    content: "";
}

.definition-list dd {
    margin-top: 8px;
    padding-left: 19px;
    line-height: 1.85;
}

/* Tables */

.table-scroll {
    margin-block: 30px;
    border-color: #d8e7de;
    border-radius: 17px;
    box-shadow: var(--jl-card-shadow);
}

.content-table th,
.content-table td {
    padding: 19px 21px;
    border-bottom-color: #e2ece5;
    line-height: 1.8;
}

.content-table thead th {
    background: #e9f5ed;
    color: #164d33;
    font-size: 14px;
}

.content-table tbody th {
    background: #f8fbf9;
    font-size: 14px;
}

.content-table tbody tr:last-child th,
.content-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Contact form */

.contact-form {
    position: relative;
    padding: clamp(25px, 4vw, 40px);
    border-color: #d7e7dd;
    border-radius: 25px;
    background: linear-gradient(155deg, #ffffff 65%, #f6fbf8);
    box-shadow:
        0 4px 12px rgb(9 59 43 / 3%),
        0 22px 55px rgb(9 59 43 / 7%);
}

.contact-form > h2 {
    margin-bottom: 13px;
    font-size: 30px;
}

.contact-form > .text-muted {
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.8;
}

.form-field label {
    margin-bottom: 9px;
    font-size: 13px;
    letter-spacing: 0.01em;
}

.form-field input,
.form-field select,
.form-field textarea {
    min-height: 51px;
    padding: 13px 15px;
    border-color: #cbded1;
    border-radius: 11px;
    background: #fcfefd;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.form-field textarea {
    min-height: 185px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #318b59;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgb(20 134 79 / 8%);
}

.form-help {
    margin-top: 9px;
    color: #61766a;
    font-size: 12px;
    line-height: 1.7;
}

.contact-detail {
    margin-top: 17px;
    padding: 23px 0;
    border-bottom-color: #e0ebe4;
}

.contact-detail h3 {
    margin-bottom: 10px;
    font-size: 19px;
}

.contact-detail p {
    color: #526b5e;
    font-size: 15px;
    line-height: 1.85;
}

.contact-form button[type="submit"] {
    min-width: 170px;
}

/* Buttons and page ending */

.button,
.wp-element-button {
    border-radius: 12px;
    box-shadow: 0 4px 10px rgb(9 59 43 / 5%);
}

.button--secondary {
    border-color: #d2e3d8;
    box-shadow: none;
}

.page-return {
    margin-top: 48px;
    padding-top: 28px;
    border-top-color: #e0ebe4;
}

.page-return .button {
    gap: 13px;
    padding-inline: 23px;
    background: #f4faf6;
    color: #145d40;
}

.page-return .button:hover {
    border-color: #a7cdb5;
    background: #eaf5ee;
}

/* Pointer hover effects only */

@media (hover: hover) and (pointer: fine) {
    .card:hover {
        border-color: #afd1bb;
        box-shadow: var(--jl-card-shadow-hover);
    }

    .card:hover .card__image img {
        transform: scale(1.035);
    }

    .card:hover .text-link span[aria-hidden="true"] {
        background: var(--jl-green-700);
        color: #ffffff;
    }

    .info-card:hover {
        border-color: #b3d3bf;
        box-shadow: var(--jl-card-shadow-hover);
    }

    .link-list a:hover {
        border-color: #b6d5c2;
        background: #f8fcf9;
        box-shadow: 0 7px 20px rgb(9 59 43 / 5%);
    }

    .faq-item:hover {
        border-color: #b9d6c4;
    }
}

/* Tablet */

@media (max-width: 980px) {
    .page-sidebar {
        position: static;
        padding: 24px;
        border: 1px solid #deebe3;
    }

    .page-sidebar ul {
        gap: 4px 20px;
    }

    .card__body {
        padding-inline: 16px;
    }
}

/* Mobile */

@media (max-width: 720px) {
    .section-heading {
        margin-bottom: 29px;
    }

    .card {
        padding: 8px;
        border-radius: 22px;
    }

    .card__image,
    .card__image .media-frame {
        border-radius: 15px;
    }

    .card__body {
        padding: 22px 15px 17px;
    }

    .info-card {
        padding: 26px;
        border-radius: 20px;
    }

    .info-card h3 {
        max-width: 100%;
        font-size: 22px;
    }

    .info-card::before {
        top: 25px;
        right: 25px;
        width: 28px;
    }

    .faq-item summary {
        padding: 20px 62px 20px 20px;
    }

    .faq-item summary::after {
        top: 19px;
        right: 17px;
    }

    .faq-item__answer {
        padding: 0 20px 21px;
    }

    .contact-form {
        border-radius: 22px;
    }
}

@media (max-width: 520px) {
    .grid {
        gap: 18px;
    }

    .card__body h3 {
        font-size: 23px;
    }

    .card__body p {
        font-size: 15px;
    }

    .info-card {
        padding: 24px;
    }

    .info-card p {
        font-size: 15px;
        line-height: 1.85;
    }

    .number-label {
        margin-bottom: 20px;
    }

    .link-list a {
        min-height: 60px;
        padding: 15px 17px;
        border-radius: 13px;
        font-size: 14px;
    }

    .faq-item {
        border-radius: 15px;
    }

    .faq-item summary {
        font-size: 16px;
        line-height: 1.65;
    }

    .faq-item__answer {
        font-size: 15px;
    }

    .page-sidebar {
        padding: 21px;
        border-radius: 17px;
    }

    .page-sidebar a {
        font-size: 14px;
    }

    .contact-form {
        padding: 24px 20px;
    }

    .contact-form > h2 {
        font-size: 27px;
    }

    .contact-form button[type="submit"] {
        width: 100%;
    }

    .content-table th,
    .content-table td {
        padding: 15px;
        font-size: 14px;
    }
}

/* Respect motion preferences */

@media (prefers-reduced-motion: reduce) {
    .card:hover .card__image img {
        transform: none;
    }
}

/* Print layout */

@media print {
    .card,
    .info-card,
    .faq-item,
    .contact-form,
    .table-scroll {
        background: #ffffff;
        box-shadow: none;
    }

    .card__image img {
        transform: none;
    }

    .link-list a {
        box-shadow: none;
    }
}
/* 首页图片完整显示，保持原始比例 */
body.home main img {
    display: block;
    width: 100%;
    height: auto !important;
    max-width: 100%;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center;
}

/* 首页图片容器跟随图片高度 */
body.home main figure:has(> img),
body.home main picture:has(> img),
body.home main div:has(> img) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
}