/*
Theme Name: PHMAYON — Mayon & Albay
Description: An independent English-language guide to Mayon Volcano and Albay, Philippines.
Version: 2.0.0
Text Domain: phmayon
*/

/* ======================================================
   1. Global foundation
====================================================== */

:root {
    --pm-green: #123c32;
    --pm-green-dark: #082b24;
    --pm-green-light: #e9efe7;
    --pm-gold: #c6a36b;
    --pm-gold-light: #ead8b7;
    --pm-paper: #f6f5ef;
    --pm-white: #ffffff;
    --pm-heading: #193c32;
    --pm-text: #526259;
    --pm-muted: #748077;
    --pm-border: #dfe6da;
    --pm-radius: 22px;
    --pm-shadow: 0 15px 45px rgba(16, 48, 35, .065);
    --pm-width: 1220px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    background: var(--pm-paper);
    color: var(--pm-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}

body.pm-menu-open {
    overflow: hidden;
}

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

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

button,
a,
input,
textarea {
    touch-action: manipulation;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: wait;
    opacity: .65;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 20px;
    color: var(--pm-heading);
    line-height: 1.17;
    letter-spacing: -.035em;
}

h1 {
    font-size: clamp(40px, 5.8vw, 78px);
    font-weight: 750;
}

h2 {
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 720;
}

h3 {
    font-size: 23px;
    font-weight: 700;
}

h4 {
    font-size: 19px;
}

p {
    margin: 0 0 20px;
}

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

::selection {
    background: var(--pm-gold-light);
    color: var(--pm-green-dark);
}

:focus-visible {
    outline: 3px solid var(--pm-gold);
    outline-offset: 5px;
}

[hidden] {
    display: none !important;
}

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

.pm-section {
    padding: 88px 0;
}

.pm-section-white {
    background: var(--pm-white);
}

.pm-section-soft {
    background: #edf1e8;
}

.pm-section-head {
    max-width: 740px;
    margin-bottom: 38px;
}

.pm-section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.pm-section-head-row .pm-section-head {
    margin-bottom: 0;
}

.pm-section-head-row > .pm-link {
    flex-shrink: 0;
}

.pm-eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 18px;
    color: #96743f;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.pm-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    flex-shrink: 0;
    background: var(--pm-gold);
}

.pm-lead {
    color: #647268;
    font-size: 18px;
    line-height: 1.85;
}

.pm-grid {
    display: grid;
    gap: 26px;
}

.pm-grid > *,
.pm-split > *,
.pm-header-row > *,
.pm-contact-layout > * {
    min-width: 0;
}

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

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

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

.pm-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.pm-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    vertical-align: middle;
}

.pm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 51px;
    padding: 13px 23px;
    border: 1px solid var(--pm-green);
    border-radius: 11px;
    background: var(--pm-green);
    color: var(--pm-white);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.5;
    text-align: center;
    transition: background .2s ease, transform .2s ease;
}

.pm-btn:hover {
    background: var(--pm-green-dark);
    transform: translateY(-2px);
}

.pm-btn-gold {
    border-color: var(--pm-gold);
    background: var(--pm-gold);
    color: var(--pm-green-dark);
}

.pm-btn-gold:hover {
    background: #dbbb87;
}

.pm-btn-outline {
    border-color: #cbd5c8;
    background: transparent;
    color: var(--pm-green);
}

.pm-btn-outline:hover {
    background: #e6ede1;
}

.pm-btn-glass {
    border-color: rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .08);
    color: var(--pm-white);
}

.pm-btn-glass:hover {
    background: rgba(255, 255, 255, .18);
}

.pm-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pm-green);
    font-size: 13px;
    font-weight: 750;
}

.pm-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.pm-skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 9999;
    padding: 12px 18px;
    background: white;
    color: var(--pm-green);
}

.pm-skip-link:focus {
    top: 15px;
}

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

/* ======================================================
   2. Header and navigation
====================================================== */

.pm-topbar {
    background: var(--pm-green-dark);
    color: #d2dfd2;
    font-size: 11px;
}

.pm-topbar .pm-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-block: 8px;
}

.pm-topbar-message {
    display: flex;
    align-items: center;
    gap: 9px;
}

