/*
 Theme Name:   ntcg
 Description:  Default Theme for New Testament Church of God
 Author:       adxvz
 Version:      3.14
*/

/* =========================================================
   Base Reset
   ========================================================= */

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

:root {
    font-family: "Figtree", sans-serif;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
}

ul, ol {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: inherit;
}

p {
    margin: 0;
}

button {
    cursor: pointer;
    font-family: inherit;
}


/********************************
** Simple Calendar Styling     **
** NTCG Brand Colors:          **
** #d42769 - Pink (Primary)    **
** #30373b - Dark Gray         **
** #a6a6a6 - Medium Gray       **
** #ffffff - White             **
** #60286c - Purple            **
** #0facb2 - Teal              **
** #fe8f11 - Orange            **
** #f7c70c - Gold              **
*********************************/

/* ── Simple Calendar — NTCG Branded ─────────────────────── */

.simcal-calendar {
    font-family: "Figtree", sans-serif;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
}

/* Header: month + nav arrows — thead, so no flex; style child th cells */
.simcal-calendar-head {
    background: #30373b;
    color: #ffffff;
}

.simcal-calendar-head th {
    background: #30373b;
    color: #ffffff;
    padding: 16px 12px;
    text-align: center;
}

.simcal-nav-button {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 999px;
    transition: border-color 0.2s, background 0.2s;
    line-height: 1;
}

.simcal-nav-button:hover {
    border-color: #F7C70C;
    color: #F7C70C;
    background: transparent;
}

.simcal-current {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: uppercase;
}

/* Day-of-week headers */
.simcal-week-days th {
    background: #f6f8fc;
    color: #9ca3af;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 8px;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
}

/* Grid cells */
.simcal-calendar table {
    border-collapse: collapse;
    width: 100%;
}

.simcal-calendar td {
    border: 1px solid #e5e7eb;
    padding: 8px;
    vertical-align: top;
    height: 90px;
    background: #ffffff;
    transition: background 0.15s ease;
}

.simcal-calendar td:hover {
    background: rgba(15, 172, 178, 0.04);
}

/* Day numbers */
.simcal-day-label {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #30373b;
    display: block;
    margin-bottom: 4px;
}

/* Today */
.simcal-today {
    background: rgba(15, 172, 178, 0.06) !important;
    border-color: #0FACB2 !important;
}

.simcal-today .simcal-day-label {
    color: #0FACB2;
    font-weight: 700;
}

/* Days outside month */
.simcal-day-other {
    background: #fafafa;
}

.simcal-day-other .simcal-day-label {
    color: #d1d5db;
    font-weight: 400;
}

/* Events — cycling through brand palette */
.simcal-event {
    background: #D42769;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 7px;
    margin: 2px 0;
    border-radius: 4px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    letter-spacing: 0.2px;
    transition: opacity 0.15s ease;
}

.simcal-event:hover {
    opacity: 0.82;
}

