.ctm-dashboard {
    display: grid;
    gap: 24px;
    max-width: 1120px;
    margin: 0 auto;
}

.ctm-dashboard.ctm-household-home {
    gap: 14px;
    color: #0f2038;
    font-size: 15px;
}

.ctm-household-home .ctm-household-hero,
.ctm-household-home .ctm-dashboard-overview,
.ctm-household-home .ctm-household-members-dashboard,
.ctm-household-home .ctm-my-trips-dashboard,
.ctm-household-home .ctm-required-items-dashboard,
.ctm-household-home .ctm-payments-dashboard,
.ctm-household-home .ctm-reminders-dashboard,
.ctm-household-home .ctm-household-dashboard {
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 30px rgba(16, 41, 74, 0.08);
}

.ctm-household-home .ctm-household-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    overflow: hidden;
    padding: 22px 24px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78) 55%, rgba(255, 255, 255, 0.42)),
        linear-gradient(135deg, #f5f8fc, #eaf1f8);
}

.ctm-household-home .ctm-hero-kicker {
    margin: 0 0 6px;
    color: #b9821d;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ctm-household-home .ctm-household-hero h2 {
    margin: 0;
    color: #10294a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.05;
}

.ctm-household-home .ctm-household-hero p:not(.ctm-hero-kicker) {
    max-width: 660px;
    margin: 8px 0 0;
    color: #24364f;
    font-size: 15px;
    line-height: 1.4;
}

.ctm-household-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.ctm-household-home .ctm-dashboard-overview,
.ctm-household-home .ctm-household-members-dashboard,
.ctm-household-home .ctm-my-trips-dashboard,
.ctm-household-home .ctm-required-items-dashboard,
.ctm-household-home .ctm-payments-dashboard,
.ctm-household-home .ctm-reminders-dashboard,
.ctm-household-home .ctm-household-dashboard {
    padding: 16px;
}

.ctm-dashboard.ctm-household-home section {
    border-top: 0;
    padding-top: 16px;
}

.ctm-household-home .ctm-section-title {
    gap: 14px;
    margin: -4px 0 12px;
}

.ctm-household-home .ctm-section-title h2 {
    font-size: 16px;
}

.ctm-household-home .ctm-section-title span {
    height: 1px;
}

.ctm-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.ctm-dashboard-stats div,
.ctm-person-dashboard-card,
.ctm-person-trip-card,
.ctm-trip-dashboard-panel,
.ctm-member-trip-group,
.ctm-trip-summary,
.ctm-payment-summary,
.ctm-reminder-summary,
.ctm-household-member {
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #fff;
    padding: 12px;
}

.ctm-household-home .ctm-dashboard-stats div,
.ctm-household-home .ctm-person-dashboard-card,
.ctm-household-home .ctm-person-trip-card,
.ctm-household-home .ctm-trip-dashboard-panel,
.ctm-household-home .ctm-member-trip-group,
.ctm-household-home .ctm-trip-summary,
.ctm-household-home .ctm-payment-summary,
.ctm-household-home .ctm-reminder-summary,
.ctm-household-home .ctm-household-member,
.ctm-household-home .ctm-required-item {
    border: 1px solid #dfe5ef;
    background: #fff;
    box-shadow: 0 8px 18px rgba(16, 41, 74, 0.06);
}

.ctm-household-home .ctm-dashboard-stats div {
    position: relative;
    overflow: hidden;
    min-height: 74px;
    border-top: 3px solid #d8a840;
}

.ctm-household-home .ctm-dashboard-stats div::after {
    position: absolute;
    right: 14px;
    bottom: 10px;
    color: rgba(16, 41, 74, 0.07);
    content: "CTM";
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 700;
}

.ctm-dashboard-stats strong {
    display: block;
    color: #50575e;
    font-size: 13px;
}

.ctm-household-home .ctm-dashboard-stats strong {
    color: #526174;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ctm-dashboard-stats span {
    display: block;
    margin-top: 4px;
    color: #1d2327;
    font-size: 28px;
    line-height: 1.1;
}

.ctm-household-home .ctm-dashboard-stats span {
    position: relative;
    z-index: 1;
    color: #10294a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 700;
}