.pm-topbar .pm-icon {
    width: 15px;
    height: 15px;
    color: var(--pm-gold);
}

.pm-topbar a:hover {
    color: var(--pm-gold-light);
}

.pm-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(18, 60, 50, .09);
    background: rgba(255, 255, 255, .98);
}

.pm-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 88px;
}

.pm-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    color: var(--pm-green);
}

.pm-brand img {
    width: auto;
    max-width: 205px;
    max-height: 60px;
    object-fit: contain;
}

.pm-brand-symbol {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--pm-green);
    color: var(--pm-gold-light);
}

.pm-brand-symbol .pm-icon {
    width: 31px;
    height: 31px;
}

.pm-brand-name {
    display: block;
    font-size: 23px;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: .07em;
}

.pm-brand-tagline {
    display: block;
    margin-top: 6px;
    font-size: 8px;
    line-height: 1.4;
    letter-spacing: .16em;
    text-transform: uppercase;
}

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

.pm-desktop-nav a {
    display: block;
    position: relative;
    padding: 30px 0;
    color: var(--pm-heading);
    font-size: 12px;
    font-weight: 700;
}

.pm-desktop-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;
    height: 2px;
    background: var(--pm-gold);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.pm-desktop-nav a:hover::after,
.pm-desktop-nav .current-menu-item > a::after,
.pm-desktop-nav .current_page_item > a::after {
    transform: scaleX(1);
}

.pm-header-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pm-header-tools > .pm-btn {
    min-height: 43px;
    padding: 11px 17px;
    font-size: 12px;
}

.pm-menu-toggle {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--pm-border);
    border-radius: 11px;
    background: white;
    color: var(--pm-green);
}

.pm-mobile-nav {
    display: none;
    max-height: calc(100dvh - 90px);
    padding: 15px 24px 25px;
    overflow-y: auto;
    background: white;
    border-top: 1px solid var(--pm-border);
}

.pm-mobile-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pm-mobile-nav li > a {
    display: block;
    padding: 13px 2px;
    border-bottom: 1px solid var(--pm-border);
    color: var(--pm-green);
    font-size: 15px;
    font-weight: 650;
}

.pm-mobile-nav .current-menu-item > a {
    color: #94703b;
}

.pm-mobile-nav > .pm-btn {
    width: 100%;
    margin-top: 19px;
}

/* ======================================================
   3. Homepage hero
====================================================== */

.pm-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 650px;
    isolation: isolate;
    overflow: hidden;
    background: var(--pm-green-dark);
}

.pm-hero-background {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.pm-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(
        90deg,
        rgba(5, 29, 23, .87) 0%,
        rgba(5, 29, 23, .63) 43%,
        rgba(5, 29, 23, .16) 100%
    );
}

.pm-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 130px;
    background: linear-gradient(transparent, rgba(5, 29, 23, .34));
}

.pm-hero-content {
    max-width: 740px;
    padding: 95px 0 110px;
}

.pm-hero .pm-eyebrow {
    color: #ead4ae;
}

.pm-hero h1 {
    color: white;
    text-wrap: balance;
    text-shadow: 0 2px 25px rgba(0, 0, 0, .13);
}

.pm-hero h1 em {
    color: var(--pm-gold-light);
    font-style: normal;
}

.pm-hero .pm-lead {
    max-width: 590px;
    color: #e1e9de;
    font-size: 18px;
}

.pm-hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 29px;
    color: #d9e3d5;
    font-size: 12px;
}

.pm-hero-note .pm-icon {
    width: 18px;
    height: 18px;
    color: var(--pm-gold-light);
}

/* Decorative artwork used until a hero image is uploaded. */

.pm-landscape-placeholder {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 77% 20%,
            rgba(244, 216, 159, .5),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #7f9c91 0%,
            #9fb2a0 45%,
            #536f50 100%
        );
}

.pm-landscape-placeholder::before {
    content: "";
    position: absolute;
    right: -5%;
    bottom: 0;
    width: 85%;
    height: 85%;
    clip-path: polygon(
        0 100%, 18% 76%, 35% 57%, 50% 19%,
        55% 10%, 61% 23%, 76% 62%, 100% 100%
    );
    background: linear-gradient(140deg, #738c74, #274d3b 68%);
}

.pm-landscape-placeholder::after {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -26%;
    left: -10%;
    height: 48%;
    border-radius: 50%;
    background: #244a36;
    transform: rotate(-5deg);
}

.pm-explore-strip {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--pm-border);
    background: white;
}