.simcal-event:nth-child(2)  { background: #0FACB2; }
.simcal-event:nth-child(3)  { background: #FE8F11; }
.simcal-event:nth-child(4)  { background: #60286C; }
.simcal-event:nth-child(5)  { background: #F7C70C; color: #30373b; }

/* Tooltip / event popup */
.simcal-tooltip,
.simcal-event-details {
    background: #30373b;
    color: #ffffff;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 0.875rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    border: none;
    font-family: "Figtree", sans-serif;
}

.simcal-tooltip-title,
.simcal-event-title {
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 6px;
    color: #F7C70C;
}

.simcal-tooltip-time,
.simcal-event-time {
    color: #0FACB2;
    font-size: 0.8125rem;
}

.simcal-tooltip-description {
    color: rgba(255, 255, 255, 0.65);
    margin-top: 6px;
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* List view */
.simcal-default-calendar-list { background: transparent; }

.simcal-default-calendar-list .simcal-event {
    background: #ffffff;
    border-left: 3px solid #D42769;
    color: #30373b;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 1px 4px rgba(48, 55, 59, 0.08);
}

.simcal-default-calendar-list .simcal-event:hover {
    background: rgba(212, 39, 105, 0.03);
}

.simcal-default-calendar-list .simcal-event:nth-child(even) {
    border-left-color: #0FACB2;
}

.simcal-default-calendar-list .simcal-event-title {
    font-weight: 600;
    color: #30373b;
    margin-bottom: 4px;
}

.simcal-default-calendar-list .simcal-event-time {
    color: #0FACB2;
    font-size: 0.8125rem;
}

.simcal-default-calendar-list .simcal-event-location {
    color: #9ca3af;
    font-size: 0.75rem;
}

/* Subscribe button */
.calendar-subscribe-btn {
    display: inline-block;
    background: #D42769;
    color: #ffffff !important;
    padding: 11px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease;
}

.calendar-subscribe-btn:hover {
    background: #60286C;
    color: #ffffff !important;
}

/* "Edit Calendar" admin link — hide on frontend */
.simcal-edit-calendar { display: none; }

@media (max-width: 768px) {
    .simcal-calendar td { height: 60px; padding: 4px; }
    .simcal-day-label { font-size: 0.75rem; }
    .simcal-event { font-size: 0.625rem; padding: 2px 4px; }
    .simcal-current { font-size: 0.9rem; }
    .simcal-calendar-head { padding: 14px 16px; }
}

/* =========================================================
   NTCG Front Page (Desktop-first recreation)
   ========================================================= */

.ntcg-frontpage {
    --ntcg-dark: #2f3338;
    --ntcg-light: #ececef;
    --ntcg-text: #ffffff;
    --ntcg-muted: rgba(255, 255, 255, 0.78);
    --ntcg-teal: #1bb7c4;
    --ntcg-yellow: #d9dc45;
}

.ntcg-frontpage__header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
}

.ntcg-frontpage__header-top {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    background: rgba(243, 243, 245, 0.94);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ntcg-frontpage__micro-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ntcg-frontpage__micro-nav a,
.ntcg-frontpage__login {
    font-family: "Figtree", sans-serif;
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #5f646b;
    text-decoration: none;
    font-weight: 700;
}

.ntcg-frontpage__header-main {
    height: 64px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: rgba(97, 97, 100, 0.9);
    backdrop-filter: blur(3px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.ntcg-frontpage__brand {
    justify-self: start;
    margin-left: 30px;
}

.ntcg-frontpage__brand img {
    width: 120px;
    height: auto;
    display: block;
}

.ntcg-frontpage__main-nav,
.ntcg-frontpage__hero-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ntcg-frontpage__main-nav {
    justify-self: center;
}

.ntcg-frontpage__main-nav a,
.ntcg-frontpage__hero-nav a {
    font-family: "Figtree", sans-serif;
    font-size: clamp(16px, 0.9vw, 18px);
    color: var(--ntcg-text);
    text-decoration: none;
    font-weight: 600;
    text-transform: lowercase;
}

.ntcg-frontpage__hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #131a22;
}

.ntcg-frontpage__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ntcg-frontpage__hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(14, 20, 29, 0.72) 0%, rgba(14, 20, 29, 0.76) 100%),
        radial-gradient(circle at 50% 42%, rgba(52, 69, 86, 0.22), rgba(7, 11, 16, 0.56)),
        linear-gradient(90deg, rgba(4, 8, 12, 0.2), rgba(4, 8, 12, 0.2));
}

.ntcg-frontpage__hero-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 84px;
}

.ntcg-frontpage__hero-panel {
    padding: 28px 40px;
    border-radius: 16px;
    background: rgba(9, 14, 21, 0.2);
    backdrop-filter: blur(1px);
}

.ntcg-frontpage__hero-logo {
    width: min(270px, 24vw);
    max-width: 270px;
    margin-bottom: 10px;
}

.ntcg-frontpage__hero-tag {
    margin: 0 0 22px;
    font-family: "Figtree", sans-serif;
    font-size: clamp(34px, 2.1vw, 42px);
    color: var(--ntcg-muted);
    font-weight: 400;
    letter-spacing: 0.2px;
}

.ntcg-frontpage__hero-nav a {
    font-size: clamp(17px, 1vw, 19px);
}

.ntcg-frontpage__content {
    position: relative;
    z-index: 3;
    background: #ffffff;
}

@media (max-width: 1100px) {
    .ntcg-frontpage__header,
    .ntcg-frontpage__hero {
        display: none;
    }

    .ntcg-frontpage__content {
        margin-top: 0;
    }
}

/* =========================================================
   NTCG Home Mirror - Section 1 (Desktop)
   ========================================================= */

.page-template-page-ntcg-home,
.page-template-page-ntcg-home #page-container {
    background: #1a232e;
}

.page-template-page-ntcg-home #main-content .container {
    max-width: none;
    width: 100%;
    padding: 0;
}

.ntcg-homepage {
    --ntcg-ink: #1a212a;
    --ntcg-steel: #8a9098;
    --ntcg-paper: #f3f3f5;
    --ntcg-brand-teal: #0facb2;
    --ntcg-brand-lime: #d4dd44;
    --ntcg-brand-blue: #3a9ecf;
    --ntcg-brand-charcoal: #303943;
    position: relative;
    color: #ffffff;
    font-family: "Figtree", sans-serif;
}

.ntcg-homepage__shellnav {
    display: none !important;
}

.ntcg-homepage__topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 12;
    height: 44px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(16, 23, 32, 0.18);
    backdrop-filter: blur(1.5px);
    border-bottom: 1px solid transparent;
    transition: background 0.28s ease, border-color 0.28s ease;
}

.admin-bar .ntcg-homepage__topbar {
    top: 32px;
}

.ntcg-homepage__primary {
    display: none !important;
}

.admin-bar .ntcg-homepage__primary {
    top: 76px;
}

.ntcg-homepage__primary-spacer {
    justify-self: end;
    width: 160px;
}

.ntcg-homepage__primary-nav {
    justify-self: center;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.ntcg-homepage__primary-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}

.ntcg-homepage__primary-item {
    position: relative;
    padding: 0;
    list-style: none;
}

.ntcg-homepage__primary-item::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 18px;
}

.ntcg-homepage__primary-item > a {
    display: inline-block;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
    text-transform: lowercase;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    padding: 4px 0 6px;
}

.ntcg-homepage__primary-item:hover > a,
.ntcg-homepage__primary-item:focus-within > a {
    color: #d4dd44;
    border-bottom-color: #d4dd44;
}

.ntcg-homepage__primary-logo {
    justify-self: start;
    margin-left: 28px;
}

.ntcg-homepage__primary-logo img {
    width: 126px;
    display: block;
}

.ntcg-homepage .ntcg-homepage__primary-mega {
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    background: #f1f1f1;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.16s ease, visibility 0.16s ease;
}

.ntcg-homepage .ntcg-homepage__primary-item:hover .ntcg-homepage__primary-mega,
.ntcg-homepage .ntcg-homepage__primary-item:focus-within .ntcg-homepage__primary-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.admin-bar .ntcg-homepage .ntcg-homepage__primary-mega {
    top: 152px;
}

