@charset "UTF-8";
/*
 Theme Name:   Lightning Child
 Template:     lightning
*/

/* FORCE HIDE SLIDER */
.lightning_swiper_container,
.main-section-slide,
.lightning_slide,
.swiper-container {
    display: none !important;
}

/* Forced 1-column layout */
.home .site-body-container,
.page-id-123 .site-body-container {
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Adjustments - High Specificity */
body .site-header {
    background: rgba(255, 255, 255, 0.8) !important;
}

body .site-header .site-header-logo {
    font-size: 24px !important;
    line-height: 1.2;
    margin: 0;
}

body .site-header .site-header-logo a {
    display: block;
    width: min(420px, 38vw);
    height: calc(min(420px, 38vw) * 170 / 1475);
    margin-bottom: 5px;
    background: url("./assets/header-logo.png") left center / contain no-repeat;
}

body .site-header .site-header-logo span {
    display: block;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0 !important;
}

.navbar-header {
    padding: 10px 0;
}

@media (max-width: 991px) {
    body .site-header .site-header-logo a {
        width: min(320px, 54vw);
        height: calc(min(320px, 54vw) * 170 / 1475);
    }
}

/* Footer customization */
.siteFooter.tgs-footer {
    background: #1f2a27;
    color: #f5f1ea;
}

.siteFooter.tgs-footer a {
    color: #f5f1ea;
    text-decoration: none;
}

.siteFooter.tgs-footer a:hover {
    color: #ffe2b8;
}

.siteFooter.tgs-footer .tgs-footer-top {
    background: #16201d;
    padding: 18px 0;
}

.siteFooter.tgs-footer .tgs-footer-logo-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.siteFooter.tgs-footer .tgs-footer-logo {
    border: 1px solid rgba(245, 241, 234, 0.4);
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.15);
}

.siteFooter.tgs-footer .tgs-footer-main {
    padding: 40px 0 28px;
}

.siteFooter.tgs-footer .tgs-footer-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.siteFooter.tgs-footer .tgs-footer-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}

.siteFooter.tgs-footer .tgs-footer-subtitle {
    font-size: 14px;
    margin: 0 0 12px;
    opacity: 0.9;
}

.siteFooter.tgs-footer .tgs-footer-address,
.siteFooter.tgs-footer .tgs-footer-contact {
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 10px;
    opacity: 0.85;
}

.siteFooter.tgs-footer .tgs-footer-contact-label {
    display: inline-block;
    min-width: 32px;
    font-weight: 600;
}

.siteFooter.tgs-footer .tgs-footer-heading {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
}

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

.siteFooter.tgs-footer .tgs-footer-list li {
    margin-bottom: 8px;
    font-size: 13px;
}

.siteFooter.tgs-footer .tgs-footer-icons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.siteFooter.tgs-footer .tgs-footer-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(245, 241, 234, 0.12);
    border: 1px solid rgba(245, 241, 234, 0.25);
    line-height: 0;
}

.siteFooter.tgs-footer .tgs-footer-icon-link svg {
    width: 18px !important;
    height: 18px !important;
    display: block;
    fill: currentColor;
}

.siteFooter.tgs-footer .tgs-footer-bottom {
    border-top: 1px solid rgba(245, 241, 234, 0.2);
    padding: 16px 0 20px;
    font-size: 12px;
    text-align: center;
}

.siteFooter.tgs-footer .tgs-footer-copy {
    margin: 0;
    opacity: 0.8;
}

.siteFooter:not(.tgs-footer) {
    display: none !important;
}

footer.site-footer > .container.site-footer-copyright,
.site-footer > .container.site-footer-copyright,
.site-footer-copyright {
    display: none !important;
}

/* Member list table styling */
.tgs-member-lead {
    margin: 0 0 16px;
    font-size: 14px;
    color: #4b4b4b;
}

.tgs-member-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.tgs-member-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.tgs-member-table thead th {
    background: #1f2a27;
    color: #f5f1ea;
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.tgs-member-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #e7e2d8;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    vertical-align: top;
}

.tgs-member-table tbody tr:nth-child(even) {
    background: #faf7f1;
}

.tgs-member-table tbody tr:hover {
    background: #f1ece4;
}

.tgs-member-table a {
    color: #245a4a;
    text-decoration: underline;
    word-break: break-all;
}

.tgs-member-table a:hover {
    color: #1f2a27;
}

.page-id-12 .sub-section,
.page-id-12 .sub-section--col--two {
    display: none;
}