.pm-explore-strip .pm-grid {
    gap: 0;
}

.pm-explore-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 101px;
    padding: 23px;
    border-right: 1px solid var(--pm-border);
    transition: background .2s ease;
}

.pm-explore-item:first-child {
    border-left: 1px solid var(--pm-border);
}

.pm-explore-item:hover {
    background: #f2f5ec;
}

.pm-explore-item > .pm-icon {
    color: #9a7b46;
    width: 28px;
    height: 28px;
}

.pm-explore-item strong {
    display: block;
    color: var(--pm-green);
    font-size: 14px;
    line-height: 1.5;
}

.pm-explore-item small {
    display: block;
    margin-top: 3px;
    color: var(--pm-muted);
    font-size: 11px;
}

/* ======================================================
   4. Images and cards
====================================================== */

.pm-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--pm-radius);
    background: #dce6d7;
}

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

.pm-media-tall {
    aspect-ratio: 4 / 4.6;
}

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

.pm-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 180px;
    padding: 25px;
    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(255, 242, 209, .8),
            transparent 40%
        ),
        linear-gradient(145deg, #dce5d4, #a9c0ad);
    color: #3b634b;
    text-align: center;
}

.pm-placeholder .pm-icon {
    width: 75px;
    height: 75px;
    margin-bottom: 15px;
    stroke-width: 1;
}

.pm-placeholder strong {
    font-size: 17px;
    letter-spacing: .15em;
}

.pm-placeholder small {
    margin-top: 5px;
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.pm-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    background: white;
    box-shadow: var(--pm-shadow);
    transition: transform .2s ease, border-color .2s ease;
}

.pm-card:hover {
    transform: translateY(-5px);
    border-color: #c0cfb9;
}

.pm-card > .pm-media,
.pm-card > a > .pm-media {
    aspect-ratio: 3 / 2;
    border-radius: 0;
}

.pm-card .pm-media img {
    transition: transform .4s ease;
}

.pm-card:hover .pm-media img {
    transform: scale(1.035);
}

.pm-card-body {
    padding: 28px;
}

.pm-card-body h3,
.pm-card-body h2 {
    margin-bottom: 13px;
    font-size: 24px;
}

.pm-card-body p {
    font-size: 14px;
}

.pm-card-body .pm-link {
    margin-top: 20px;
}

.pm-card-category {
    display: block;
    margin-bottom: 12px;
    color: #96733e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.pm-info-card {
    padding: 31px;
}

.pm-info-card h3 {
    font-size: 23px;
}

.pm-info-card p {
    font-size: 14px;
}

.pm-card-icon {
    display: grid;
    place-items: center;
    width: 53px;
    height: 53px;
    margin-bottom: 24px;
    border: 1px solid #dfe7d8;
    border-radius: 15px;
    background: #edf2e8;
    color: #8c713f;
}

.pm-step-number {
    display: block;
    margin-bottom: 26px;
    color: #967440;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
}

.pm-check-list {
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.pm-check-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.pm-check-list .pm-icon {
    width: 19px;
    height: 19px;
    margin-top: 5px;
    color: #957440;
}

.pm-image-caption {
    margin-top: 12px;
    color: var(--pm-muted);
    font-size: 12px;
}

/* ======================================================
   5. Safety banner and call to action
====================================================== */

.pm-safety-box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 25px;
    padding: 32px;
    border: 1px solid #dfd1b7;
    border-radius: var(--pm-radius);
    background: #f3ecdc;
}

.pm-safety-box > .pm-icon {
    width: 38px;
    height: 38px;
    color: #937342;
}

.pm-safety-box h2,
.pm-safety-box h3 {
    margin-bottom: 9px;
    font-size: 23px;
}

.pm-safety-box p {
    margin: 0;
    font-size: 13px;
}

.pm-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    overflow: hidden;
    padding: 52px;
    border-radius: 28px;
    background: var(--pm-green);
}

