:root {
	--atis-blue: #0b4f8a;
	--atis-blue-dark: #082f55;
	--atis-orange: #f15a29;
	--atis-ink: #172033;
	--atis-muted: #5f6978;
	--atis-line: #dfe4ea;
	--atis-soft: #f5f7fa;
	--atis-shell: 1180px;
	--atis-radius: 12px;
}

.atis-shell { width: min(var(--atis-shell), calc(100% - 40px)); margin-inline: auto; }
.atis-kicker { margin: 0 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.atis-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 1px solid var(--atis-blue); border-radius: 999px; background: var(--atis-blue); color: #fff !important; font-weight: 700; text-decoration: none !important; transition: .18s ease; }
.atis-button:hover { background: var(--atis-blue-dark); border-color: var(--atis-blue-dark); }
.atis-button--secondary { background: transparent; color: var(--atis-blue) !important; }
.atis-button--light { border-color: #fff; background: #fff; color: var(--atis-blue-dark) !important; }
.atis-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.atis-text-link { font-weight: 700; text-decoration: none; }

/* Site header: keep the lockup and navigation on one intentional row. */
.site-header .inside-header { align-items: center; gap: clamp(20px, 3vw, 44px); }
.site-header .site-logo { flex: 0 1 auto; min-width: 0; }
.site-header .site-logo img { width: min(420px, 100%); height: auto; }
.site-header #site-navigation { flex: 0 1 auto; margin-left: auto; min-width: 0; }
.site-header #site-navigation .main-nav > ul { display: flex; flex-wrap: nowrap; }
.site-header #site-navigation .main-nav > ul > li > a { white-space: nowrap; }

/* Homepage hero and meeting overview */
.home .entry-content > .wp-block-cover:first-child { min-height: clamp(360px, 42vw, 480px) !important; padding-block: clamp(32px, 5vw, 64px) !important; }
.home .entry-content > .wp-block-cover:first-child .wp-block-spacer { display: none; }
.home .site-main { margin-top: 0; }
.home .inside-article { padding-top: clamp(16px, 2vw, 24px); }
/* The editor's inline 6rem heading size needs an explicit responsive override. */
.home .entry-content > .wp-block-cover:first-child .wp-block-heading { font-size: clamp(2.5rem, 9vw, 6rem) !important; }
.home .entry-content > .wp-block-heading ~ .wp-block-paragraph { max-width: none; }
.atis-homepage-meetings { display: grid; width: 100%; min-width: 0; max-width: 100%; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); align-items: start; gap: clamp(32px, 5vw, 64px); }
.atis-homepage-meetings__next, .atis-homepage-meetings__upcoming { min-width: 0; }
.atis-homepage-meetings__next > h2, .atis-homepage-meetings__upcoming > h2 { margin-top: 0; }
.atis-homepage-meetings .atis-next-meeting { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); }
.atis-homepage-meetings .atis-next-meeting__media { min-height: 0; aspect-ratio: auto; }
.atis-homepage-meetings .atis-next-meeting__body { padding: 22px; }
.atis-homepage-meetings .atis-next-meeting__body h3 { font-size: clamp(1.65rem, 2.25vw, 2.25rem); line-height: 1.12; }
.atis-homepage-meetings .atis-next-meeting__body .atis-actions { margin-top: 20px; }

/* Homepage: next meeting */
.atis-next-meeting { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); overflow: hidden; border: 1px solid var(--atis-line); border-radius: var(--atis-radius); background: #fff; box-shadow: 0 14px 36px rgba(20,36,58,.08); }
.atis-next-meeting__media { min-height: 380px; background: var(--atis-blue-dark); background-position: center; background-size: cover; }
.atis-next-meeting__body { padding: clamp(28px, 5vw, 56px); align-self: center; }
.atis-next-meeting__body h2, .atis-next-meeting__body h3 { margin: 0 0 12px; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.03; }
.atis-next-meeting__body h2 a, .atis-next-meeting__body h3 a { color: var(--atis-ink); text-decoration: none; }
.atis-next-meeting__date { margin: 0 0 8px; color: var(--atis-blue); font-size: 1.15rem; font-weight: 800; }
.atis-next-meeting__place { color: var(--atis-muted); }