.page-id-12 {
    --join-ink: #20312f;
    --join-text: #51615e;
    --join-line: #d8e5e4;
    --join-surface: #ffffff;
    --join-surface-soft: linear-gradient(180deg, #fbfdfd 0%, #f2f7f7 100%);
    --join-accent: linear-gradient(120deg, #3ea9db 0%, #2964a5 48%, #a4d233 100%);
    --join-shadow: 0 18px 40px rgba(24, 48, 46, 0.08);
}

.page-id-12 .main-section,
.page-id-12 .main-section-base,
.page-id-12 .mainSection-base {
    width: 100% !important;
}

.page-id-12 .entry-body {
    max-width: 1120px;
    margin: 0 auto;
    padding: 12px 20px 56px;
}

.page-id-12 .entry-body > h2.wp-block-heading {
    max-width: 1040px;
    margin: 0 auto 34px;
}

.page-id-12 .tgs-join-page {
    max-width: 1040px;
    margin: 0 auto;
}

.page-id-12 .tgs-join-hero {
    margin: 0 0 36px;
    background:
        radial-gradient(circle at top right, rgba(79, 129, 199, 0.18), transparent 28%),
        radial-gradient(circle at bottom left, rgba(122, 179, 106, 0.18), transparent 26%),
        linear-gradient(180deg, #fbfdfd 0%, #eef4f5 100%);
    border: 1px solid #d9e6e5;
    border-radius: 28px;
    padding: 40px 42px 34px;
    box-shadow: var(--join-shadow);
}

.page-id-12 .tgs-join-eyebrow,
.page-id-12 .tgs-join-card-kicker,
.page-id-12 .tgs-join-section-kicker {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4a78bc;
}

.page-id-12 .tgs-join-hero__title {
    margin-bottom: 18px;
    color: var(--join-ink);
    max-width: 980px;
    font-size: clamp(1.86rem, 1.52rem + 0.62vw, 2.48rem);
    line-height: 1.28;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.page-id-12 .tgs-join-hero p {
    max-width: 920px;
    line-height: 1.82;
    color: var(--join-text);
    font-size: 1.1rem;
}

.page-id-12 .tgs-join-value-band {
    margin-top: 24px;
    gap: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.page-id-12 .tgs-join-value-chip {
    min-width: 0;
    min-height: 154px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(217, 230, 229, 0.95);
    box-shadow: 0 10px 24px rgba(24, 48, 46, 0.05);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.page-id-12 .tgs-join-value-chip p {
    margin: 0;
    color: var(--join-text);
    line-height: 1.55;
    font-size: 0.98rem;
}

.page-id-12 .tgs-join-value-chip strong {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--join-ink);
    font-size: 1rem;
}

.page-id-12 .tgs-join-benefits,
.page-id-12 .tgs-join-extensions,
.page-id-12 .tgs-join-feature-grid {
    margin: 0 0 28px;
    gap: 22px;
    align-items: stretch;
}

.page-id-12 .tgs-join-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-id-12 .tgs-join-extensions,
.page-id-12 .tgs-join-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-id-12 .tgs-join-benefit,
.page-id-12 .tgs-join-target,
.page-id-12 .tgs-join-feature,
.page-id-12 .tgs-join-section,
.page-id-12 .tgs-join-cta {
    position: relative;
    overflow: hidden;
    background: var(--join-surface-soft);
    border: 1px solid var(--join-line);
    border-radius: 24px;
    box-shadow: var(--join-shadow);
}

.page-id-12 .tgs-join-benefits > .wp-block-column,
.page-id-12 .tgs-join-extensions > .wp-block-column,
.page-id-12 .tgs-join-feature-grid > .wp-block-column {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: stretch;
}

.page-id-12 .tgs-join-benefit::before,
.page-id-12 .tgs-join-target::before,
.page-id-12 .tgs-join-feature::before,
.page-id-12 .tgs-join-section::before,
.page-id-12 .tgs-join-cta::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--join-accent);
}

.page-id-12 .tgs-join-benefit {
    padding: 30px 26px 28px;
    height: 100%;
}

.page-id-12 .tgs-join-benefit h3 {
    font-size: 1.26rem;
    line-height: 1.42;
    margin-bottom: 14px;
    color: var(--join-ink);
}

.page-id-12 .tgs-join-benefit p,
.page-id-12 .tgs-join-benefit li,
.page-id-12 .tgs-join-target p,
.page-id-12 .tgs-join-target li,
.page-id-12 .tgs-join-feature p,
.page-id-12 .tgs-join-feature li,
.page-id-12 .tgs-join-section p,
.page-id-12 .tgs-join-cta p {
    color: var(--join-text);
    line-height: 1.85;
}

.page-id-12 .tgs-join-benefit ul,
.page-id-12 .tgs-join-target ul,
.page-id-12 .tgs-join-feature ul {
    margin: 0 0 18px;
    padding-left: 1.2em;
}

.page-id-12 .tgs-join-section {
    margin: 0 0 30px;
    padding: 32px 32px 10px;
}

.page-id-12 .tgs-join-section h3,
.page-id-12 .tgs-join-cta h3 {
    margin-bottom: 14px;
    color: var(--join-ink);
    font-size: 1.34rem;
}

.page-id-12 .tgs-join-feature {
    padding: 26px 22px 22px;
    height: 100%;
}

.page-id-12 .tgs-join-feature h4 {
    margin-bottom: 12px;
    color: var(--join-ink);
    font-size: 1.1rem;
}

.page-id-12 .tgs-join-target {
    margin: 0;
    padding: 28px 28px 24px;
    height: 100%;
}

.page-id-12 .tgs-join-target h3 {
    margin-bottom: 14px;
    color: var(--join-ink);
    font-size: 1.22rem;
}

.page-id-12 .tgs-join-cta {
    padding: 30px 28px 32px;
    text-align: center;
}

.page-id-12 .tgs-join-cta .wp-block-buttons {
    justify-content: center;
    margin-top: 20px;
}

.page-id-12 .tgs-join-cta .wp-block-button__link {
    background: var(--join-accent);
    border-radius: 999px;
    padding: 16px 34px;
    box-shadow: 0 12px 28px rgba(31, 95, 155, 0.16);
}

.page-id-12 .tgs-join-cta .wp-block-button__link:hover {
    background: linear-gradient(120deg, #4ab7e6 0%, #2d73b3 48%, #b7e23a 100%);
}

@media (max-width: 991px) {
    .page-id-12 .entry-body {
        padding: 10px 16px 44px;
    }

    .page-id-12 .tgs-join-hero {
        padding: 32px 26px 28px;
    }

    .page-id-12 .tgs-join-value-band {
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .page-id-12 .tgs-join-benefits,
    .page-id-12 .tgs-join-extensions,
    .page-id-12 .tgs-join-feature-grid {
        grid-template-columns: 1fr;
    }

    .page-id-12 .tgs-join-section {
        padding: 28px 24px 6px;
    }
}

@media (max-width: 767px) {
    .page-id-12 .entry-body {
        padding: 8px 12px 36px;
    }

    .page-id-12 .tgs-join-hero,
    .page-id-12 .tgs-join-target,
    .page-id-12 .tgs-join-feature,
    .page-id-12 .tgs-join-section,
    .page-id-12 .tgs-join-cta {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .page-id-12 .tgs-join-benefit {
        padding: 24px 18px 22px;
        border-radius: 18px;
    }

    .page-id-12 .tgs-join-hero__title {
        font-size: 1.58rem;
        line-height: 1.34;
    }

    .page-id-12 .tgs-join-value-chip {
        min-height: 0;
        padding: 16px 16px 14px;
    }

    .page-id-12 .tgs-join-benefit h3,
    .page-id-12 .tgs-join-target h3,
    .page-id-12 .tgs-join-section h3,
    .page-id-12 .tgs-join-cta h3 {
        font-size: 1.16rem;
    }

    .page-id-12 .tgs-join-card-kicker,
    .page-id-12 .tgs-join-section-kicker,
    .page-id-12 .tgs-join-eyebrow {
        font-size: 0.74rem;
    }
}

.page-id-6 .page-header,
.page-id-7 .page-header,
.page-id-8 .page-header,
.page-id-9 .page-header,
.page-id-10 .page-header,
.page-id-11 .page-header,
.page-id-12 .page-header,
.page-id-13 .page-header {
    background: linear-gradient(120deg, #39a9da 0%, #1f5f9b 48%, #a8d929 100%);
}

.page-id-6 .page-header-title,
.page-id-7 .page-header-title,
.page-id-8 .page-header-title,
.page-id-9 .page-header-title,
.page-id-10 .page-header-title,
.page-id-11 .page-header-title,
.page-id-12 .page-header-title,
.page-id-13 .page-header-title {
    color: #ffffff;
}

.page-id-13 .wpcf7-form {
    max-width: 760px;
    margin: 0 auto;
}

.page-id-13 .wpcf7-submit {
    display: inline-block;
    min-width: 220px;
    padding: 18px 28px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: linear-gradient(120deg, #39a9da 0%, #1f5f9b 48%, #a8d929 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 24px rgba(31, 95, 155, 0.16) !important;
}

.page-id-13 .wpcf7-submit:hover {
    background: linear-gradient(120deg, #4ab7e6 0%, #2d73b3 48%, #b7e23a 100%) !important;
    color: #ffffff !important;
}

.page-id-10 .sub-section,
.page-id-10 .sub-section--col--two {
    display: none;
}

.page-id-10 .main-section,
.page-id-10 .main-section-base,
.page-id-10 .mainSection-base {
    width: 100% !important;
}

.page-id-10 .entry-body {
    max-width: 1120px;
    margin: 0 auto;
    padding: 12px 16px 40px;
}

.page-id-10 .tgs-director-page {
    position: relative;
    min-height: 760px;
    padding: 10px 360px 40px 0;
    text-align: left;
}

.page-id-10 .tgs-director-page::after {
    content: none;
}

.page-id-10 .tgs-director-page > h2.wp-block-heading {
    margin: 0 0 18px;
    text-align: left;
    font-size: clamp(2rem, 1.65rem + 0.48vw, 2.55rem);
}

.page-id-10 .tgs-director-page__lead {
    margin-bottom: 18px;
}

.page-id-10 .tgs-director-page p,
.page-id-10 .tgs-director-page h3 {
    position: relative;
    z-index: 1;
    max-width: 700px;
    text-align: left;
}

.page-id-10 .tgs-director-page p {
    line-height: 1.95;
    margin-bottom: 18px;
}

.page-id-10 .tgs-director-page h3 {
    margin-top: 34px;
    margin-bottom: 12px;
    font-size: 1.28rem;
}

.page-id-10 .tgs-director-page__profile {
    position: absolute;
    right: 18px;
    bottom: 0;
    width: min(24.8vw, 336px);
    z-index: 1;
    text-align: center !important;
}

.page-id-10 .tgs-director-page__profile-image {
    margin: 0;
}

.page-id-10 .tgs-director-page__profile-image img {
    width: 100%;
    height: auto;
    display: block;
}

.page-id-10 .tgs-director-page__profile-caption {
    margin: 14px 0 0;
    width: 100%;
    display: block;
    text-align: center !important;
    font-size: 0.98rem;
    line-height: 1.7;
}

.page-id-10 .tgs-director-page__profile > * {
    text-align: center !important;
}

.page-id-6 .sub-section,
.page-id-6 .sub-section--col--two {
    display: none;
}

.page-id-6 .main-section,
.page-id-6 .main-section-base,
.page-id-6 .mainSection-base {
    width: 100% !important;
}

.page-id-6 .entry-body {
    max-width: 1160px;
    margin: 0 auto;
    padding: 10px 16px 40px;
}

.page-id-6 .tgs-activities-layout {
    align-items: flex-start;
    gap: 44px;
}

.page-id-6 .tgs-activities-layout__main {
    min-width: 0;
}

.page-id-6 .tgs-activities-layout__sidebar {
    min-width: 0;
}

.page-id-6 .tgs-activities-layout__main > .wp-block-heading {
    margin-bottom: 20px;
}

.page-id-6 .tgs-activity-archives {
    position: sticky;
    top: 120px;
    padding: 28px 26px;
    background: #f8fbfc;
    border: 1px solid #d9e5e7;
    box-shadow: 0 12px 28px rgba(31, 58, 55, 0.06);
}

.page-id-6 .tgs-activity-archives__title {
    margin: 0 0 18px;
    font-size: 1.32rem;
    line-height: 1.4;
}

.page-id-6 .tgs-activity-archives__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-id-6 .tgs-activity-archives__item + .tgs-activity-archives__item {
    margin-top: 10px;
}

.page-id-6 .tgs-activity-archives__item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #dbe5e7;
    color: #243330;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-id-6 .tgs-activity-archives__item a:hover {
    border-color: #7ea5d7;
    transform: translateX(4px);
}

.page-id-6 .tgs-activity-archives__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    background: #e6eef9;
    color: #2f5c9a;
    font-size: 0.92rem;
    font-weight: 700;
}

.page-id-8 {
    --tgs-overview-bg: linear-gradient(180deg, #f8fbfc 0%, #f3f7f8 100%);
    --tgs-overview-card: rgba(255, 255, 255, 0.92);
    --tgs-overview-border: #d9e5e7;
    --tgs-overview-accent: #4f81c7;
    --tgs-overview-text: #243330;
    --tgs-overview-muted: #51605d;
}

.page-id-8 .sub-section,
.page-id-8 .sub-section--col--two {
    display: none;
}

.page-id-8 .main-section,
.page-id-8 .main-section-base,
.page-id-8 .mainSection-base {
    width: 100% !important;
}

.page-id-8 .entry-body {
    max-width: 1120px;
    margin: 0 auto;
    padding: 8px 8px 24px;
}

.page-id-8 .tgs-overview-lead {
    max-width: 900px;
    margin: 0 auto 34px;
    text-align: left;
    padding: 8px 0 20px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.page-id-8 .tgs-overview-lead p {
    color: var(--tgs-overview-text);
    font-size: 1.06rem;
    line-height: 1.9;
    text-align: left;
}

.page-id-8 .tgs-overview-cards {
    gap: 28px;
    max-width: 1040px;
    margin: 0 auto 32px;
    align-items: stretch;
}

.page-id-8 .tgs-overview-card {
    background: var(--tgs-overview-card);
    border: 1px solid var(--tgs-overview-border);
    padding: 32px 30px;
    box-shadow: 0 18px 40px rgba(31, 58, 55, 0.08);
    position: relative;
    overflow: hidden;
}

.page-id-8 .tgs-overview-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #4f81c7 0%, #7ba8d8 100%);
}

.page-id-8 .tgs-overview-card h3 {
    font-size: 1.34rem;
    margin-bottom: 16px;
    color: var(--tgs-overview-text);
}

.page-id-8 .tgs-overview-card p,
.page-id-8 .tgs-overview-card li {
    color: var(--tgs-overview-muted);
    font-size: 1rem;
    line-height: 1.9;
}

.page-id-8 .tgs-overview-card ul {
    margin: 0;
    padding-left: 1.2em;
}

.page-id-8 .tgs-overview-card li {
    margin-bottom: 14px;
}

.page-id-8 .tgs-overview-card li:last-child {
    margin-bottom: 0;
}

.page-id-8 .tgs-overview-card strong {
    color: var(--tgs-overview-text);
}

.page-id-8 .tgs-overview-card--contact {
    background:
        radial-gradient(circle at top right, rgba(79, 129, 199, 0.12), transparent 35%),
        var(--tgs-overview-card);
}

.page-id-8 .tgs-overview-note {
    max-width: 960px;
    margin: 0 auto;
    padding: 28px 30px;
    background: linear-gradient(180deg, #fbfcfa 0%, #f6f8f4 100%);
    border: 1px solid #dde4d7;
    box-shadow: 0 16px 34px rgba(45, 63, 51, 0.06);
    position: relative;
}

.page-id-8 .tgs-overview-note::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 5px;
    background: linear-gradient(180deg, #4f7b79 0%, #7ea8a6 100%);
}

.page-id-8 .tgs-overview-note h3 {
    color: var(--tgs-overview-text);
    margin-bottom: 14px;
}

.page-id-8 .tgs-overview-note p {
    color: var(--tgs-overview-muted);
    line-height: 1.9;
    margin-bottom: 0;
}

.page-id-8 .tgs-overview-note a {
    color: #3f6faa;
}

.page-id-8 .tgs-overview-card--wide {
    max-width: 1040px;
    margin: 0 auto 28px;
}

.page-id-8 .tgs-overview-info-grid {
    gap: 22px;
    margin-top: 6px;
}

.page-id-8 .tgs-overview-info-grid p {
    margin: 0;
}

.page-id-8 .tgs-overview-info-list {
    display: grid;
    gap: 14px;
    margin-top: 6px;
}

.page-id-8 .tgs-overview-inline-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.page-id-8 .tgs-overview-inline-item__label {
    flex: 0 0 auto;
    min-width: 64px;
    color: var(--tgs-overview-text);
    font-weight: 700;
}

.page-id-8 .tgs-overview-inline-item__value {
    color: var(--tgs-overview-muted);
}

.page-id-8 .tgs-overview-card--map {
    padding: 18px;
    max-width: 1040px;
    margin: 0 auto 32px;
}

.page-id-8 .tgs-overview-contact-list {
    display: grid;
    gap: 14px;
    width: 100%;
}

.page-id-8 .tgs-overview-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.page-id-8 .tgs-overview-contact-row__label {
    flex: 0 0 auto;
    min-width: 72px;
    color: var(--tgs-overview-text);
    font-weight: 700;
}

.page-id-8 .tgs-overview-contact-row__value {
    color: var(--tgs-overview-muted);
    flex: 1 1 auto;
    min-width: 0;
}

.page-id-8 .tgs-overview-map-frame {
    width: 100%;
    height: 100%;
    min-height: 360px;
    overflow: hidden;
}

.page-id-8 .tgs-overview-map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    display: block;
}

@media (max-width: 991px) {
    .page-id-8 .tgs-overview-lead,
    .page-id-8 .tgs-overview-card,
    .page-id-8 .tgs-overview-note {
        padding: 24px 20px;
    }

    .page-id-8 .tgs-overview-cards,
    .page-id-8 .tgs-overview-location,
    .page-id-8 .tgs-overview-info-grid,
    .page-id-8 .tgs-overview-info-list {
        gap: 20px;
    }

    .page-id-8 .tgs-overview-map-frame,
    .page-id-8 .tgs-overview-map-frame iframe {
        min-height: 300px;
    }

    .page-id-8 .tgs-overview-inline-item,
    .page-id-8 .tgs-overview-contact-row {
        flex-direction: column;
        gap: 6px;
    }
}

.page-id-7 .tgs-guide-cards {
    justify-content: center;
    width: calc(100% - 100px) !important;
    max-width: calc(100% - 100px) !important;
    margin-left: auto;
    margin-right: auto;
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 0;
}

.page-id-7 .tgs-guide-hero {
    max-width: 1100px;
    margin: 0 auto 28px;
    align-items: center;
    gap: 40px;
}

.page-id-7 .tgs-guide-hero__body {
    text-align: left;
}

.page-id-7 .tgs-guide-hero__body p {
    max-width: none;
    margin: 0 0 14px;
    color: #46514f;
    line-height: 1.9;
}

.page-id-7 .tgs-guide-hero__body p:last-child {
    margin-bottom: 0;
}

.page-id-7 .tgs-guide-hero__image {
    min-width: 0;
}

.page-id-7 .tgs-guide-hero__visual {
    width: 100%;
    min-height: 340px;
    border-radius: 10px;
    background: #f3f0e7 url("../../uploads/2026/04/guide-hero.png") center center / cover no-repeat;
    box-shadow: 0 14px 34px rgba(24, 48, 46, 0.12);
}

.page-id-7 .entry-body,
.page-id-10 .entry-body {
    text-align: center;
}

.page-id-7 .site-body-container,
.page-id-7 .main-section,
.page-id-7 .main-section-base,
.page-id-7 .mainSection-base,
.page-id-7 .entry-body > .wp-block-columns,
.page-id-7 .entry-body > .wp-block-group,
.page-id-7 .entry-body > p,
.page-id-10 .site-body-container,
.page-id-10 .main-section,
.page-id-10 .main-section-base,
.page-id-10 .mainSection-base,
.page-id-10 .entry-body > .wp-block-columns,
.page-id-10 .entry-body > .wp-block-group,
.page-id-10 .entry-body > p,
.page-id-10 .entry-body > figure {
    max-width: 100% !important;
}

.page-id-7 .main-section,
.page-id-7 .main-section-base,
.page-id-7 .mainSection-base,
.page-id-10 .main-section,
.page-id-10 .main-section-base,
.page-id-10 .mainSection-base {
    width: 100% !important;
}

.page-id-7 .sub-section,
.page-id-7 .sub-section--col--two,
.page-id-7 .widget_child_page,
.page-id-7 .widget_link_list,
.page-id-7 .localNav,
.page-id-7 .localNavi,
.page-id-8 .widget_child_page,
.page-id-8 .widget_link_list,
.page-id-8 .localNav,
.page-id-8 .localNavi,
.page-id-9 .sub-section,
.page-id-9 .sub-section--col--two,
.page-id-9 .widget_child_page,
.page-id-9 .widget_link_list,
.page-id-9 .localNav,
.page-id-9 .localNavi,
.page-id-10 .widget_child_page,
.page-id-10 .widget_link_list,
.page-id-10 .localNav,
.page-id-10 .localNavi,
.page-id-11 .sub-section,
.page-id-11 .sub-section--col--two,
.page-id-11 .widget_child_page,
.page-id-11 .widget_link_list,
.page-id-11 .localNav,
.page-id-11 .localNavi {
    display: none !important;
}

.page-id-7 .entry-body > p,
.page-id-10 .entry-body > p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.page-id-7 .entry-body > h2.wp-block-heading,
.page-id-7 .entry-body > .wp-block-heading,
.page-id-10 .entry-body > h2.wp-block-heading,
.page-id-10 .entry-body > .wp-block-heading {
    text-align: center;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 22px;
    border-top: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.page-id-7 .entry-body > h2.wp-block-heading::before,
.page-id-7 .entry-body > h2.wp-block-heading::after,
.page-id-7 .entry-body > .wp-block-heading::before,
.page-id-7 .entry-body > .wp-block-heading::after,
.page-id-10 .entry-body > h2.wp-block-heading::before,
.page-id-10 .entry-body > h2.wp-block-heading::after,
.page-id-10 .entry-body > .wp-block-heading::before,
.page-id-10 .entry-body > .wp-block-heading::after {
    border-top: 0 !important;
    box-shadow: none !important;
}

.page-id-7 .entry-body > h2.wp-block-heading::before,
.page-id-7 .entry-body > .wp-block-heading::before,
.page-id-10 .entry-body > h2.wp-block-heading::before,
.page-id-10 .entry-body > .wp-block-heading::before {
    content: none !important;
}

.page-id-7 .entry-body > h2.wp-block-heading::after,
.page-id-7 .entry-body > .wp-block-heading::after,
.page-id-10 .entry-body > h2.wp-block-heading::after,
.page-id-10 .entry-body > .wp-block-heading::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    margin: 12px auto 0;
    background: #4f81c7;
}

.page-id-10 .entry-body > figure {
    max-width: 420px !important;
    margin-left: auto;
    margin-right: auto;
}

.page-id-10 .entry-body > h3.wp-block-heading,
.page-id-10 .entry-body > p {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.page-id-7 .tgs-guide-card {
    background: linear-gradient(180deg, #f9fbfb 0%, #edf4f4 100%);
    border: 1px solid #d8e5e4;
    padding: 32px 58px !important;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(24, 48, 46, 0.06);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.page-id-7 .tgs-guide-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 46%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.page-id-7 .tgs-guide-cards > .wp-block-column {
    flex-basis: 0;
}

.page-id-7 .tgs-guide-card h3 {
    font-size: 1.55rem;
    margin-bottom: 14px;
    line-height: 1.35;
}

.page-id-7 .tgs-guide-card p {
    margin-bottom: 0;
    color: #46514f;
    line-height: 1.8;
    font-size: 1rem;
}

.page-id-7 .tgs-guide-card a {
    color: #243330;
    text-decoration: none;
}

.page-id-7 .tgs-guide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(24, 48, 46, 0.12);
    border-color: #c7d8d7;
    background: linear-gradient(180deg, #fcfefe 0%, #e9f1f1 100%);
}

.page-id-7 .tgs-guide-card:hover::before {
    opacity: 1;
}

.page-id-7 .tgs-guide-card a:hover {
    color: #4f7b79;
}

/* Top page modern styling */
.home .entry-body {
    color: #2c2c2c;
}

.home .wp-block-cover.alignfull {
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    position: relative;
    min-height: 0;
    aspect-ratio: 1769 / 1116;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 calc(50% - 50vw) !important;
    line-height: 0;
}

.home .wp-block-cover.alignfull .wp-block-cover__background {
    display: none;
}

.home .wp-block-cover.alignfull .wp-block-cover__image-background {
    width: 100%;
    height: auto !important;
    max-width: 100%;
    object-fit: contain;
    object-position: center top;
    position: static !important;
    inset: auto !important;
    display: block;
    transform: none;
}

.home .wp-block-cover.alignfull::after {
    content: none;
}

.home .wp-block-cover .wp-block-cover__inner-container {
    position: relative;
    z-index: 1;
    padding: 0;
    min-height: 0;
    display: none;
}

.home .wp-block-cover h1.wp-block-heading {
    font-size: clamp(2.4rem, 3vw + 1.6rem, 4rem);
    letter-spacing: 0.06em;
    line-height: 1.25;
    margin-bottom: 12px;
}

.home .wp-block-cover p {
    font-size: 1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home .wp-block-group.is-layout-constrained {
    background: transparent;
    padding: 32px 24px 10px;
    box-shadow: none;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.home .mainSection-base,
.home .main-section-base,
.home .siteContent_container,
.home .site-content-container {
    max-width: 100%;
}

.home .mainSection .subSection,
.home .main-section .sub-section,
.home .subSection,
.home .sub-section,
.home #secondary,
.home aside#secondary,
.home .sidebar,
.home .sideSection,
.home .side-section,
.home .widget_archive,
.home .widget_categories,
.home .widget.widget_archive,
.home .widget.widget_categories {
    display: none !important;
}

.home .mainSection .mainSection-base-only,
.home .mainSection .mainSection-base,
.home .main-section .main-section-base-only,
.home .main-section .main-section-base {
    width: 100%;
    padding-top: 0 !important;
}

.home .entry-body > .wp-block-group.is-layout-constrained {
    max-width: 100%;
}

.home .entry-body > .wp-block-cover.alignfull:first-child {
    margin-top: -52px !important;
}

.home .wp-block-columns.card-group {
    gap: 0;
    margin-bottom: 0;
}

.home .wp-block-columns.card-group--menus {
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.home .wp-block-columns.card-group--menus > .wp-block-column {
    flex-basis: auto !important;
    width: 100% !important;
    margin: 0 !important;
}

.home .tgs-home-card {
    min-height: 382px;
    padding-top: 42px !important;
    padding-bottom: 24px !important;
    padding-left: max(100px, calc((100vw - 1200px) / 2 + 100px)) !important;
    padding-right: max(28px, calc((100vw - 1200px) / 2 + 28px)) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: none;
    transition: transform 0.2s ease, filter 0.2s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.home .tgs-home-card:hover {
    transform: none;
    filter: none;
}

.home .tgs-home-card--guide,
.home .tgs-home-card--activities,
.home .tgs-home-card--join {
    transition: background 0.28s ease;
}

.home .tgs-home-card--guide h3,
.home .tgs-home-card--guide p,
.home .tgs-home-card--activities h3,
.home .tgs-home-card--activities p,
.home .tgs-home-card--join h3,
.home .tgs-home-card--join p {
    transition: text-shadow 0.28s ease, color 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

.home .tgs-home-card--guide:hover h3,
.home .tgs-home-card--guide:hover p,
.home .tgs-home-card--activities:hover h3,
.home .tgs-home-card--activities:hover p,
.home .tgs-home-card--join:hover h3,
.home .tgs-home-card--join:hover p {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
    color: #1f1f1d;
    transform: translateX(3px);
}

.home .tgs-home-card h3 {
    font-size: clamp(2.6rem, 2.1rem + 0.7vw, 3.3rem) !important;
    margin-bottom: 14px;
    text-align: left !important;
    line-height: 1.2;
    padding-left: 22px;
    border-bottom: 0 !important;
    background: none !important;
    box-shadow: none !important;
    position: relative;
}

.home .tgs-home-card h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.08em;
    width: 5pt;
    height: 1.05em;
    background: #4f81c7;
}

.home .tgs-home-card h3::after {
    content: none !important;
    display: none !important;
}

.home .tgs-home-card a {
    color: #2b2a28;
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
}

.home .tgs-home-card p {
    color: rgba(43, 42, 40, 0.8);
    margin: 0;
    text-align: left !important;
    font-size: 1.55rem !important;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.home .tgs-home-card--news {
    background: linear-gradient(135deg, #dbe6ef 0%, #cfdde8 100%);
}

.home .tgs-home-card--guide {
    background: #f7f7f7;
}

.home .tgs-home-card--activities {
    background: #ffffff;
    padding-left: max(420px, calc((100vw - 1200px) / 2 + 420px)) !important;
    padding-right: max(200px, calc((100vw - 1200px) / 2 + 200px)) !important;
}

.home .tgs-home-card--activities h3,
.home .tgs-home-card--activities p {
    max-width: min(28vw, 360px);
    margin-left: auto !important;
    margin-right: 0;
    position: relative;
    z-index: 1;
}

.home .tgs-home-card--activities::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 240px;
    right: auto;
    transform: translateY(-50%);
    width: min(20vw, 250px);
    aspect-ratio: 1398 / 1611;
    background: url("./assets/activities-hero.png") center center / contain no-repeat;
    z-index: 0;
}

.home .tgs-home-card--join {
    background: #f7f7f7;
}

.home .tgs-home-card--join h3,
.home .tgs-home-card--join p {
    max-width: min(46vw, 520px);
}

.home .tgs-home-card--join::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 250px;
    transform: translateY(-50%);
    width: min(26vw, 360px);
    aspect-ratio: 2122 / 1612;
    background: url("./assets/join-hero.png") center center / contain no-repeat;
    z-index: 0;
}

.home .tgs-home-card--contact {
    background: #ffffff;
    align-items: center;
    text-align: center;
    padding-left: max(100px, calc((100vw - 1200px) / 2 + 100px)) !important;
    padding-right: max(100px, calc((100vw - 1200px) / 2 + 100px)) !important;
}

.home .tgs-home-card--contact h3,
.home .tgs-home-card--contact p {
    margin-left: 0;
    margin-right: 0;
    text-align: center !important;
}

.home .tgs-home-card--contact h3 {
    width: min(100%, 500px);
    margin-top: 50px;
    padding-left: 0;
    position: relative;
    z-index: 2;
}

.home .tgs-home-card--contact h3::before {
    content: none !important;
}

.home .tgs-home-card--contact h3 a {
    display: block;
    width: 100% !important;
    padding: 28px 24px !important;
    border-radius: 22px !important;
    background: linear-gradient(120deg, #39a9da 0%, #1f5f9b 48%, #a8d929 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-align: center !important;
    box-shadow: 0 10px 24px rgba(31, 95, 155, 0.16) !important;
    line-height: 1.2 !important;
    position: relative;
    z-index: 2;
    opacity: 1 !important;
}

.home .tgs-home-card--contact h3 a:hover {
    background: linear-gradient(120deg, #4ab7e6 0%, #2d73b3 48%, #b7e23a 100%) !important;
    color: #ffffff !important;
}

.home .tgs-home-card--contact p {
    max-width: 500px;
    margin-top: 15px;
    font-size: 1.21rem !important;
    line-height: 1.45;
}

.home .tgs-home-card--guide h3,
.home .tgs-home-card--guide p,
.home .tgs-home-card--activities h3,
.home .tgs-home-card--activities p,
.home .tgs-home-card--join h3,
.home .tgs-home-card--join p {
    max-width: min(46vw, 520px);
    margin-left: -100px;
}

.home .tgs-home-card--guide::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 250px;
    transform: translateY(-50%);
    width: min(30vw, 430px);
    aspect-ratio: 2607 / 1463;
    border-radius: 12px;
    background: #f3f0e7 url("../../uploads/2026/04/guide-hero.png") center center / cover no-repeat;
    box-shadow: 0 6px 18px rgba(24, 48, 46, 0.08);
    z-index: 0;
}

.home .tgs-home-card::after {
    content: "";
    position: absolute;
    inset: auto -40px -40px auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
}

.home .tgs-home-card .wp-block-heading,
.home .tgs-home-card p {
    position: relative;
    z-index: 1;
}

.home .tgs-updates-section {
    background: #f7f7f7;
    width: 100vw;
    max-width: 100vw;
    padding: 14px 40px 34px;
    border: none;
    border-top: 0 !important;
    backdrop-filter: none;
    box-shadow: none;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    overflow: hidden;
    box-sizing: border-box;
}

.home .tgs-updates-section > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.home .tgs-updates-section .wp-block-latest-posts {
    margin-bottom: 0;
    margin-top: 0;
}

.home .tgs-updates-section .wp-block-latest-posts.columns-2 {
    display: block;
}

.home .tgs-updates-section .wp-block-latest-posts li {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.home .tgs-updates-section h2.wp-block-heading {
    margin-bottom: 18px;
    font-size: clamp(2.24rem, 1.82rem + 0.58vw, 2.94rem) !important;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
    border-top: 0 !important;
    border-bottom: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.home .tgs-updates-section h2.wp-block-heading::before,
.home .tgs-updates-section h2.wp-block-heading::after {
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.home .tgs-updates-section h2.wp-block-heading::before {
    content: none !important;
}

.home .tgs-updates-section h2.wp-block-heading::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    margin: 12px auto 0;
    background: #4f81c7;
}

.home .tgs-updates-section::before {
    content: none !important;
}

.home .tgs-updates-section,
.home .tgs-updates-section.wp-block-group,
.home .tgs-updates-section.is-layout-constrained {
    background: #f7f7f7 !important;
    width: 100vw;
    max-width: 100vw;
    background-image: none !important;
    box-shadow: none !important;
}

.home .tgs-updates-shortcode-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    align-items: start;
    gap: 22px;
    margin: 0;
    width: 100%;
    max-width: 1200px;
}

.home .tgs-update-card {
    border: 1px solid #d9e4e4;
    background: #ffffff;
    overflow: hidden;
    border-radius: 5pt !important;
    box-shadow: 0 10px 24px rgba(24, 48, 46, 0.06);
    height: 100%;
}

.home .tgs-update-card__thumb {
    display: block;
    margin: 0 0 12px;
    padding-top: 0;
    border-radius: 5pt 5pt 0 0 !important;
    overflow: hidden;
}

.home .tgs-update-card__thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 0;
    object-fit: cover;
    border-radius: 5pt 5pt 0 0 !important;
}

.home .tgs-update-card__title,
.home .tgs-update-card__date {
    padding-left: 18px;
    padding-right: 18px;
}

.home .tgs-update-card__title {
    font-size: 1.02rem;
    line-height: 1.45;
    margin: 0 0 8px;
}

.home .tgs-update-card__title a {
    color: #243330;
    text-decoration: none;
}

.home .tgs-update-card__date {
    display: block;
    padding-bottom: 14px;
    color: #6b7674;
    font-size: 0.88rem;
}

.home .tgs-updates-more-wrap {
    margin-top: 22px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.home .tgs-updates-more-link {
    display: inline-block;
    background: #243330;
    color: #ffffff;
    padding: 12px 22px;
    text-decoration: none;
}

.home .tgs-greeting-section {
    background: #ffffff;
    padding: 8px 20px 8px;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.home .tgs-greeting-section h2.wp-block-heading {
    margin-bottom: 16px;
    font-size: clamp(2.24rem, 1.82rem + 0.58vw, 2.94rem) !important;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
    border-top: 0 !important;
    border-bottom: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.home .tgs-greeting-section h2.wp-block-heading::before,
.home .tgs-greeting-section h2.wp-block-heading::after {
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.home .tgs-greeting-section h2.wp-block-heading::before {
    content: none !important;
}

.home .tgs-greeting-section h2.wp-block-heading::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    margin: 12px auto 0;
    background: #4f81c7;
}

.home .tgs-greeting-layout {
    width: calc(100% - 200px) !important;
    max-width: calc(100% - 200px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 58px;
    align-items: flex-start !important;
}

.home .tgs-greeting-layout__media img {
    display: block;
    width: 100%;
    height: auto;
}

.home .tgs-greeting-media__caption {
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #243330;
    text-align: center;
}

.home .tgs-greeting-layout__content {
    padding-top: 8px;
}

.home .tgs-greeting-layout__content p {
    margin-top: 0;
    line-height: 1.8;
    font-size: 1.15rem;
}

@media (max-width: 768px) {
    .home .wp-block-cover.alignfull {
        min-height: 0;
    }

    .home .wp-block-group.is-layout-constrained {
        margin-top: -20px;
    }

    .home .tgs-home-card {
        min-height: 120px;
    }

    .home .tgs-home-card {
        min-height: 350px;
        padding-top: 34px !important;
        padding-bottom: 20px !important;
        padding-left: max(60px, calc((100vw - 960px) / 2 + 60px)) !important;
        padding-right: max(18px, calc((100vw - 960px) / 2 + 18px)) !important;
    }

    .home .tgs-home-card--guide {
        background: #f7f7f7;
    }

    .home .tgs-home-card--guide h3,
    .home .tgs-home-card--guide p,
    .home .tgs-home-card--activities h3,
    .home .tgs-home-card--activities p,
    .home .tgs-home-card--join h3,
    .home .tgs-home-card--join p {
        max-width: min(52vw, 420px);
        margin-left: -100px;
    }

    .home .tgs-home-card--guide::before {
        right: 32px;
        width: min(34vw, 300px);
    }

    .home .tgs-home-card--activities h3,
    .home .tgs-home-card--activities p {
        max-width: min(30vw, 280px);
        margin-left: auto !important;
        margin-right: 0;
    }

    .home .tgs-home-card--activities::before {
        left: 156px;
        right: auto;
        width: min(22vw, 180px);
    }

    .home .tgs-home-card--activities {
        padding-left: max(220px, calc((100vw - 960px) / 2 + 220px)) !important;
        padding-right: max(140px, calc((100vw - 960px) / 2 + 140px)) !important;
    }

    .home .tgs-home-card--join h3,
    .home .tgs-home-card--join p {
        max-width: min(52vw, 420px);
    }

    .home .tgs-home-card--join::before {
        right: 32px;
        width: min(28vw, 240px);
    }

    .home .tgs-home-card--contact {
        padding-left: max(60px, calc((100vw - 960px) / 2 + 60px)) !important;
        padding-right: max(60px, calc((100vw - 960px) / 2 + 60px)) !important;
    }

    .home .tgs-home-card--contact h3 a {
        padding: 28px 24px;
        border-radius: 18px;
    }

    .home .tgs-home-card h3 {
        font-size: 2.4rem !important;
    }

    .home .tgs-home-card p {
        font-size: 1.35rem !important;
    }

    .home .tgs-updates-shortcode-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .home .tgs-home-card {
        min-height: 272px;
        padding-top: 28px !important;
        padding-bottom: 24px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .home .tgs-home-card h3 {
        font-size: 2.15rem !important;
        padding-left: 18px;
        margin-bottom: 10px;
    }

    .home .tgs-home-card p {
        font-size: 1.08rem !important;
        line-height: 1.45;
    }

    .home .tgs-home-card--guide {
        background: #f7f7f7;
    }

    .home .tgs-home-card--guide h3,
    .home .tgs-home-card--guide p,
    .home .tgs-home-card--activities h3,
    .home .tgs-home-card--activities p,
    .home .tgs-home-card--join h3,
    .home .tgs-home-card--join p {
        max-width: calc(100% - 176px);
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .home .tgs-home-card--guide::before {
        right: 18px;
        top: 50%;
        bottom: auto;
        left: auto;
        transform: translateY(-50%);
        width: 158px;
    }

    .home .tgs-home-card--activities h3,
    .home .tgs-home-card--activities p {
        max-width: calc(100% - 176px);
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .home .tgs-home-card--activities::before {
        right: 18px;
        left: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        width: 152px;
    }

    .home .tgs-home-card--activities {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .home .tgs-home-card--join h3,
    .home .tgs-home-card--join p {
        max-width: calc(100% - 176px);
    }

    .home .tgs-home-card--join::before {
        right: 18px;
        top: 50%;
        bottom: auto;
        left: auto;
        transform: translateY(-50%);
        width: 158px;
    }

    .home .tgs-home-card--contact {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .home .tgs-home-card--contact h3 a {
        padding: 22px 18px;
        border-radius: 16px;
    }
}

@media (max-width: 768px) {
    .home .tgs-updates-shortcode-grid {
        grid-template-columns: 1fr !important;
    }

    .home .tgs-greeting-section {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0;
        margin-right: 0;
    }

    .home .tgs-greeting-layout {
        width: 100% !important;
        max-width: 100% !important;
        gap: 18px;
    }

    .home .tgs-greeting-layout__content {
        padding-top: 0;
    }

    .page-id-7 .tgs-guide-card {
        min-height: auto;
        padding: 22px 48px !important;
    }

    .page-id-7 .tgs-guide-hero {
        gap: 24px;
    }

    .page-id-6 .tgs-activities-layout {
        flex-wrap: wrap;
        gap: 26px;
    }

    .page-id-6 .tgs-activities-layout__main,
    .page-id-6 .tgs-activities-layout__sidebar {
        flex-basis: 100% !important;
    }

    .page-id-6 .tgs-activity-archives {
        position: static;
        padding: 24px 20px;
    }

    .page-id-10 .tgs-director-page {
        min-height: auto;
        padding-right: 0;
        padding-bottom: 32px;
    }

    .page-id-10 .tgs-director-page__profile {
        position: static;
        right: auto;
        bottom: auto;
        transform: none;
        width: min(46.4vw, 224px);
        margin: 28px auto 0;
        text-align: center !important;
    }

    .page-id-10 .tgs-director-page p,
    .page-id-10 .tgs-director-page h3 {
        max-width: 100%;
    }
}