.ntcg-homepage__primary-mega-inner {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ntcg-homepage__primary-mega-col {
    display: grid;
    gap: 12px;
    padding: 8px 28px;
}

.ntcg-homepage__primary-mega-col + .ntcg-homepage__primary-mega-col {
    border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.ntcg-homepage__primary-mega-col a {
    display: block;
    text-decoration: none;
    color: #4b5158;
    font-size: 14px;
    line-height: 1.2;
}

.ntcg-homepage__topnav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.ntcg-homepage__topnav a,
.ntcg-homepage__login {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 8px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.ntcg-homepage__topnav a:hover,
.ntcg-homepage__topnav a:focus-visible,
.ntcg-homepage__login:hover,
.ntcg-homepage__login:focus-visible {
    color: rgba(255, 255, 255, 0.95);
}

.ntcg-homepage__login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ntcg-homepage__lock {
    width: 10px;
    height: 8px;
    border: 1.5px solid currentColor;
    border-radius: 2px;
    position: relative;
    display: inline-block;
}

.ntcg-homepage__lock::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -6px;
    width: 7px;
    height: 6px;
    border: 1.5px solid currentColor;
    border-bottom: 0;
    border-radius: 7px 7px 0 0;
}

.ntcg-homepage__topnav a.is-active {
    color: #F7C70C;
}

/* Per-site active link colours */
.ntcg-homepage__topbar[data-active-site="wdm"] .ntcg-homepage__topnav a.is-active {
    color: #D42769;
}

body.ntcg-homepage-topbar-scrolled .ntcg-homepage__topbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.ntcg-homepage-topbar-scrolled .ntcg-homepage__topnav a,
body.ntcg-homepage-topbar-scrolled .ntcg-homepage__login {
    color: #30373b;
}

body.ntcg-homepage-topbar-scrolled .ntcg-homepage__topnav a:hover,
body.ntcg-homepage-topbar-scrolled .ntcg-homepage__topnav a:focus-visible,
body.ntcg-homepage-topbar-scrolled .ntcg-homepage__login:hover,
body.ntcg-homepage-topbar-scrolled .ntcg-homepage__login:focus-visible {
    background: rgba(48, 55, 59, 0.1);
}

body.ntcg-homepage-topbar-scrolled .ntcg-homepage__topnav a.is-active {
    color: #0facb2;
}

body.ntcg-homepage-topbar-scrolled .ntcg-homepage__topbar[data-active-site="wdm"] .ntcg-homepage__topnav a.is-active {
    color: #D42769;
}

.ntcg-homepage__burger {
    display: none;
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 30;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 10px 9px;
}

.admin-bar .ntcg-homepage__burger {
    top: 46px;
}

.ntcg-homepage__burger span {
    display: block;
    height: 2px;
    width: 100%;
    margin: 6px 0;
    background: #ffffff;
}

.ntcg-homepage__mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    background: #1c2024;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Menu header: logo left, close icon right */
.ntcg-homepage__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 20px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

.ntcg-homepage__mobile-brand img {
    height: 28px;
    width: auto;
    display: block;
}

/* X close button */
.ntcg-homepage__mobile-close {
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ntcg-homepage__mobile-close span {
    position: absolute;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
}

.ntcg-homepage__mobile-close span:nth-child(1) {
    transform: rotate(45deg);
}

.ntcg-homepage__mobile-close span:nth-child(2) {
    transform: rotate(-45deg);
}

/* Primary nav */
.ntcg-homepage__mobile-nav {
    flex: 1;
    padding: 8px 20px 24px;
    display: flex;
    flex-direction: column;
}

.ntcg-homepage__mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: #ffffff;
    text-decoration: none;
    font-family: "League Spartan", "Figtree", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ntcg-homepage__mobile-nav-link--login {
    margin-top: 12px;
    padding: 14px 0;
    background: #f7c70c;
    color: #111a25;
    border-bottom: none;
    border-radius: 6px;
    justify-content: center;
}

.ntcg-homepage__mobile-chevron {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.4);
}

/* Network links at bottom */
.ntcg-homepage__mobile-network {
    padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 8px;
    flex-shrink: 0;
}

.ntcg-homepage__mobile-network a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.ntcg-homepage__hero {
    position: relative;
    min-height: 100vh;
    overflow: visible;
    background: #111a25;
}

.admin-bar .ntcg-homepage__hero {
    min-height: calc(100vh - 32px);
}

.ntcg-homepage__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.82) hue-rotate(-8deg);
}

.ntcg-homepage__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(48, 55, 59, 0.68) 0%,
        rgba(28, 32, 35, 0.88) 55%,
        rgba(14, 16, 18, 0.98) 100%
    );
}

.ntcg-homepage__overlay--vignette {
    background: linear-gradient(180deg, rgba(48, 55, 59, 0.10) 0%, rgba(20, 24, 27, 0.30) 100%);
}

.ntcg-homepage__center {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 92px 20px 40px;
}

.admin-bar .ntcg-homepage__center {
    min-height: calc(100vh - 32px);
    padding-top: 124px;
}

.ntcg-homepage__logo {
    width: min(300px, 27vw) !important;
    max-width: 300px !important;
    height: auto;
    display: block;
    margin: 0 0 10px;
}

.ntcg-homepage__tagline {
    margin: 0 0 10px;
    font-size: clamp(19px, 1.28vw, 22px);
    font-weight: 300;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.62);
}

/* =========================================================
   Navigation Bar (Hero → Sticky transition)
   ========================================================= */

/* Zero-height sentinel triggers sticky mode when it reaches the topbar */
.ntcg-homepage__nav-sentinel {
    height: 0;
    width: 100%;
}