/* Homepage: upcoming meeting cards */
.atis-meeting-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.atis-meeting-card { overflow: hidden; border: 1px solid var(--atis-line); border-radius: var(--atis-radius); background: #fff; }
.atis-meeting-card__image { display: block; aspect-ratio: 16/9; background: var(--atis-blue-dark); background-position: center; background-size: cover; }
.atis-meeting-card__body { padding: 22px; }
.atis-meeting-card__date { margin: 0 0 8px; color: var(--atis-blue); font-size: .85rem; font-weight: 800; text-transform: uppercase; }
.atis-meeting-card h3 { margin: 0 0 6px; font-size: 1.35rem; }
.atis-meeting-card h3 a { color: var(--atis-ink); text-decoration: none; }
.atis-meeting-grid--stacked { grid-template-columns: 1fr; gap: 16px; }
.atis-meeting-grid--stacked .atis-meeting-card { display: grid; grid-template-columns: minmax(104px, 34%) 1fr; }
.atis-meeting-grid--stacked .atis-meeting-card__image { min-height: 100%; aspect-ratio: auto; }
.atis-meeting-grid--stacked .atis-meeting-card__body { padding: 16px; }
.atis-meeting-grid--stacked .atis-meeting-card__date { margin-bottom: 4px; }
.atis-meeting-grid--stacked .atis-meeting-card h3 { font-size: 1.14rem; line-height: 1.2; }
.atis-meeting-grid--stacked .atis-meeting-card p { margin: 0 0 10px; }
.atis-past-meetings { border-top: 1px solid var(--atis-line); }
.atis-past-meeting { display: flex; justify-content: space-between; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--atis-line); color: var(--atis-ink); text-decoration: none; }
.atis-empty-state { padding: 24px; border: 1px dashed var(--atis-line); border-radius: var(--atis-radius); background: var(--atis-soft); }