.ctm-member-trip-group,
.ctm-required-item,
.ctm-payment-summary,
.ctm-reminder-summary {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.ctm-household-home .ctm-member-trip-group > h3 {
    margin: 0;
    color: #10294a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.ctm-person-dashboard-card {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.ctm-person-dashboard-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.ctm-person-dashboard-header h3 {
    margin: 0;
    color: #10294a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.ctm-person-dashboard-header p {
    margin: 4px 0 0;
    color: #526174;
}

.ctm-person-avatar {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #0b4ea2;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(16, 41, 74, 0.18);
}

.ctm-person-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.ctm-person-metrics span {
    display: grid;
    gap: 2px;
    padding: 8px 10px;
    border: 1px solid #e5eaf2;
    border-radius: 8px;
    background: #f8fafc;
    color: #526174;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.ctm-person-metrics strong {
    color: #10294a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    text-transform: none;
}

.ctm-person-trip-card {
    padding: 0;
    overflow: hidden;
}

.ctm-person-trip-card > summary {
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr) minmax(520px, 2.3fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    cursor: pointer;
    list-style: none;
}

.ctm-person-trip-card > summary::-webkit-details-marker {
    display: none;
}

.ctm-trip-collapse-indicator {
    display: inline-grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: #eef4fb;
    color: #0f4f9f;
    font-weight: 900;
}

.ctm-trip-collapse-indicator::before {
    content: "+";
}

.ctm-person-trip-card[open] .ctm-trip-collapse-indicator::before {
    content: "-";
}

.ctm-person-trip-card[open] > summary {
    border-bottom: 1px solid #edf1f6;
}

.ctm-trip-readiness-ready {
    border-left: 4px solid #0a8f3c;
}

.ctm-trip-readiness-attention {
    border-left: 4px solid #d8a840;
}

.ctm-trip-readiness-payment {
    border-left: 4px solid #0f4f9f;
}

.ctm-trip-readiness-waitlisted {
    border-left: 4px solid #718096;
}

.ctm-person-trip-card > summary strong {
    display: block;
    color: #10294a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
}

.ctm-person-trip-card > summary small {
    display: block;
    margin-top: 4px;
    color: #526174;
}

.ctm-person-trip-title small span::before {
    content: " | ";
}

.ctm-person-trip-summary-grid {
    display: grid;
    grid-template-columns: minmax(88px, 0.7fr) minmax(92px, 0.65fr) minmax(95px, 0.65fr) minmax(160px, 1.4fr) auto;
    gap: 8px;
    align-items: center;
}

.ctm-trip-summary-cell {
    min-width: 0;
    padding: 7px 8px;
    border: 1px solid #edf1f6;
    border-radius: 8px;
    background: #f8fafc;
}

.ctm-trip-summary-cell small {
    margin: 0 0 2px;
    color: #526174;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.ctm-trip-summary-cell strong {
    overflow: hidden;
    color: #10294a;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ctm-trip-summary-next strong {
    font-size: 12px;
}

.ctm-trip-readiness-pill {
    justify-self: end;
    white-space: nowrap;
}

.ctm-trip-readiness-ready .ctm-trip-readiness-pill {
    background: #e7f7ed;
    color: #0a6f31;
}

.ctm-trip-readiness-attention .ctm-trip-readiness-pill {
    background: #fff1bf;
    color: #5d4300;
}

.ctm-trip-readiness-payment .ctm-trip-readiness-pill {
    background: #eaf2ff;
    color: #0f4f9f;
}

.ctm-trip-readiness-waitlisted .ctm-trip-readiness-pill {
    background: #eef1f5;
    color: #3e4a5a;
}

.ctm-person-trip-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 12px 12px;
    border-top: 0;
}

.ctm-trip-dashboard-panel {
    margin-top: 10px;
}

.ctm-trip-dashboard-panel-wide {
    grid-column: 1 / -1;
}

.ctm-trip-dashboard-panel h4 {
    margin: 0 0 8px;
    color: #10294a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
}

.ctm-trip-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.ctm-trip-facts div {
    padding: 8px;
    border: 1px solid #edf1f6;
    border-radius: 8px;
    background: #f8fafc;
}

.ctm-trip-facts dt {
    color: #526174;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.ctm-trip-facts dd {
    margin: 3px 0 0;
    color: #10294a;
    font-weight: 700;
}

.ctm-household-home .ctm-trip-summary {
    position: relative;
    border-left: 4px solid #d8a840;
}

.ctm-household-home .ctm-trip-summary h4,
.ctm-household-home .ctm-payment-summary h3,
.ctm-household-home .ctm-reminder-summary h3,
.ctm-household-home .ctm-required-item h3,
.ctm-household-home .ctm-household-member h4 {
    margin: 0 0 8px;
    color: #10294a;
    font-family: Georgia, "Times New Roman", serif;
}

.ctm-trip-summary p,
.ctm-payment-summary p,
.ctm-reminder-summary p {
    margin: 4px 0;
}

.ctm-household-home .ctm-trip-summary p,
.ctm-household-home .ctm-payment-summary p,
.ctm-household-home .ctm-reminder-summary p {
    color: #334155;
    line-height: 1.45;
}

.ctm-household-home .ctm-empty-state {
    margin: 0;
    padding: 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #526174;
    text-align: center;
}

.ctm-household-dashboard-compact {
    display: grid;
    gap: 12px;
}

.ctm-household-summary-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #dfe5ef;
    border-left: 4px solid #d8a840;
    border-radius: 8px;
    background: #fff;
}

.ctm-household-summary-card h3 {
    margin: 0 0 4px;
    color: #10294a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
}

.ctm-household-summary-card p {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 3px 0 0;
    color: #526174;
}

.ctm-household-summary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.ctm-household-member-list {
    display: grid;
    gap: 6px;
}

.ctm-household-member-list h3 {
    margin: 0;
    color: #10294a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
}

.ctm-household-access-panel {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #dfe5ef;
    border-radius: 8px;
    background: #fff;
}

.ctm-household-access-panel h3 {
    margin: 0;
    color: #10294a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
}

.ctm-household-access-panel p {
    margin: 0;
    color: #526174;
}

.ctm-household-access-list {
    display: grid;
    gap: 6px;
}

.ctm-household-access-panel .ctm-household-member-row {
    grid-template-columns: minmax(0, 1fr) auto minmax(180px, auto) auto;
}

.ctm-household-access-panel form {
    margin: 0;
}

.ctm-household-access-panel .ctm-household-edit-panel form {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.ctm-household-access-panel .ctm-household-edit-panel p {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px);
    gap: 12px;
    align-items: end;
}

.ctm-household-member-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid #edf1f6;
    border-radius: 8px;
    background: #f8fafc;
}

.ctm-household-member-row span {
    color: #10294a;
    font-weight: 800;
}

.ctm-household-member-row small {
    color: #526174;
    font-weight: 700;
}

.ctm-household-member-row form {
    margin: 0;
}

.ctm-archived-member-list {
    padding: 0 12px 12px;
}

.ctm-duplicate-warning {
    margin: 12px;
    padding: 12px;
    border: 1px solid #e5c568;
    border-left: 4px solid #d8a840;
    border-radius: 8px;
    background: #fff8dc;
    color: #10294a;
}

.ctm-duplicate-warning strong {
    display: block;
    margin-bottom: 6px;
}