.pm-cta::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -130px;
    width: 370px;
    height: 370px;
    border: 1px solid rgba(235, 216, 181, .14);
    border-radius: 50%;
    pointer-events: none;
}

.pm-cta > * {
    position: relative;
    z-index: 1;
}

.pm-cta h2 {
    margin-bottom: 13px;
    color: white;
    font-size: clamp(29px, 3vw, 40px);
}

.pm-cta p {
    max-width: 690px;
    color: #d1ddcf;
}

.pm-cta .pm-eyebrow {
    color: var(--pm-gold-light);
}

.pm-cta > .pm-btn {
    flex-shrink: 0;
}

/* ======================================================
   6. Inner page headers
====================================================== */

.pm-page-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 385px;
    isolation: isolate;
    overflow: hidden;
    background: var(--pm-green);
}

.pm-page-hero-background {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.pm-page-hero-background > .pm-media {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
}

.pm-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(5, 31, 24, .88),
        rgba(5, 31, 24, .57)
    );
}

.pm-page-hero-content {
    max-width: 850px;
    padding: 55px 0 65px;
}

.pm-page-hero h1 {
    color: white;
    font-size: clamp(37px, 4.7vw, 61px);
}

.pm-page-hero .pm-lead {
    max-width: 740px;
    color: #e0e8dc;
    font-size: 17px;
}

.pm-page-hero .pm-eyebrow {
    color: var(--pm-gold-light);
}

.pm-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 26px;
    color: #d9e4d6;
    font-size: 11px;
}

.pm-breadcrumbs a:hover {
    color: var(--pm-gold-light);
    text-decoration: underline;
}

.pm-page-hero-simple {
    min-height: 0;
    border-bottom: 1px solid var(--pm-border);
    background: #eaf0e4;
}

.pm-page-hero-simple::before {
    display: none;
}

.pm-page-hero-simple h1 {
    color: var(--pm-heading);
}

.pm-page-hero-simple .pm-lead,
.pm-page-hero-simple .pm-breadcrumbs {
    color: var(--pm-text);
}

.pm-page-hero-simple .pm-eyebrow {
    color: #967440;
}

/* ======================================================
   7. Article content
====================================================== */

.pm-article-width {
    max-width: 860px;
}

.pm-article h2 {
    margin: 40px 0 18px;
    font-size: 30px;
}

.pm-article h2:first-child {
    margin-top: 0;
}

.pm-article h3 {
    margin-top: 28px;
    font-size: 23px;
}

.pm-article a {
    color: var(--pm-green);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pm-article ul,
.pm-article ol {
    padding-left: 23px;
}

.pm-article li {
    margin-bottom: 10px;
}

.pm-article blockquote {
    margin: 28px 0;
    padding: 22px 25px;
    border-left: 3px solid var(--pm-gold);
    background: #eaf0e4;
}

.pm-article img {
    border-radius: 15px;
}

.pm-article figure {
    max-width: 100%;
    margin: 28px 0;
}

.pm-article figcaption {
    margin-top: 10px;
    color: var(--pm-muted);
    font-size: 12px;
}

.pm-table-scroll {
    overflow-x: auto;
}

.pm-article table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pm-article th,
.pm-article td {
    padding: 13px 15px;
    border: 1px solid var(--pm-border);
    text-align: left;
    vertical-align: top;
}

.pm-article th {
    background: var(--pm-green-light);
    color: var(--pm-green);
}

.pm-back-home {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 42px;
    padding-top: 25px;
    border-top: 1px solid var(--pm-border);
}

.pm-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--pm-muted);
    font-size: 12px;
}

.pm-page-hero .pm-post-meta {
    color: #d9e2d5;
}

.pm-note {
    margin: 26px 0;
    padding: 22px 25px;
    border: 1px solid #d4dfca;
    border-radius: 15px;
    background: #edf3e6;
    font-size: 14px;
}

/* ======================================================
   8. FAQ
====================================================== */

.pm-faq-list {
    display: grid;
    gap: 14px;
    max-width: 940px;
}

.pm-faq-item {
    overflow: hidden;
    border: 1px solid var(--pm-border);
    border-radius: 15px;
    background: white;
}