/* Hero mode: in normal flow, transparent pill inside the hero */
.ntcg-homepage__stickybar {
    position: relative;
    z-index: 4;
    margin-top: 10px;
    background: transparent;
    border-radius: 999px;
}

/* Sticky mode: fixed at top, full-width bar */
.ntcg-homepage__stickybar.is-sticky {
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 13;
    margin: 0;
    background: #30373b;
    border-radius: 0;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

/* Inner pages: always-sticky, light variant */
.ntcg-homepage__stickybar--inner.is-sticky {
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.admin-bar .ntcg-homepage__stickybar.is-sticky {
    top: 76px;
}

/* Inner wrapper */
.ntcg-homepage__stickybar-inner {
    padding: 0 20px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.ntcg-homepage__stickybar.is-sticky .ntcg-homepage__stickybar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: none;
    margin: 0;
    padding: 0 18px;
    height: 80px;
}

/* Brand logo — hidden in hero mode, visible when sticky */
.ntcg-homepage__stickybar-brand {
    display: none;
    flex-shrink: 0;
    align-items: center;
    text-decoration: none;
}

.ntcg-homepage__stickybar.is-sticky .ntcg-homepage__stickybar-brand {
    display: flex;
}

.ntcg-homepage__stickybar-brand img {
    height: 38px;
    width: auto;
    display: block;
}

/* Links container */
.ntcg-homepage__stickybar-links {
    display: flex;
    align-items: center;
}

.ntcg-homepage__stickybar.is-sticky .ntcg-homepage__stickybar-links {
    position: static;
    justify-content: center;
}

/* Individual nav item */
.ntcg-homepage__nav-item {
    position: relative;
}

.ntcg-homepage__nav-item > a {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    text-transform: lowercase;
    transition: color 0.18s ease;
}

/* Dropdown-only trigger — looks identical to nav links but is a button */
.ntcg-homepage__nav-trigger {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    text-transform: lowercase;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.18s ease;
}
.ntcg-homepage__nav-trigger:hover { color: #F7C70C; }
.ntcg-homepage__stickybar.is-sticky .ntcg-homepage__nav-trigger { height: 80px; }
.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-trigger { color: #30373b; }
.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-trigger:hover,
.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-item--has-dd:hover > .ntcg-homepage__nav-trigger { color: #0FACB2; }
/* Homepage only — all has-dd triggers hover yellow */
.ntcg-homepage__stickybar.is-sticky:not(.ntcg-homepage__stickybar--inner) .ntcg-homepage__nav-item--has-dd:hover > .ntcg-homepage__nav-trigger { color: #F7C70C; }
/* Conferences trigger hovers yellow on homepage only */
.ntcg-homepage__stickybar.is-sticky:not(.ntcg-homepage__stickybar--inner) .ntcg-homepage__nav-item--conferences:hover > .ntcg-homepage__nav-trigger { color: #F7C70C; }

/* Disabled nav item — placeholder, not a link */
.ntcg-homepage__nav-item--disabled > span {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    text-transform: lowercase;
    cursor: default;
}
.ntcg-homepage__stickybar.is-sticky .ntcg-homepage__nav-item--disabled > span {
    height: 80px;
    color: rgba(255, 255, 255, 0.3);
}
.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-item--disabled > span {
    color: rgba(48, 55, 59, 0.3);
}

/* Inner pages: dark text */
.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-item > a {
    color: #30373b;
}

/* In sticky mode, extend link height to fill the full bar — eliminates the
   hover gap between the nav item and the dropdown panel below it */
.ntcg-homepage__stickybar.is-sticky .ntcg-homepage__nav-item > a {
    height: 80px;
}

.ntcg-homepage__nav-item > a:hover {
    color: #F7C70C;
}

.ntcg-homepage__stickybar.is-sticky .ntcg-homepage__nav-item > a:hover,
.ntcg-homepage__stickybar.is-sticky .ntcg-homepage__nav-item--has-dd:hover > a {
    color: #F7C70C;
}

.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-item > a:hover,
.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-item--has-dd:hover > a {
    color: #0FACB2;
}

/* Dropdown panel */
.ntcg-homepage__nav-dd {
    display: none;
    position: fixed;
    top: calc(44px + 80px);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 14;
    background: #2c3337;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

/* Inner pages: light dropdown */
.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-dd {
    background: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.admin-bar .ntcg-homepage__nav-dd {
    top: calc(76px + 80px);
}

/* Only show when sticky and parent is hovered/focused, or the dropdown itself is hovered */
.ntcg-homepage__stickybar.is-sticky .ntcg-homepage__nav-item--has-dd:hover .ntcg-homepage__nav-dd,
.ntcg-homepage__stickybar.is-sticky .ntcg-homepage__nav-item--has-dd:focus-within .ntcg-homepage__nav-dd,
.ntcg-homepage__nav-dd:hover {
    display: block;
}

.ntcg-homepage__nav-dd-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 32px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    align-items: start;
}

/* Left: title + links */
.ntcg-homepage__nav-dd-links {
    display: flex;
    flex-direction: column;
    padding-right: 40px;
}

.ntcg-homepage__nav-dd-title {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-dd-title {
    color: #9ca3af;
}

.ntcg-homepage__nav-dd-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ntcg-homepage__nav-dd-links ul li a {
    display: block;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}

.ntcg-homepage__nav-dd-links ul li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-dd-links ul li a {
    color: #374151;
}

.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-dd-links ul li a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #0FACB2;
}

/* Right: promo content */
.ntcg-homepage__nav-dd-promo {
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ntcg-homepage__nav-dd-promo h3 {
    margin: 0;
    font-family: "League Spartan", "Figtree", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}

.ntcg-homepage__nav-dd-promo p {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 15px;
    line-height: 1.6;
    max-width: 560px;
}

.ntcg-homepage__nav-dd-cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 4px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.ntcg-homepage__nav-dd-cta:hover {
    border-color: #F7C70C;
    color: #F7C70C;
}

/* Inner pages: light dropdown promo */
.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-dd-promo {
    border-left-color: #e5e7eb;
}

.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-dd-promo h3 {
    color: #30373b;
}

.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-dd-promo p {
    color: #6b7280;
}

.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-dd-cta {
    border-color: #d1d5db;
    color: #30373b;
}

.ntcg-homepage__stickybar--inner.is-sticky .ntcg-homepage__nav-dd-cta:hover {
    border-color: #0FACB2;
    color: #0FACB2;
}


.ntcg-homepage__mobile-trigger {
    display: none;
    position: fixed;
    top: 6px;
    right: 14px;
    z-index: 42;
    width: 44px;
    height: 44px;
    padding: 12px 11px;
    border: none;
    background: transparent;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
}

.ntcg-homepage__mobile-trigger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transition: transform 0.22s ease, opacity 0.22s ease, width 0.22s ease;
    transform-origin: center;
}

/* Animate to X when menu is open */
body.ntcg-homepage-menu-open .ntcg-homepage__mobile-trigger span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

body.ntcg-homepage-menu-open .ntcg-homepage__mobile-trigger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

body.ntcg-homepage-menu-open .ntcg-homepage__mobile-trigger span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.admin-bar .ntcg-homepage__mobile-trigger {
    top: 38px;
}

.ntcg-homepage__intro {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% -8%, rgba(58, 158, 207, 0.17), rgba(58, 158, 207, 0) 38%),
        radial-gradient(circle at 95% 14%, rgba(15, 172, 178, 0.12), rgba(15, 172, 178, 0) 34%),
        var(--ntcg-paper);
    text-align: center;
    padding: 84px 24px 94px;
}

.ntcg-homepage__intro::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    top: -180px;
    right: -120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
    filter: blur(6px);
}

.ntcg-homepage__intro h2 {
    margin: 0;
    font-family: "League Spartan", "Figtree", sans-serif;
    font-size: clamp(66px, 6vw, 106px);
    line-height: 0.88;
    letter-spacing: 0.4px;
    text-transform: lowercase;
    color: #90959c;
    position: relative;
    z-index: 1;
}

.ntcg-homepage__brand-word {
    color: #4d535b;
}

.ntcg-homepage__dot {
    color: var(--ntcg-brand-teal);
}

.ntcg-homepage__intro-tagline {
    margin: 14px auto 0;
    font-size: clamp(17px, 1.5vw, 24px);
    color: #727983;
    font-weight: 300;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.ntcg-homepage__intro-copy,
.ntcg-homepage__intro-quote {
    margin: 20px auto 0;
    max-width: 980px;
    color: #7a8088;
    font-size: 16px;
    line-height: 1.64;
    position: relative;
    z-index: 1;
}

.ntcg-homepage__intro-quote {
    margin-top: 28px;
    max-width: 860px;
    color: #555d66;
    font-style: italic;
    padding: 18px 22px;
    border-left: 4px solid rgba(15, 172, 178, 0.7);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
}

@media (max-width: 980px) {
    .ntcg-homepage__topbar,
    .ntcg-homepage__hero-navwrap,
    .ntcg-homepage__stickybar {
        display: none !important;
    }

    .ntcg-homepage__mobile-trigger {
        display: flex;
        align-items: center;
    }

    .ntcg-homepage__center {
        padding-top: 86px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .ntcg-homepage__logo {
        width: min(250px, 64vw);
    }

    .ntcg-homepage__tagline {
        font-size: clamp(16px, 4.8vw, 18px);
    }

    .ntcg-homepage__intro {
        padding: 42px 18px 56px;
    }

    .ntcg-homepage__intro h2 {
        font-size: clamp(42px, 12vw, 60px);
    }

    .ntcg-homepage__intro-tagline {
        font-size: clamp(16px, 4.8vw, 18px);
    }

    .ntcg-homepage__intro-copy,
    .ntcg-homepage__intro-quote {
        font-size: 15px;
        line-height: 1.6;
    }

    .ntcg-homepage__intro-quote {
        padding: 14px 14px;
    }
}

/* Mobile/tablet: show trigger, show menu on open */
@media (max-width: 980px) {
    body.ntcg-homepage-menu-open .ntcg-homepage__mobile-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

body.ntcg-homepage-menu-open {
    overflow: hidden;
}

@media (min-width: 981px) {
    .ntcg-homepage__mobile-menu,
    .ntcg-homepage__mobile-trigger {
        display: none !important;
    }
}

.ntcg-homepage__cta {
    text-align: center;
    padding: 54px 24px 60px;
}

.ntcg-homepage__cta--aqua {
    background: linear-gradient(180deg, #32b0bf, #39bdaa);
}

.ntcg-homepage__cta--blue {
    background: #3a9ecf;
    padding: 42px 24px 46px;
}

.ntcg-homepage__cta h3 {
    margin: 0 0 28px;
    font-family: "League Spartan", "Figtree", sans-serif;
    font-size: clamp(52px, 5.1vw, 88px);
    line-height: 0.86;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
}

.ntcg-homepage__cta h3 span {
    color: #d4dd44;
}

.ntcg-homepage__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 28px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.72);
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.ntcg-homepage__btn--solid {
    background: #d4dd44;
    border-color: transparent;
    color: #545c61;
}

.ntcg-homepage__btn--dark {
    color: #777d84;
    border-color: #9ea3a8;
}

.ntcg-homepage__btn:hover,
.ntcg-homepage__btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(24, 30, 38, 0.2);
}

.ntcg-homepage__btn--solid:hover,
.ntcg-homepage__btn--solid:focus-visible {
    background: #e2eb5b;
    color: #3f464d;
}

.ntcg-homepage__content-section {
    background: #f3f3f5;
    text-align: center;
    padding: 72px 24px 84px;
}

.ntcg-homepage__content-section--white {
    background: #ffffff;
}

.ntcg-homepage__content-section h2 {
    margin: 0;
    font-family: "League Spartan", "Figtree", sans-serif;
    font-size: clamp(62px, 4.9vw, 86px);
    line-height: 0.92;
    letter-spacing: 0.2px;
    color: #9ca0a6;
    text-transform: lowercase;
}

.ntcg-homepage__content-section h2 span {
    color: #a6aaaf;
}

.ntcg-homepage__section-copy {
    max-width: 980px;
    margin: 16px auto 0;
    color: #8f949a;
    font-size: 15px;
    line-height: 1.5;
}

.ntcg-homepage__section-copy--wide {
    max-width: 1080px;
}

.ntcg-homepage__grid {
    margin: 52px auto 0;
    display: grid;
    gap: 28px;
    max-width: 1100px;
}

.ntcg-homepage__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
}

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

.ntcg-homepage__feature-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(157, 165, 173, 0.2);
    border-radius: 14px;
    padding: 18px 16px 22px;
    box-shadow: 0 10px 26px rgba(26, 33, 42, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ntcg-homepage__feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(26, 33, 42, 0.11);
}

.ntcg-homepage__placeholder {
    height: 260px;
    border: 2px solid #c8ccd1;
    border-radius: 4px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(243, 246, 249, 0.88)),
        repeating-linear-gradient(
            -45deg,
            rgba(151, 164, 178, 0.12) 0,
            rgba(151, 164, 178, 0.12) 10px,
            rgba(255, 255, 255, 0.14) 10px,
            rgba(255, 255, 255, 0.14) 20px
        );
    color: #aab0b7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.ntcg-homepage__placeholder--tall {
    height: 258px;
    max-width: 290px;
    margin: 0 auto;
}


.ntcg-homepage__feature-card h4 {
    margin: 18px 0 10px;
    font-size: 30px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #0facb2;
    font-family: "League Spartan", "Figtree", sans-serif;
}

.ntcg-homepage__feature-card p {
    margin: 0 auto;
    max-width: 320px;
    color: #8f949a;
    font-size: 16px;
    line-height: 1.45;
}


.ntcg-homepage__content-section--legacy {
    padding-top: 120px;
    background:
        radial-gradient(circle at 10% 0%, rgba(58, 158, 207, 0.08), rgba(58, 158, 207, 0) 28%),
        #f0f2f4;
}

.ntcg-homepage__content-section--legacy .ntcg-homepage__btn {
    margin-top: 28px;
}

.ntcg-homepage__footer {
    background: #303943;
    color: #d2d6db;
    text-align: center;
    padding: 74px 24px 52px;
}

.ntcg-homepage__footer-tagline {
    margin: 0;
    font-family: "League Spartan", "Figtree", sans-serif;
    font-size: clamp(60px, 5.4vw, 94px);
    line-height: 0.9;
    color: #d4dd44;
    letter-spacing: 0.2px;
}

.ntcg-homepage__footer-sub {
    margin: 10px auto 40px;
    max-width: 900px;
    font-size: 17px;
    color: #d9dde2;
}

.ntcg-homepage__footer-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 26px;
    text-align: left;
}

.ntcg-homepage__footer-logo {
    width: 170px;
    margin-bottom: 18px;
}

.ntcg-homepage__footer-col h5 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 22px;
    letter-spacing: 0.4px;
    font-family: "League Spartan", "Figtree", sans-serif;
}

.ntcg-homepage__footer-col p,
.ntcg-homepage__footer-col li {
    margin: 0 0 6px;
    color: #c8ced4;
    font-size: 15px;
    line-height: 1.3;
    list-style: none;
}

.ntcg-homepage__footer-col ul {
    margin: 0;
    padding: 0;
    columns: 1;
}

.ntcg-homepage__btn--footer {
    margin-top: 34px;
}

.ntcg-homepage__copyright,
.ntcg-homepage__crafted {
    margin: 18px 0 0;
    color: #b4bcc5;
    font-size: 13px;
}

/* =========================================================
   Inner pages: always-solid topbar
   ========================================================= */

.ntcg-homepage__topbar--solid {
    background: #30373b;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* =========================================================
   Locations page: fullscreen map below fixed nav
   ========================================================= */

.page-template-page-ntcg-locations,
.page-template-page-ntcg-locations body {
    overflow: hidden;
    height: 100%;
}

.page-template-page-ntcg-locations #main-content,
.page-template-page-ntcg-locations #main-content .container {
    max-width: none;
    width: 100%;
    padding: 0;
}

/* Map fills viewport below the topbar only (no stickybar on this page) */
.ntcg-locations-wrap {
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.admin-bar .ntcg-locations-wrap {
    top: 76px;
}

.ntcg-locations-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Floating pill nav overlay on map */
.ntcg-locations-floatnav {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 4px 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
}

.ntcg-locations-floatnav__link {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 18px;
    color: #30373b;
    font-family: "Figtree", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.18s ease, color 0.18s ease;
}

.ntcg-locations-floatnav__link:hover {
    background: #f3f4f6;
    color: #0FACB2;
}

.ntcg-locations-floatnav__link.is-active {
    background: #0FACB2;
    color: #ffffff;
}

@media (max-width: 1100px) {
    .ntcg-homepage__grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 760px) {
    .ntcg-homepage__grid--2,
    .ntcg-homepage__grid--4 {
        grid-template-columns: 1fr;
    }

    .ntcg-homepage__footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ntcg-homepage__footer-col ul {
        columns: 2;
    }
}

/* =========================================================
   Subscribe page
   ========================================================= */

.ntcg-sub__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 560px;
}

.ntcg-sub__row--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ntcg-sub__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ntcg-sub__field label {
    font-size: 13px;
    font-weight: 600;
    color: #30373b;
    letter-spacing: 0.3px;
}

.ntcg-sub__field input[type="text"],
.ntcg-sub__field input[type="email"] {
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 15px;
    font-family: inherit;
    color: #30373b;
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
    width: 100%;
}

.ntcg-sub__field input:focus {
    border-color: #0FACB2;
    box-shadow: 0 0 0 3px rgba(15,172,178,0.12);
}

.ntcg-sub__lists {
    border: none;
    padding: 0;
    margin: 0;
}

.ntcg-sub__lists legend {
    font-size: 13px;
    font-weight: 600;
    color: #30373b;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
}

.ntcg-sub__lists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.ntcg-sub__check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #30373b;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
}

.ntcg-sub__check:hover {
    border-color: #0FACB2;
    background: rgba(15,172,178,0.04);
}

.ntcg-sub__check input[type="checkbox"] {
    accent-color: #0FACB2;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

.ntcg-sub__check:has(input:checked) {
    border-color: #0FACB2;
    background: rgba(15,172,178,0.07);
}

.ntcg-sub__consent {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 480px;
}

.ntcg-sub__consent a {
    color: #0FACB2;
    text-decoration: none;
}

.ntcg-sub__consent a:hover {
    text-decoration: underline;
}

.ntcg-sub__alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 8px;
    max-width: 560px;
}

.ntcg-sub__alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.ntcg-sub__alert--error a {
    color: #b91c1c;
    font-weight: 600;
}

.ntcg-sub__success-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-width: 480px;
}

.ntcg-sub__success-box h2 {
    font-size: 22px;
    font-weight: 700;
    color: #30373b;
}

.ntcg-sub__success-box p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .ntcg-sub__row--split {
        grid-template-columns: 1fr;
    }

    .ntcg-sub__lists-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   Subscribe modal
   ========================================================= */

.ntcg-sub-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.ntcg-sub-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.ntcg-sub-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 22, 25, 0.6);
    backdrop-filter: blur(3px);
}