/* Single event */
.atis-3gpp-single-event #page { max-width: none; }
.atis-3gpp-single-event .site-content { width: 100%; max-width: none; padding: 0; }
.atis-3gpp-single-event .content-area { width: 100%; }
.atis-event-page { width: 100%; }
.atis-event-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(430px, 42vw, 500px); background: var(--atis-blue-dark); color: #fff; background-image: var(--atis-hero-image); background-position: center; background-size: cover; }
.atis-event-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,26,48,.2), rgba(7,26,48,.88)); }
.atis-event-hero__content { padding-block: clamp(80px, 12vw, 150px) clamp(48px, 7vw, 80px); }
.atis-event-hero h1 { max-width: 900px; margin: 0 0 18px; color: #fff; font-size: clamp(2.5rem, 6vw, 5rem); line-height: .98; letter-spacing: -.035em; }
.atis-event-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 26px; font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 650; }
.atis-event-hero__meta span { position: relative; }
.atis-event-hero__meta span + span::before { content: '•'; position: absolute; left: -17px; opacity: .7; }
.atis-notice { margin-top: 28px; padding: 18px 20px; border-left: 5px solid var(--atis-orange); border-radius: 6px; background: #fff5ef; }
.atis-event-nav { position: sticky; top: 0; z-index: 20; margin-top: 28px; border-block: 1px solid var(--atis-line); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.admin-bar .atis-event-nav { top: 32px; }
.atis-event-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.atis-event-nav__sections, .atis-event-nav__tabs, .atis-event-nav__resources { display: flex; gap: 4px 24px; }
.atis-event-nav__sections, .atis-event-nav__resources { overflow-x: auto; scrollbar-width: thin; }
.atis-event-nav__sections { min-width: 0; }
.atis-event-nav__tabs { flex: 0 0 auto; }
.atis-event-nav a { flex: 0 0 auto; color: var(--atis-ink); font-size: .92rem; font-weight: 750; text-decoration: none; }
.atis-event-nav__sections a[aria-selected="true"] { color: var(--atis-blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
.atis-event-nav__resources { padding-left: 24px; border-left: 1px solid var(--atis-line); }
.atis-event-nav__resources a::after, .atis-event-nav__local-guide::after { content: '↗'; margin-left: 5px; font-size: .8em; }
.atis-event-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 80px); padding-block: clamp(52px, 7vw, 84px); }
.atis-event-content { min-width: 0; font-size: 1.06rem; line-height: 1.75; }
.atis-event-content > :first-child { margin-top: 0; }
.atis-event-content h2 { scroll-margin-top: 95px; margin-top: 2.6em; padding-top: .2em; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.atis-event-content h3 { margin-top: 2em; }
.atis-event-panel > :first-child { margin-top: 0; }
.atis-event-panel__heading { color: var(--atis-ink); font-family: inherit; font-size: clamp(1.8rem, 3vw, 2.6rem) !important; font-style: normal; font-weight: 400; letter-spacing: normal; line-height: 1.2; text-transform: none; }
.atis-event-panel__heading > * { color: inherit !important; font: inherit !important; letter-spacing: inherit !important; text-transform: inherit !important; }
.atis-event-panel[hidden] { display: none !important; }
.atis-related-meetings { margin-top: 0; }
.atis-related-meetings h2 { margin-top: 0; }
.atis-related-meetings__body { max-width: 760px; }
.atis-related-meetings__body > :first-child { margin-top: 0; }
.atis-related-meetings__intro { margin-bottom: 8px; }
.atis-related-meetings__count { margin: 0; color: var(--atis-muted); font-size: .92rem; font-weight: 700; }
.atis-related-meetings__list { margin: 18px 0; padding: 0; list-style: none; border-top: 1px solid var(--atis-line); }
.atis-related-meetings__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; padding: 13px 0; border-bottom: 1px solid var(--atis-line); }
.atis-related-meetings__list a { color: var(--atis-blue-dark); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.atis-related-meetings__date { flex: 0 0 auto; color: var(--atis-muted); font-size: .88rem; white-space: nowrap; }
.atis-related-meetings__empty, .atis-related-meetings__source { color: var(--atis-muted); font-size: .92rem; }
.atis-related-meetings__source { margin-bottom: 0; }
.atis-venue { max-width: 760px; }
.atis-venue > :first-child { margin-top: 0; }
.atis-venue__name { margin-bottom: 6px; font-size: 1.35rem; }
.atis-venue__address { margin: 0 0 20px; color: var(--atis-muted); }
.atis-venue__description > :first-child { margin-top: 0; }
.atis-venue__description > :last-child { margin-bottom: 0; }
.atis-venue__website { margin-top: 20px; }
.atis-hotels { margin-top: 1.5rem; }
.atis-hotels__intro { max-width: 760px; margin-top: 0; }
.atis-hotels__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.atis-hotel { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--atis-line); border-radius: var(--atis-radius); background: #fff; }
.atis-hotel--sold_out { background: #fafafa; opacity: .72; }
.atis-hotel__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.atis-hotel h3 { margin: 0; font-size: 1.35rem; }
.atis-hotel__availability { margin: 5px 0 0; color: var(--atis-muted); font-size: .92rem; font-weight: 700; }
.atis-hotel__status { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; background: #e8f4ea; color: #216b34; font-size: .74rem; font-weight: 800; line-height: 1.2; text-align: center; text-transform: uppercase; }
.atis-hotel--limited .atis-hotel__status { background: #fff2d9; color: #855700; }
.atis-hotel--sold_out .atis-hotel__status { background: #eceff3; color: var(--atis-muted); }
.atis-hotel__address { margin: 0 0 16px; color: var(--atis-muted); font-size: .95rem; font-style: normal; line-height: 1.5; }
.atis-hotel__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--atis-line); }
.atis-hotel__facts > div { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--atis-line); }
.atis-hotel__facts dt { color: var(--atis-muted); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.atis-hotel__facts dd { margin: 3px 0 0; font-size: .92rem; line-height: 1.4; }
.atis-hotel__notes { margin: 16px 0 0; color: var(--atis-muted); font-size: .92rem; line-height: 1.5; }
.atis-hotel__book { align-self: flex-start; margin-top: 20px; }
.atis-event-sidebar { align-self: start; }
.atis-event-facts { position: sticky; top: 80px; padding: 26px; border: 1px solid var(--atis-line); border-radius: var(--atis-radius); background: var(--atis-soft); }
.admin-bar .atis-event-facts { top: 112px; }
.atis-event-facts h2 { margin: 0 0 18px; font-size: 1.35rem; }
.atis-event-facts dl { margin: 0; }
.atis-event-facts dl > div { padding: 13px 0; border-top: 1px solid var(--atis-line); }
.atis-event-facts dt { color: var(--atis-muted); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.atis-event-facts dd { margin: 3px 0 0; }
.atis-sidebar-actions { display: grid; gap: 14px; margin-top: 22px; }
.atis-event-map { padding-bottom: 70px; }
.atis-event-panel .atis-event-map { width: auto; margin: 2.2rem 0 0; padding-bottom: 0; }
.atis-event-map iframe { width: 100% !important; max-width: none !important; min-height: 440px; border: 0; border-radius: var(--atis-radius); }
.atis-back-to-calendar { padding-bottom: 70px; }
.atis-back-to-calendar a { font-weight: 750; text-decoration: none; }

@media (max-width: 900px) {
	.site-header .inside-header { gap: 16px; }
	.site-header .site-logo img { width: clamp(250px, 32vw, 360px); }
	.site-header #site-navigation .main-nav > ul > li > a { padding-right: 10px; padding-left: 10px; }
	.atis-next-meeting { grid-template-columns: 1fr; }
	.atis-next-meeting__media { min-height: 300px; }
	.atis-homepage-meetings .atis-next-meeting { grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); }
	.atis-meeting-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.atis-homepage-meetings { grid-template-columns: 1fr; }
	.atis-event-layout { grid-template-columns: 1fr; }
	.atis-event-facts { position: static; }
	.atis-hotels__grid { grid-template-columns: 1fr; }
}

/* Keep the homepage statement prominent without letting it dominate tablet screens. */
@media (min-width: 769px) and (max-width: 1100px) {
	.home .entry-content > .wp-block-cover:first-child .wp-block-heading { font-size: clamp(3.5rem, 7vw, 4.5rem) !important; line-height: 1.02; }
}

@media (max-width: 768px) {
	.top-bar .inside-top-bar { min-height: 44px; }
	.top-bar .widget { padding-block: 0; }
	.top-bar .menu { display: flex; align-items: center; }
	.top-bar .menu a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 10px; }
	.site-header.has-inline-mobile-toggle .inside-header { flex-wrap: wrap; padding-block: 16px; }
	.site-header.has-inline-mobile-toggle .site-logo { flex: 0 1 auto; max-width: calc(100% - 70px); }
	.site-header .site-logo img { width: clamp(205px, 58vw, 240px); }
	.site-header.has-inline-mobile-toggle #mobile-menu-control-wrapper { flex: 0 0 55px; width: 55px; margin-left: auto; }
	.site-header.has-inline-mobile-toggle #site-navigation { display: none; flex: 0 0 100%; width: 100%; margin-left: 0; }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled { display: block; }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled .main-nav > ul { display: block; }
	.home .entry-content > .wp-block-cover:first-child .wp-block-heading,
	.home .entry-content > .wp-block-cover:first-child .wp-block-paragraph { max-width: 100%; margin-right: 0; }
}

@media (max-width: 600px) {
	.atis-shell { width: min(var(--atis-shell), calc(100% - 28px)); }
	.atis-meeting-grid { grid-template-columns: 1fr; }
	.atis-homepage-meetings .atis-next-meeting { grid-template-columns: 1fr; }
	.atis-homepage-meetings .atis-next-meeting__media { min-height: 0; aspect-ratio: 16/9; }
	.atis-meeting-grid--stacked .atis-meeting-card { grid-template-columns: 1fr; }
	.atis-meeting-grid--stacked .atis-meeting-card__image { min-height: 0; aspect-ratio: 16/8; }
	.atis-event-hero { min-height: 440px; }
	.atis-event-hero__meta { display: grid; gap: 5px; }
	.atis-event-hero__meta span + span::before { content: none; }
	.atis-event-nav { position: relative; }
	.atis-event-nav__inner { align-items: stretch; flex-direction: column; gap: 10px; }
	.atis-event-nav__sections, .atis-event-nav__resources { width: 100%; }
	.atis-event-nav__sections { padding-bottom: 4px; scrollbar-color: var(--atis-blue) transparent; }
	.atis-event-nav__resources { padding-left: 0; border-top: 1px solid var(--atis-line); border-left: 0; padding-top: 10px; }
	.atis-related-meetings__list li { align-items: flex-start; flex-direction: column; gap: 4px; }
	.atis-hotel { padding: 18px; }
	.atis-hotel__header { flex-direction: column; gap: 8px; }
	.atis-hotel__facts { grid-template-columns: 1fr; }
}