.pm-faq-item summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
    padding: 23px 25px;
    color: var(--pm-green);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    list-style: none;
    cursor: pointer;
}

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

.pm-faq-item summary::after {
    content: "+";
    color: #967440;
    font-size: 23px;
    line-height: 1;
}

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

.pm-faq-answer {
    padding: 0 25px 25px;
    font-size: 14px;
}

/* ======================================================
   9. Contact form
====================================================== */

.pm-contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: start;
    gap: 50px;
}

.pm-contact-item {
    display: flex;
    gap: 16px;
    padding: 21px 0;
    border-bottom: 1px solid var(--pm-border);
}

.pm-contact-item > .pm-icon {
    margin-top: 5px;
    color: #947341;
}

.pm-contact-item strong {
    display: block;
    color: var(--pm-green);
}

.pm-contact-item p {
    margin-top: 4px;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.pm-form-card {
    padding: 35px;
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    background: white;
    box-shadow: var(--pm-shadow);
}

.pm-form-card h2 {
    font-size: 29px;
}

.pm-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.pm-field {
    margin-bottom: 19px;
}

.pm-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--pm-green);
    font-size: 12px;
    font-weight: 750;
}

.pm-field input,
.pm-field textarea,
.pm-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d9e2d2;
    border-radius: 10px;
    background: #fafbf7;
    color: var(--pm-green);
}

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

.pm-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 12px;
}

.pm-consent input {
    flex-shrink: 0;
    margin-top: 6px;
}

.pm-consent a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pm-form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.pm-notice {
    margin-bottom: 23px;
    padding: 16px 19px;
    border: 1px solid #d2dfc6;
    border-radius: 12px;
    background: #ecf3e4;
    color: #365d35;
    font-size: 13px;
}

.pm-notice-error {
    border-color: #e9cbbb;
    background: #fbefe7;
    color: #825039;
}

/* ======================================================
   10. Journal and empty states
====================================================== */

.pm-empty-state {
    max-width: 850px;
    padding: 40px;
    border: 1px dashed #b9cbb0;
    border-radius: var(--pm-radius);
    background: white;
}

.pm-empty-state h2 {
    font-size: 29px;
}

.pm-pagination,
.navigation.pagination {
    margin-top: 38px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 39px;
    min-height: 39px;
    margin: 0 5px 8px 0;
    padding: 7px 13px;
    border: 1px solid var(--pm-border);
    border-radius: 9px;
    background: white;
    color: var(--pm-green);
    font-size: 13px;
}

.page-numbers.current {
    border-color: var(--pm-green);
    background: var(--pm-green);
    color: white;
}

.page-numbers.dots {
    border-color: transparent;
    background: transparent;
}

/* ======================================================
   11. Footer
====================================================== */

.pm-footer {
    padding-top: 67px;
    background: var(--pm-green-dark);
    color: #bacdbd;
}

.pm-footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1.15fr;
    gap: 45px;
}

.pm-footer .pm-brand {
    margin-bottom: 23px;
    color: white;
}

.pm-footer .pm-brand-symbol {
    background: #184b3b;
}

.pm-footer .pm-brand-tagline {
    color: #c3d0bd;
}

.pm-footer-intro {
    max-width: 320px;
    font-size: 13px;
    line-height: 1.9;
}

.pm-footer h2,
.pm-footer h3 {
    margin: 5px 0 23px;
    color: white;
    font-size: 14px;
    letter-spacing: 0;
}

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

.pm-footer-links li {
    margin-bottom: 11px;
    font-size: 12px;
}

.pm-footer a:hover {
    color: var(--pm-gold-light);
}

.pm-footer-note {
    font-size: 12px;
    line-height: 1.9;
}

.pm-footer-note a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pm-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.pm-footer-social a {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 1px solid #345442;
    border-radius: 11px;
    color: var(--pm-gold-light);
}

.pm-footer-social a:hover {
    background: #1c4838;
}

.pm-footer-disclosure {
    margin-top: 43px;
    padding: 20px 0;
    border-top: 1px solid #294a39;
    color: #b5c7b5;
    font-size: 11px;
    line-height: 1.9;
}

.pm-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 21px 0;
    border-top: 1px solid #294a39;
    font-size: 11px;
}