.ntcg-sub-modal__box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    transform: translateY(12px);
    transition: transform 0.2s ease;
}

.ntcg-sub-modal.is-open .ntcg-sub-modal__box {
    transform: translateY(0);
}

.ntcg-sub-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.ntcg-sub-modal__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0FACB2;
    margin: 0 0 6px;
}

.ntcg-sub-modal__title {
    font-size: 22px;
    font-weight: 800;
    color: #30373b;
    margin: 0;
    line-height: 1.2;
}

.ntcg-sub-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 4px;
    flex-shrink: 0;
    transition: color 0.15s;
}

.ntcg-sub-modal__close:hover { color: #30373b; }

.ntcg-sub-modal__sub {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 24px;
}

.ntcg-sub-modal__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ntcg-sub-modal__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ntcg-sub-modal__field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ntcg-sub-modal__field label {
    font-size: 12px;
    font-weight: 600;
    color: #30373b;
    letter-spacing: 0.3px;
}

.ntcg-sub-modal__field input[type="text"],
.ntcg-sub-modal__field input[type="email"] {
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 14px;
    font-family: inherit;
    color: #30373b;
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
    width: 100%;
}

.ntcg-sub-modal__field input:focus {
    border-color: #0FACB2;
    box-shadow: 0 0 0 3px rgba(15,172,178,0.12);
}

.ntcg-sub-modal__lists {
    border: none;
    padding: 0;
    margin: 0;
}

.ntcg-sub-modal__lists legend {
    font-size: 12px;
    font-weight: 600;
    color: #30373b;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}

.ntcg-sub-modal__lists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}

.ntcg-sub-modal__check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #30373b;
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}