.ctm-duplicate-warning ul {
    margin: 0 0 8px 18px;
}

.ctm-duplicate-warning p {
    margin: 0;
    color: #526174;
}

.ctm-household-edit-panel {
    border: 1px solid #dfe5ef;
    border-radius: 8px;
    background: #fff;
}

.ctm-household-edit-panel > summary {
    padding: 11px 12px;
    color: #10294a;
    cursor: pointer;
    font-weight: 800;
}

.ctm-household-edit-panel > form {
    padding: 0 12px 12px;
    border-top: 1px solid #edf1f6;
}

.ctm-household-home .ctm-required-item-card {
    padding: 0;
}

.ctm-household-home .ctm-required-item-card summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 11px 12px;
    cursor: pointer;
    list-style: none;
}

.ctm-household-home .ctm-required-item-card summary::-webkit-details-marker {
    display: none;
}

.ctm-household-home .ctm-required-item-card summary::before {
    display: inline-grid;
    width: 22px;
    height: 22px;
    grid-column: 1;
    grid-row: 1;
    place-items: center;
    border-radius: 50%;
    background: #eef3f8;
    color: #10294a;
    content: "+";
    font-weight: 800;
}

.ctm-household-home .ctm-required-item-card[open] summary::before {
    content: "-";
}

.ctm-required-item-main {
    display: block;
    grid-column: 2;
    min-width: 0;
}

.ctm-required-item-main strong {
    display: block;
    color: #10294a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
}

.ctm-required-item-main small {
    display: block;
    margin-top: 2px;
    color: #526174;
    font-size: 12px;
}

.ctm-required-item-meta {
    display: flex;
    flex-wrap: wrap;
    grid-column: 3;
    gap: 6px;
    justify-content: flex-end;
}

.ctm-item-type-pill,
.ctm-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.ctm-item-type-pill {
    border: 1px solid #d8dee8;
    background: #f8fafc;
    color: #334155;
}

.ctm-status-pill {
    background: #eef3f8;
    color: #334155;
}

.ctm-status-not_started,
.ctm-status-rejected,
.ctm-status-expired {
    background: #fff3cd;
    color: #6f4e00;
}

.ctm-status-approved,
.ctm-status-submitted {
    background: #e9f8ee;
    color: #0f6b2f;
}

.ctm-required-item-body {
    padding: 0 12px 12px;
    border-top: 1px solid #edf1f6;
}

.ctm-register-trip-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
}

.ctm-dashboard.ctm-household-home .button,
.ctm-dashboard.ctm-household-home button,
.ctm-dashboard.ctm-household-home input[type="submit"] {
    border: 1px solid #d8a840;
    border-radius: 6px;
    background: #d8a840;
    color: #151515;
    font-weight: 800;
    text-decoration: none;
}

.ctm-dashboard.ctm-household-home .button:hover,
.ctm-dashboard.ctm-household-home .button:focus,
.ctm-dashboard.ctm-household-home button:hover,
.ctm-dashboard.ctm-household-home button:focus,
.ctm-dashboard.ctm-household-home input[type="submit"]:hover,
.ctm-dashboard.ctm-household-home input[type="submit"]:focus {
    color: #151515;
    text-decoration: underline;
}

.ctm-dashboard.ctm-household-home .ctm-trip-button:not(.ctm-trip-button-primary) {
    border-color: #d8dee8;
    background: #fff;
    color: #10294a;
}

body:has(.ctm-standalone-form-page) .wp-block-post-title,
body:has(.ctm-account-page) .wp-block-post-title {
    max-width: 860px;
    margin: 0 auto 28px;
    text-align: center;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
}

body:has(.ctm-household-home) .wp-block-post-title {
    display: none;
}

body:has(.ctm-public-trip-page) .wp-block-post-title {
    display: none;
}

body:has(.ctm-trip-registration-page) .wp-block-post-title {
    display: none;
}

body:has(.ctm-public-trip-page) .wp-block-group.has-small-font-size,
body:has(.ctm-public-trip-page) .wp-block-post-navigation-link {
    display: none;
}

body:has(.ctm-public-trip-page) .wp-block-post-content {
    margin-block-start: 0 !important;
}

body:has(.ctm-public-trip-page) main.wp-block-group {
    margin-top: 24px !important;
}

body:has(.ctm-public-trip-page) main > .wp-block-group.alignfull {
    padding-top: 0 !important;
}

body:has(.ctm-standalone-form-page) main,
body:has(.ctm-account-page) main,
body:has(.ctm-public-trip-page) main,
body:has(.ctm-trip-registration-page) main {
    padding-top: 0;
}

.ctm-public-trip-page {
    max-width: 1180px;
    margin: 0 auto;
    color: #1d2327;
}

.ctm-trips-page {
    max-width: 1180px;
}

.ctm-trips-hero {
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(29, 35, 39, 0.98), rgba(42, 77, 85, 0.96)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 70px);
    color: #fff;
    padding: clamp(34px, 6vw, 70px);
}

.ctm-trips-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1;
}

.ctm-trips-hero p:last-child {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
    line-height: 1.5;
}