.pm-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
}

.pm-to-top {
    position: fixed;
    right: 22px;
    bottom: 23px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--pm-gold);
    border-radius: 12px;
    background: var(--pm-green-dark);
    color: var(--pm-gold-light);
    box-shadow: 0 7px 20px rgba(8, 43, 36, .2);
}

/* ======================================================
   12. Error page
====================================================== */

.pm-error-page {
    padding: 95px 0;
    text-align: center;
}

.pm-error-number {
    display: block;
    margin-bottom: 23px;
    color: #af9768;
    font-size: clamp(100px, 20vw, 175px);
    font-weight: 800;
    line-height: 1;
}

.pm-error-page h1 {
    font-size: clamp(31px, 4vw, 46px);
}

.pm-error-page p {
    max-width: 620px;
    margin-inline: auto;
}

.pm-error-page .pm-actions,
.pm-error-page .pm-eyebrow {
    justify-content: center;
}

/* ======================================================
   13. WordPress compatibility
====================================================== */

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

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

.aligncenter {
    margin-inline: auto;
}

.alignleft {
    float: left;
    margin: 8px 25px 20px 0;
}

.alignright {
    float: right;
    margin: 8px 0 20px 25px;
}

.pm-article::after {
    content: "";
    display: table;
    clear: both;
}

.wp-block-image img {
    height: auto;
}

.wp-block-table {
    overflow-x: auto;
}

/* ======================================================
   14. Tablet
====================================================== */