.ntcg-sub-modal__check:hover {
    border-color: #0FACB2;
    background: rgba(15,172,178,0.04);
}

.ntcg-sub-modal__check:has(input:checked) {
    border-color: #0FACB2;
    background: rgba(15,172,178,0.07);
}

.ntcg-sub-modal__check input[type="checkbox"] {
    accent-color: #0FACB2;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    cursor: pointer;
}

.ntcg-sub-modal__consent {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.6;
}

.ntcg-sub-modal__consent a {
    color: #0FACB2;
    text-decoration: none;
}

.ntcg-sub-modal__consent a:hover { text-decoration: underline; }

.ntcg-sub-modal__submit {
    background: #30373b;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-start;
}

.ntcg-sub-modal__submit:hover:not(:disabled) { background: #1e2427; }
.ntcg-sub-modal__submit:disabled { opacity: 0.6; cursor: not-allowed; }

.ntcg-sub-modal__success {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0 16px;
}

.ntcg-sub-modal__success p {
    font-size: 15px;
    color: #30373b;
    line-height: 1.6;
}

.ntcg-sub-modal__error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 4px;
}

body.ntcg-modal-open { overflow: hidden; }

/* Subscribe strip (newsroom) */
.ntcg-sub-strip {
    background: #30373b;
    border-radius: 12px;
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.ntcg-sub-strip__heading {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 8px 0 10px;
    line-height: 1.2;
}

.ntcg-sub-strip .ntcg-about__eyebrow { color: rgba(255,255,255,0.55); letter-spacing: 2px; }

.ntcg-sub-strip__body {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin: 0;
    max-width: 480px;
}

.ntcg-sub-strip__btn {
    flex-shrink: 0;
    background: #F7C70C !important;
    color: #30373b !important;
}
.ntcg-sub-strip__btn:hover { background: #0FACB2 !important; color: #ffffff !important; }

/* Subscribe page submit — teal, #30373b on hover */
.ntcg-sub__submit { background: #0FACB2 !important; }
.ntcg-sub__submit:hover { background: #30373b !important; }

/* Subscribe page centred body */
.ntcg-sub__page-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px 80px;
}

.ntcg-sub__page-body .ntcg-sub__form,
.ntcg-sub__page-body .ntcg-sub__alert,
.ntcg-sub__page-body .ntcg-sub__success-box {
    width: 100%;
    max-width: 560px;
}

.ntcg-sub__page-body .ntcg-sub__lists-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

/* Subscribe button under Read Now */
.ntcg-magazine__subscribe-btn {
    background: none;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s;
    margin-top: 8px;
    display: inline-block;
    text-decoration: none;
}

.ntcg-magazine__subscribe-btn:hover { color: #0FACB2; }

@media (max-width: 640px) {
    .ntcg-sub-modal__box { padding: 24px 20px; }
    .ntcg-sub-modal__row { grid-template-columns: 1fr; }
    .ntcg-sub-strip { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}

/* ── NTCG Calendar Grid ───────────────────────────────────────────────── */
.ntcg-cal {
    font-family: 'Figtree', sans-serif;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}

.ntcg-cal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #30373b;
    padding: 16px 20px;
}

.ntcg-cal__month-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: uppercase;
}

.ntcg-cal__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    line-height: 1;
}

.ntcg-cal__nav:hover {
    border-color: #F7C70C;
    color: #F7C70C;
}

.ntcg-cal__dow-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f6f8fc;
    border-bottom: 1px solid #e5e7eb;
}

.ntcg-cal__dh {
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9ca3af;
    padding: 10px 8px;
    text-align: center;
    border-right: 1px solid #e5e7eb;
}

.ntcg-cal__dh:last-child {
    border-right: none;
}

.ntcg-cal__weeks {
    display: flex;
    flex-direction: column;
}

.ntcg-cal__week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    position: relative;
    min-height: 90px;
    padding-bottom: calc(var(--slh, 0) * 26px);
}