.ctm-trips-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.ctm-trip-list-card,
.ctm-trip-empty-state {
    overflow: hidden;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.ctm-trip-list-media {
    display: block;
    min-height: 210px;
    background-position: center;
    background-size: cover;
    color: #fff;
    padding: 18px;
    text-decoration: none;
}

.ctm-trip-list-media.no-image {
    background:
        linear-gradient(135deg, rgba(29, 35, 39, 0.98), rgba(42, 77, 85, 0.96)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 70px);
}

.ctm-trip-list-media span {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    padding: 5px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.ctm-trip-list-body,
.ctm-trip-empty-state {
    padding: 22px;
}

.ctm-trip-list-body h2 {
    margin: 0;
    line-height: 1.2;
}

.ctm-trip-list-body h2 a {
    color: #1d2327;
    text-decoration: none;
}

.ctm-trip-list-body h2 a:hover,
.ctm-trip-list-body h2 a:focus {
    text-decoration: underline;
}

.ctm-trip-list-destination {
    margin: 8px 0 16px;
    color: #3c434a;
}

.ctm-trip-list-facts {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.ctm-trip-list-facts div {
    border-left: 4px solid #2271b1;
    background: #f6f7f7;
    padding: 9px 10px;
}

.ctm-trip-list-facts dt {
    color: #646970;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.ctm-trip-list-facts dd {
    margin: 2px 0 0;
    color: #1d2327;
    font-weight: 700;
}

.ctm-trip-list-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.ctm-trip-empty-state {
    text-align: center;
}

.ctm-dashboard.ctm-trip-registration-page {
    display: block;
    max-width: none;
    gap: 0;
    color: #0f2038;
}

.ctm-trip-registration-page .ctm-front-notice {
    max-width: 1240px;
    margin: 18px auto;
}

.ctm-registration-hero {
    position: relative;
    width: 100vw;
    min-height: 275px;
    margin-left: 50%;
    border: 0;
    border-radius: 0;
    transform: translateX(-50%);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.76) 42%, rgba(255, 255, 255, 0.28) 74%),
        linear-gradient(135deg, #f0d7b6, #7896a8 48%, #1d4d5b);
    background-position: center;
    background-size: cover;
    color: #10294a;
    padding: 0;
}

.ctm-trips-hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(34px, 5vw, 60px) 28px;
}

.ctm-registration-hero h1 {
    max-width: 580px;
    color: #10294a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 0.95;
    letter-spacing: 0;
}

.ctm-registration-hero .ctm-hero-subtitle {
    margin: 12px 0 0;
    color: #193c68;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(18px, 2.2vw, 25px);
    font-style: italic;
}

.ctm-registration-hero p:last-child {
    max-width: 520px;
    margin-top: 20px;
    color: #111827;
    font-size: 18px;
    line-height: 1.45;
}

.ctm-trips-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    max-width: 1240px;
    margin: 28px auto 0;
    padding: 0 28px 40px;
    align-items: start;
}

.ctm-trips-main,
.ctm-trips-sidebar {
    min-width: 0;
}

.ctm-featured-trips-section,
.ctm-interest-steps,
.ctm-trips-interest-form-card,
.ctm-info-panel {
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(16, 41, 74, 0.08);
}

.ctm-featured-trips-section {
    padding: 18px;
}

.ctm-section-title {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 22px;
    align-items: center;
    margin: -8px 0 18px;
}

.ctm-section-title span {
    height: 2px;
    background: #d29a2f;
}

.ctm-section-title h2,
.ctm-info-panel h2 {
    margin: 0;
    color: #10294a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ctm-featured-trip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.ctm-featured-trip-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dfe5ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(16, 41, 74, 0.08);
}

.ctm-featured-trip-media {
    position: relative;
    display: block;
    height: 150px;
    background-position: center;
    background-size: cover;
    text-decoration: none;
}

.ctm-featured-trip-media.no-image {
    background:
        linear-gradient(135deg, rgba(16, 41, 74, 0.16), rgba(16, 41, 74, 0.06)),
        radial-gradient(circle at 24% 24%, rgba(248, 218, 145, 0.95), transparent 24%),
        linear-gradient(135deg, #51798c, #10294a);
}

.ctm-featured-trip-media.ctm-trip-photo-2 {
    background:
        linear-gradient(135deg, rgba(16, 41, 74, 0.12), rgba(16, 41, 74, 0.08)),
        radial-gradient(circle at 68% 30%, rgba(234, 193, 99, 0.9), transparent 23%),
        linear-gradient(135deg, #7b6442, #17375c);
}

.ctm-featured-trip-media.ctm-trip-photo-3 {
    background:
        linear-gradient(135deg, rgba(16, 41, 74, 0.12), rgba(16, 41, 74, 0.08)),
        radial-gradient(circle at 50% 36%, rgba(255, 221, 140, 0.86), transparent 22%),
        linear-gradient(135deg, #405f74, #2c6b55);
}

.ctm-featured-trip-badge {
    position: absolute;
    left: 20px;
    bottom: -25px;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #174b82;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(16, 41, 74, 0.22);
}

.ctm-featured-trip-badge-image {
    overflow: hidden;
    background: #fff;
}

.ctm-featured-trip-badge-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ctm-featured-trip-badge-text {
    width: auto;
    min-width: 58px;
    max-width: 130px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
}

.ctm-featured-trip-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 36px 16px 16px;
}

.ctm-featured-trip-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.2;
}

.ctm-featured-trip-body h3 a {
    color: #103766;
    text-decoration: none;
}

.ctm-featured-trip-body h3 a:hover,
.ctm-featured-trip-body h3 a:focus {
    text-decoration: underline;
}

.ctm-featured-trip-body p {
    margin: 8px 0;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.45;
}

.ctm-trip-card-date,
.ctm-trip-card-destination {
    color: #4b5563 !important;
    font-weight: 700;
}

.ctm-featured-trip-body .ctm-trip-card-date {
    margin-bottom: 2px;
}

.ctm-featured-trip-body .ctm-trip-card-destination {
    margin-top: 0;
}

.ctm-featured-trip-body .ctm-trip-button {
    width: 100%;
    margin-top: auto;
    box-sizing: border-box;
}

.ctm-interest-steps {
    margin-top: 16px;
    padding: 14px 18px;
}

.ctm-interest-steps ol {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ctm-interest-steps ol::before {
    position: absolute;
    top: 13px;
    right: 12.5%;
    left: 12.5%;
    height: 2px;
    content: "";
    background: #c9d2df;
}

.ctm-interest-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: flex-start;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.ctm-interest-steps li::after {
    display: none;
}

.ctm-interest-steps .ctm-step-number {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: #a8afb9;
    color: #fff;
    font-size: 13px;
}

.ctm-interest-steps .ctm-step-label {
    position: relative;
    z-index: 1;
    display: block;
    padding: 0 4px;
    line-height: 1.25;
}

.ctm-interest-steps .is-active {
    color: #0b4ea2;
}

.ctm-interest-steps .is-active .ctm-step-number {
    background: #0b4ea2;
}

.ctm-trips-interest-form-card {
    margin-top: 16px;
    padding: 22px;
}

.ctm-trips-interest-form-card h2 {
    margin: 0 0 8px;
    color: #10294a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    text-align: center;
}

.ctm-trips-interest-form-card > p {
    margin: 0 0 18px;
    color: #4b5563;
    text-align: center;
}

.ctm-polished-interest-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.ctm-polished-interest-form .ctm-form-field,
.ctm-polished-interest-form .ctm-form-submit {
    margin: 0;
}

.ctm-polished-interest-form .ctm-form-field-wide,
.ctm-polished-interest-form .ctm-form-submit {
    grid-column: 1 / -1;
}

.ctm-polished-interest-form label {
    display: block;
    margin-bottom: 6px;
    color: #172033;
    font-size: 14px;
    font-weight: 800;
}

.ctm-polished-interest-form label span {
    color: #b42318;
}

.ctm-polished-interest-form input,
.ctm-polished-interest-form select,
.ctm-polished-interest-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #ccd5e1;
    border-radius: 6px;
    padding: 9px 11px;
    box-sizing: border-box;
    background: #fff;
    color: #111827;
}

.ctm-polished-interest-form textarea {
    min-height: 96px;
}

.ctm-selected-trip-preview {
    border: 1px solid #c9d8ea;
    border-left: 4px solid #174b82;
    border-radius: 8px;
    padding: 16px;
    background: #f7fbff;
}

.ctm-selected-trip-preview h3 {
    margin: 0 0 8px;
    color: #10294a;
    font-size: 18px;
}

.ctm-selected-trip-preview p {
    margin: 0 0 12px;
    color: #374151;
}

.ctm-selected-trip-preview dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin: 0;
}