@media (max-width: 1180px) {
    .pm-desktop-nav ul {
        gap: 17px;
    }

    .pm-header-tools > .pm-btn {
        display: none;
    }

    .pm-split {
        gap: 42px;
    }

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

@media (max-width: 960px) {
    .pm-desktop-nav {
        display: none;
    }

    .pm-menu-toggle {
        display: grid;
    }

    .pm-mobile-nav:not([hidden]) {
        display: block;
    }

    .pm-split,
    .pm-contact-layout {
        grid-template-columns: 1fr;
    }

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

    .pm-hero {
        min-height: 590px;
    }

    .pm-hero-content {
        max-width: 680px;
        padding-block: 80px;
    }

    .pm-hero::before {
        background: linear-gradient(
            90deg,
            rgba(5, 29, 23, .86),
            rgba(5, 29, 23, .45)
        );
    }

    .pm-explore-item {
        border-bottom: 1px solid var(--pm-border);
    }

    .pm-explore-item:nth-child(odd) {
        border-left: 1px solid var(--pm-border);
    }

    .pm-footer-grid {
        grid-template-columns: 1.25fr 1fr;
        gap: 38px;
    }

    .pm-safety-box {
        grid-template-columns: auto 1fr;
    }

    .pm-safety-box > .pm-btn {
        grid-column: 2;
        justify-self: start;
    }

    .pm-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .pm-media-tall {
        max-height: 560px;
        aspect-ratio: 4 / 3;
    }
}

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

/* ======================================================
   15. Mobile
====================================================== */

@media (max-width: 600px) {
    .pm-wrap {
        width: calc(100% - 32px);
    }

    .pm-section {
        padding: 56px 0;
    }

    .pm-section-head {
        margin-bottom: 28px;
    }

    .pm-section-head-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 28px;
    }

    .pm-topbar {
        font-size: 9px;
    }

    .pm-topbar .pm-wrap {
        padding-block: 7px;
    }

    .pm-topbar-right {
        display: none;
    }

    .pm-header-row {
        min-height: 75px;
    }

    .pm-brand img {
        max-width: 174px;
        max-height: 49px;
    }

    .pm-brand-symbol {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .pm-brand-symbol .pm-icon {
        width: 27px;
        height: 27px;
    }

    .pm-brand-name {
        font-size: 20px;
    }

    .pm-brand-tagline {
        font-size: 7px;
        letter-spacing: .12em;
    }

    .pm-hero {
        min-height: 575px;
    }

    .pm-hero-content {
        padding: 65px 0 73px;
    }

    .pm-hero h1 {
        font-size: clamp(39px, 10.5vw, 53px);
    }

    .pm-hero .pm-eyebrow {
        font-size: 9px;
        letter-spacing: .13em;
    }

    .pm-hero .pm-lead {
        font-size: 16px;
    }

    .pm-hero::before {
        background: linear-gradient(
            90deg,
            rgba(5, 29, 23, .89),
            rgba(5, 29, 23, .52)
        );
    }

    .pm-hero-background img {
        object-position: 60% center;
    }

    .pm-hero-note {
        align-items: flex-start;
        font-size: 11px;
    }

    .pm-hero-note .pm-icon {
        margin-top: 3px;
    }

    .pm-actions {
        gap: 10px;
        margin-top: 25px;
    }

    .pm-btn {
        padding: 12px 17px;
        font-size: 12px;
    }

    .pm-explore-item {
        min-height: 87px;
        padding: 17px 12px;
        gap: 10px;
    }

    .pm-explore-item > .pm-icon {
        width: 22px;
        height: 22px;
    }

    .pm-explore-item strong {
        font-size: 12px;
    }

    .pm-explore-item small {
        font-size: 9px;
    }

    .pm-grid-2,
    .pm-grid-3 {
        grid-template-columns: 1fr;
    }

    .pm-grid {
        gap: 21px;
    }

    .pm-explore-strip .pm-grid {
        gap: 0;
    }

    .pm-split {
        gap: 30px;
    }

    .pm-lead {
        font-size: 16px;
    }

    .pm-card-body {
        padding: 25px;
    }

    .pm-info-card {
        padding: 27px;
    }

    .pm-card-body h3,
    .pm-card-body h2 {
        font-size: 23px;
    }

    .pm-safety-box {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px;
    }

    .pm-safety-box > .pm-btn {
        grid-column: 1;
    }

    .pm-cta {
        padding: 30px;
        border-radius: 22px;
        gap: 25px;
    }

    .pm-page-hero {
        min-height: 330px;
    }

    .pm-page-hero-content {
        padding: 35px 0 43px;
    }

    .pm-page-hero h1 {
        font-size: 37px;
    }

    .pm-page-hero .pm-lead {
        font-size: 15px;
    }

    .pm-breadcrumbs {
        margin-bottom: 21px;
        font-size: 10px;
    }

    .pm-page-hero-simple {
        min-height: 0;
    }

    .pm-article h2 {
        margin-top: 33px;
        font-size: 27px;
    }

    .pm-article h3 {
        font-size: 22px;
    }

    .pm-faq-item summary {
        padding: 20px;
        font-size: 15px;
    }

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

    .pm-contact-layout {
        gap: 30px;
    }

    .pm-form-card {
        padding: 24px;
    }

    .pm-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pm-empty-state {
        padding: 27px;
    }

    .pm-footer {
        padding-top: 46px;
    }

    .pm-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 23px;
    }

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

    .pm-footer h3 {
        margin-bottom: 18px;
    }

    .pm-footer-intro {
        max-width: none;
    }

    .pm-footer-disclosure {
        margin-top: 30px;
    }

    .pm-footer-bottom {
        flex-direction: column;
        gap: 11px;
        padding-bottom: 28px;
    }

    .pm-to-top {
        right: 15px;
        bottom: 17px;
        width: 41px;
        height: 41px;
    }

    .pm-error-page {
        padding: 65px 0;
    }

    .alignleft,
    .alignright {
        float: none;
        margin: 25px 0;
    }

    body.admin-bar .pm-header {
        top: 0;
    }
}

/* ======================================================
   16. Reduced motion and printing
====================================================== */

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

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

@media print {
    .pm-topbar,
    .pm-header,
    .pm-footer,
    .pm-to-top,
    .pm-cta,
    .pm-back-home {
        display: none !important;
    }

    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    .pm-section {
        padding: 20px 0;
    }

    .pm-wrap {
        width: 100%;
    }

    .pm-page-hero {
        min-height: 0;
        background: white;
    }

    .pm-page-hero-background,
    .pm-page-hero::before {
        display: none;
    }

    .pm-page-hero h1,
    .pm-page-hero .pm-lead,
    .pm-page-hero .pm-eyebrow,
    .pm-page-hero .pm-breadcrumbs {
        color: black;
    }

    .pm-card {
        box-shadow: none;
        break-inside: avoid;
    }
}