.ntcg-cal__day {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-top: none;
    padding: 8px;
    vertical-align: top;
    min-height: 90px;
    background: #ffffff;
    transition: background 0.15s ease;
}

.ntcg-cal__day:hover {
    background: rgba(15, 172, 178, 0.04);
}

.ntcg-cal__day--empty {
    background: #fafbfc;
}

.ntcg-cal__day--today {
    background: rgba(15, 172, 178, 0.06);
}

.ntcg-cal__day--today .ntcg-cal__day-num {
    color: #0facb2;
}

.ntcg-cal__day-num {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #30373b;
    display: block;
    margin-bottom: 4px;
}

.ntcg-cal__day-singles {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ntcg-cal__ev {
    display: block;
    width: 100%;
    text-align: left;
    background: #D42769;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.15s;
    line-height: 1.4;
}

.ntcg-cal__ev:hover {
    opacity: 0.85;
}

.ntcg-cal__ev-time {
    font-weight: 400;
    margin-right: 4px;
    opacity: 0.8;
}

/* Multi-day event spans */
.ntcg-cal__spans {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

.ntcg-cal__span {
    position: absolute;
    bottom: calc(var(--ln, 0) * 26px + 4px);
    left: calc((var(--cs, 1) - 1) * (100% / 7) + 4px);
    width: calc(var(--cw, 1) * (100% / 7) - 8px);
    height: 22px;
    background: var(--c, #D42769);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0 8px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    pointer-events: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    line-height: 1;
}

.ntcg-cal__span:hover {
    opacity: 0.85;
}

.ntcg-cal__span--no-l {
    border-radius: 0 4px 4px 0;
    left: calc((var(--cs, 1) - 1) * (100% / 7));
    width: calc(var(--cw, 1) * (100% / 7) - 4px);
}

.ntcg-cal__span--no-r {
    border-radius: 4px 0 0 4px;
    width: calc(var(--cw, 1) * (100% / 7) - 4px);
}

.ntcg-cal__span--no-l.ntcg-cal__span--no-r {
    border-radius: 0;
    left: calc((var(--cs, 1) - 1) * (100% / 7));
    width: calc(var(--cw, 1) * (100% / 7));
}

@media (max-width: 768px) {
    .ntcg-cal__day {
        min-width: 0;
        overflow: hidden;
        min-height: 60px;
        padding: 4px;
    }
    .ntcg-cal__dh {
        font-size: 0.6rem;
        padding: 8px 2px;
    }
    .ntcg-cal__ev {
        font-size: 0.6rem;
        padding: 2px 4px;
    }
}

/* ── Conferences mega-menu: 3-column layout when second links group exists ── */
.ntcg-homepage__nav-item--conferences .ntcg-homepage__nav-dd-inner {
    grid-template-columns: 260px 260px 1fr;
}

.ntcg-homepage__nav-dd-links--second {
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