.ctm-selected-trip-preview dt {
    color: #53627a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.ctm-selected-trip-preview dd {
    margin: 3px 0 0;
    color: #111827;
    font-weight: 700;
}

.ctm-form-submit {
    text-align: center;
}

.ctm-trip-button-gold {
    border-color: #b9821d;
    background: linear-gradient(180deg, #d9a945, #bb8421);
    color: #fff;
    min-width: 260px;
}

.ctm-trips-sidebar {
    display: grid;
    gap: 12px;
}

.ctm-info-panel {
    padding: 18px 20px;
}

.ctm-info-panel h2 {
    margin-bottom: 14px;
}

.ctm-info-row {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    margin-top: 14px;
    align-items: start;
}

.ctm-info-icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 2px solid #d9a945;
    border-radius: 50%;
    color: #b9821d;
    font-size: 14px;
    font-weight: 900;
}

.ctm-info-row strong,
.ctm-leader-name {
    color: #163a63;
    font-weight: 800;
}

.ctm-info-row p,
.ctm-info-panel p,
.ctm-sidebar-list {
    margin: 4px 0 0;
    color: #374151;
    font-size: 14px;
    line-height: 1.45;
}

.ctm-sidebar-list {
    padding-left: 18px;
}

.ctm-sidebar-list li {
    margin-bottom: 8px;
}

.ctm-sidebar-note {
    color: #53627a !important;
    font-style: italic;
}

.ctm-expect-panel ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ctm-expect-panel li {
    position: relative;
    padding-left: 28px;
    color: #1f2937;
    font-size: 14px;
}

.ctm-expect-panel li::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    background: #174b82;
    color: #fff;
    content: "✓";
    font-size: 12px;
    font-weight: 900;
}

.ctm-trip-hero {
    position: relative;
    min-height: 460px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #1d2327;
    background-position: center;
    background-size: cover;
}

.ctm-trip-hero.no-image {
    background:
        linear-gradient(135deg, rgba(29, 35, 39, 0.98), rgba(42, 77, 85, 0.96)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 70px);
}

.ctm-trip-hero.has-image::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(12, 17, 22, 0.84), rgba(12, 17, 22, 0.5), rgba(12, 17, 22, 0.2));
}

.ctm-trip-hero-inner {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    padding: clamp(34px, 7vw, 78px);
    color: #fff;
}

.ctm-trip-kicker {
    display: inline-block;
    margin: 0 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.ctm-trip-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.98;
}

.ctm-trip-destination {
    max-width: 620px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 22px;
    line-height: 1.35;
}

.ctm-trip-hero-actions,
.ctm-trip-hero .ctm-trip-cta-note {
    margin-top: 24px;
}

.ctm-trip-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid #1d2327;
    border-radius: 6px;
    background: #fff;
    color: #1d2327;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 700;
    margin: 4px 8px 4px 0;
}

.ctm-trip-button:hover,
.ctm-trip-button:focus {
    color: #1d2327;
    text-decoration: underline;
}

.ctm-trip-button-primary {
    border-color: #d8a840;
    background: #d8a840;
    color: #151515;
}

.ctm-trip-cta-note {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
}

.ctm-trip-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: -36px 24px 34px;
    position: relative;
    z-index: 2;
}

.ctm-trip-highlight,
.ctm-trip-action-card,
.ctm-trip-detail-card,
.ctm-trip-meeting-panel {
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.ctm-trip-highlight {
    padding: 18px;
}

.ctm-trip-highlight span {
    display: block;
    margin-bottom: 8px;
    color: #646970;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.ctm-trip-highlight strong {
    display: block;
    color: #1d2327;
    font-size: 18px;
    line-height: 1.25;
}

.ctm-trip-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.ctm-trip-main-copy {
    min-width: 0;
}

.ctm-trip-main-copy h2,
.ctm-trip-sidebar h2 {
    margin-top: 0;
    line-height: 1.2;
}

.ctm-trip-main-copy p,
.ctm-trip-sidebar p,
.ctm-trip-detail-card dd {
    color: #3c434a;
    line-height: 1.65;
}

.ctm-trip-meeting-panel {
    margin-top: 28px;
    padding: 24px;
    border-left: 5px solid #2271b1;
}

.ctm-trip-sidebar {
    display: grid;
    gap: 16px;
}

.ctm-trip-action-card,
.ctm-trip-detail-card {
    padding: 22px;
}

.ctm-trip-detail-card dl {
    display: grid;
    gap: 14px;
    margin: 0;
}

.ctm-trip-detail-card dt {
    color: #646970;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.ctm-trip-detail-card dd {
    margin: 2px 0 0;
    font-weight: 700;
}

.ctm-trip-requirements {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ctm-trip-requirements li {
    border-left: 4px solid #00a32a;
    background: #f6f7f7;
    padding: 9px 10px;
}

.ctm-standalone-form-page {
    margin-top: 0;
}

.ctm-dashboard section {
    border-top: 1px solid #dcdcde;
    padding-top: 20px;
}

.ctm-dashboard h2,
.ctm-dashboard h3,
.ctm-dashboard h4 {
    line-height: 1.25;
}

.ctm-household-member,
.ctm-trip-summary,
.ctm-form-status-summary,
.ctm-required-item,
.ctm-payment-summary,
.ctm-fundraising-summary,
.ctm-reminder-summary {
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 16px;
    margin: 12px 0;
    background: #fff;
}

.ctm-dashboard form p,
.ctm-dashboard fieldset p {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.ctm-dashboard label {
    max-width: 100%;
}

.ctm-dashboard input,
.ctm-dashboard select,
.ctm-dashboard textarea {
    max-width: 100%;
    box-sizing: border-box;
}

.ctm-dashboard textarea {
    width: min(100%, 640px);
}

.ctm-dashboard .button,
.ctm-dashboard button,
.ctm-dashboard input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin: 4px 6px 4px 0;
    white-space: normal;
}

.ctm-dashboard .ctm-notice {
    border-left: 4px solid #2271b1;
    padding: 10px 12px;
    background: #f6f7f7;
}

.ctm-dashboard .ctm-notice-error {
    border-left-color: #b32d2e;
}

.ctm-dashboard .ctm-notice-success {
    border-left-color: #008a20;
}

.ctm-trip-interest-details {
    margin: 16px 0 20px;
}

.ctm-trip-interest-detail {
    border: 1px solid #dcdcde;
    border-radius: 6px;
    background: #fff;
    padding: 18px;
    max-width: 760px;
}

.ctm-trip-interest-detail h3,
.ctm-trip-interest-detail h4 {
    margin-top: 0;
}

.ctm-trip-interest-meeting {
    border-left: 4px solid #2271b1;
    background: #f6f7f7;
    padding: 12px 14px;
    margin: 14px 0;
}

.ctm-account-page {
    display: flex;
    justify-content: center;
    max-width: 100%;
    min-height: 360px;
    padding: 32px 16px;
}

.ctm-account-page form,
.ctm-account-card {
    width: min(100%, 440px);
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    padding: 28px;
}

.ctm-account-card {
    text-align: center;
}

.ctm-account-card h2 {
    margin-top: 0;
}

.ctm-account-page form p,
.ctm-account-page fieldset p {
    display: block;
    margin: 0 0 16px;
}

.ctm-account-page input:not([type="checkbox"]):not([type="radio"]) {
    width: 100%;
    min-height: 44px;
    margin-top: 6px;
    padding: 8px 10px;
}

.ctm-account-page button,
.ctm-account-page .button {
    min-height: 42px;
    padding: 8px 16px;
    border: 1px solid #1d2327;
    border-radius: 6px;
    background: #1d2327;
    color: #fff;
    text-decoration: none;
}

.ctm-account-page .button:not(.ctm-primary-action) {
    background: #fff;
    color: #1d2327;
}

.ctm-account-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.ctm-pdf-style-form {
    max-width: 820px;
    margin: 0 auto;
}

.ctm-background-form-sheet {
    border: 1px solid #dcdcde;
    border-radius: 4px;
    background: #fff;
    padding: 34px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.ctm-background-form-header {
    margin-bottom: 20px;
}

.ctm-background-form-header h2 {
    margin: 0 0 12px;
    color: #1d2327;
    font-size: 34px;
    font-weight: 800;
    line-height: 0.98;
    text-transform: uppercase;
}

.ctm-background-form-header p,
.ctm-background-consent-copy p,
.ctm-background-truth-statement,
.ctm-background-typed-consent {
    color: #1d2327;
    font-size: 15px;
    line-height: 1.55;
}

.ctm-background-consent-copy p {
    display: block !important;
    flex: none !important;
    margin: 0 0 13px;
}

.ctm-background-consent-copy .ctm-consent-sentence {
    display: block;
}

.ctm-background-consent-copy .ctm-inline-name-wrap {
    display: inline;
    white-space: nowrap;
}

.ctm-background-consent-copy .ctm-inline-consent-name {
    display: inline-block;
    width: 220px;
    min-height: 28px;
    border: 0;
    border-bottom: 2px solid #1d2327;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 4px 2px;
    vertical-align: baseline;
}

.ctm-background-consent-copy .ctm-inline-consent-name:focus {
    border-bottom-color: #2271b1;
    box-shadow: 0 2px 0 #2271b1;
    outline: none;
}

.ctm-background-version {
    margin: 10px 0 18px;
    color: #646970;
    font-size: 12px;
}

.ctm-background-truth-statement {
    margin: 18px 0 16px;
}

.ctm-pdf-field-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 15px 18px;
}

.ctm-pdf-field {
    display: block;
    min-width: 0;
}

.ctm-pdf-field span {
    display: block;
    color: #1d2327;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.ctm-pdf-field input {
    width: 100%;
    min-height: 34px;
    border: 0;
    border-bottom: 2px solid #1d2327;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 4px 0 2px;
}

.ctm-pdf-field input:focus {
    border-bottom-color: #2271b1;
    box-shadow: 0 2px 0 #2271b1;
    outline: none;
}

.ctm-pdf-field em {
    display: block;
    margin-top: 4px;
    color: #50575e;
    font-size: 12px;
    font-style: normal;
}

.ctm-span-12 {
    grid-column: span 12;
}

.ctm-span-8 {
    grid-column: span 8;
}

.ctm-span-6 {
    grid-column: span 6;
}

.ctm-span-4 {
    grid-column: span 4;
}

.ctm-span-3 {
    grid-column: span 3;
}

.ctm-background-typed-consent {
    margin: 22px 0 18px;
}

.ctm-health-form-sheet {
    border: 1px solid #dcdcde;
    border-radius: 4px;
    background: #fff;
    padding: 34px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.ctm-health-form-header {
    margin-bottom: 22px;
}

.ctm-health-form-header h2 {
    margin: 0 0 12px;
    color: #1d2327;
    font-size: 34px;
    font-weight: 800;
    line-height: 0.98;
    text-transform: uppercase;
}

.ctm-health-form-header p {
    margin: 0;
    color: #1d2327;
    font-size: 15px;
    line-height: 1.55;
}

.ctm-health-question,
.ctm-health-condition-section,
.ctm-health-medication-details,
.ctm-health-signature-section {
    margin-top: 22px;
}

.ctm-health-question-text,
.ctm-health-condition-section h3 {
    margin: 0 0 8px;
    color: #1d2327;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.ctm-health-yes-no {
    display: flex;
    gap: 18px;
    margin-bottom: 8px;
}

.ctm-health-description {
    display: block;
}

.ctm-health-description span,
.ctm-health-medication-details span {
    display: block;
    margin-bottom: 5px;
    color: #1d2327;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.ctm-health-description textarea,
.ctm-health-medication-details textarea {
    width: 100%;
    min-height: 76px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    padding: 8px;
}

.ctm-health-condition-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 18px;
    margin: 10px 0 14px;
}

.ctm-health-condition-grid label,
.ctm-health-yes-no label,
.ctm-health-signature-section label {
    color: #1d2327;
    font-size: 14px;
}

.ctm-health-medication-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.ctm-health-medication-details input {
    width: 100%;
    min-height: 34px;
    border: 0;
    border-bottom: 2px solid #1d2327;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 4px 0 2px;
}

.ctm-health-signature-section {
    border-top: 1px solid #dcdcde;
    padding-top: 18px;
}

.ctm-application-form-sheet {
    border: 1px solid #dcdcde;
    border-radius: 4px;
    background: #fff;
    padding: 34px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.ctm-application-form-header {
    margin-bottom: 22px;
}

.ctm-application-form-header h2 {
    margin: 0 0 12px;
    color: #1d2327;
    font-size: 34px;
    font-weight: 800;
    line-height: 0.98;
    text-transform: uppercase;
}

.ctm-application-form-header p {
    margin: 0;
    color: #1d2327;
    font-size: 15px;
    line-height: 1.55;
}

.ctm-application-relationship,
.ctm-application-not-attender,
.ctm-application-commitments,
.ctm-application-signature-section,
.ctm-application-office-use,
.ctm-application-long-field {
    margin-top: 22px;
}

.ctm-application-relationship h3,
.ctm-application-not-attender h3,
.ctm-application-commitments h3,
.ctm-application-office-use h3 {
    margin: 0 0 10px;
    color: #1d2327;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.ctm-application-radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 14px;
}

.ctm-application-inline-field,
.ctm-application-long-field {
    display: block;
}

.ctm-application-inline-field span,
.ctm-application-long-field span {
    display: block;
    margin-bottom: 5px;
    color: #1d2327;
    font-size: 12px;
    font-weight: 800;
}

.ctm-application-inline-field input {
    width: 220px;
    min-height: 34px;
    border: 0;
    border-bottom: 2px solid #1d2327;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 4px 0 2px;
}

.ctm-application-long-field textarea {
    width: 100%;
    min-height: 96px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    padding: 8px;
}

.ctm-application-commitments {
    border-top: 1px solid #dcdcde;
    padding-top: 18px;
}

.ctm-application-commitments label {
    display: block;
    margin: 8px 0;
    color: #1d2327;
    font-size: 14px;
}

.ctm-application-signature-section {
    border-top: 1px solid #dcdcde;
    padding-top: 18px;
}

.ctm-application-office-use {
    border: 1px dashed #a7aaad;
    border-radius: 4px;
    padding: 14px;
    color: #646970;
    background: #f6f7f7;
}

.ctm-application-office-use p {
    margin: 6px 0;
}

@media (max-width: 700px) {
    .ctm-dashboard {
        gap: 18px;
        padding: 0 10px;
    }

    .ctm-household-home .ctm-household-hero {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .ctm-household-home .ctm-household-hero h2 {
        font-size: 30px;
    }

    .ctm-household-hero-actions {
        justify-content: stretch;
    }

    .ctm-person-dashboard-header,
    .ctm-person-trip-card > summary,
    .ctm-person-trip-body,
    .ctm-trip-facts,
    .ctm-person-metrics,
    .ctm-household-summary-card,
    .ctm-household-member-row,
    .ctm-household-access-panel .ctm-household-member-row,
    .ctm-household-access-panel .ctm-household-edit-panel p {
        grid-template-columns: 1fr;
    }

    .ctm-person-avatar {
        width: 46px;
        height: 46px;
    }

    .ctm-person-trip-summary-grid {
        justify-content: flex-start;
    }

    .ctm-person-trip-card > summary {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .ctm-person-trip-summary-grid {
        grid-column: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ctm-trip-readiness-pill {
        justify-self: start;
    }

    .ctm-household-summary-actions {
        justify-content: stretch;
    }

    .ctm-household-home .ctm-required-item-card summary {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .ctm-required-item-meta {
        grid-column: 2;
        justify-content: flex-start;
    }

    .ctm-household-member,
    .ctm-trip-summary,
    .ctm-form-status-summary,
    .ctm-required-item,
    .ctm-payment-summary,
    .ctm-fundraising-summary,
    .ctm-reminder-summary {
        padding: 12px;
    }

    .ctm-dashboard form p,
    .ctm-dashboard fieldset p {
        display: block;
    }

    .ctm-dashboard input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
    .ctm-dashboard select,
    .ctm-dashboard textarea {
        width: 100%;
    }

    .ctm-dashboard .button,
    .ctm-dashboard button,
    .ctm-dashboard input[type="submit"] {
        width: 100%;
        margin-right: 0;
    }

    .ctm-visa-canvas,
    .ctm-visa-preview {
        width: 100%;
        height: auto;
    }

    .ctm-account-page {
        padding: 18px 0;
    }

    .ctm-account-page form,
    .ctm-account-card {
        padding: 18px;
    }

    .ctm-background-form-sheet {
        padding: 20px;
    }

    .ctm-background-form-header h2 {
        font-size: 28px;
    }

    .ctm-health-form-sheet {
        padding: 20px;
    }

    .ctm-health-form-header h2 {
        font-size: 28px;
    }

    .ctm-application-form-sheet {
        padding: 20px;
    }

    .ctm-application-form-header h2 {
        font-size: 28px;
    }

    .ctm-background-consent-copy .ctm-inline-name-wrap {
        display: inline;
        white-space: normal;
    }

    .ctm-background-consent-copy .ctm-inline-consent-name {
        width: 100%;
        margin: 6px 0 2px;
    }

    .ctm-pdf-field-grid {
        display: block;
    }

    .ctm-pdf-field {
        margin-bottom: 15px;
    }

    .ctm-health-condition-grid,
    .ctm-health-medication-details {
        display: block;
    }

    .ctm-health-condition-grid label,
    .ctm-health-medication-details label {
        display: block;
        margin-bottom: 10px;
    }

    .ctm-application-radio-row {
        display: block;
    }

    .ctm-application-radio-row label {
        display: block;
        margin-bottom: 8px;
    }

    .ctm-application-inline-field input {
        width: 100%;
    }

    .ctm-trip-hero {
        min-height: 390px;
        border-radius: 0;
        margin-left: -10px;
        margin-right: -10px;
    }

    .ctm-trip-hero-inner {
        padding: 30px 20px;
    }

    .ctm-trip-highlight-grid,
    .ctm-trip-content-grid,
    .ctm-trips-card-grid {
        display: block;
    }

    .ctm-trip-highlight-grid {
        margin: 14px 0 24px;
    }

    .ctm-trip-highlight,
    .ctm-trip-list-card,
    .ctm-trip-sidebar > *,
    .ctm-trip-meeting-panel {
        margin-bottom: 12px;
    }

    .ctm-trip-button {
        width: 100%;
        box-sizing: border-box;
        margin-right: 0;
    }
}

@media (max-width: 980px) {
    .ctm-trips-layout {
        display: block;
        padding-inline: 20px;
    }

    .ctm-trips-sidebar {
        margin-top: 16px;
    }

    .ctm-featured-trip-grid {
        grid-template-columns: 1fr;
    }

    .ctm-featured-trip-media {
        height: 190px;
    }

    .ctm-interest-steps ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .ctm-interest-steps ol::before {
        display: none;
    }

    .ctm-interest-steps li::after {
        display: none;
    }
}

@media (max-width: 700px) {
    .ctm-registration-hero {
        min-height: 0;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86)),
            linear-gradient(135deg, #f0d7b6, #7896a8 48%, #1d4d5b) !important;
    }

    .ctm-trips-hero-inner {
        padding: 32px 20px;
    }

    .ctm-registration-hero h1 {
        font-size: 42px;
    }

    .ctm-registration-hero p:last-child {
        font-size: 16px;
    }

    .ctm-trips-layout {
        margin-top: 18px;
        padding-inline: 12px;
    }

    .ctm-section-title {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }

    .ctm-section-title span {
        display: none;
    }

    .ctm-polished-interest-form,
    .ctm-interest-steps ol,
    .ctm-selected-trip-preview dl {
        grid-template-columns: 1fr;
    }

    .ctm-trip-button-gold {
        min-width: 0;
        width: 100%;
    }
}

body:has(.ctm-trip-registration-page) .wp-block-post-content {
    margin-block-start: 0 !important;
}

body:has(.ctm-trip-registration-page) main.wp-block-group,
body:has(.ctm-trip-registration-page) main > .wp-block-group.alignfull {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.ctm-dashboard.ctm-trip-registration-page {
    width: 100vw;
    margin-left: 50% !important;
    padding: 0;
    transform: translateX(-50%);
}

.ctm-trip-registration-page section {
    border-top: 0;
}

.ctm-trip-registration-page .ctm-registration-hero {
    width: 100%;
    margin-left: 0;
    transform: none;
}
