/* Thai Gay Community / Independent community journal. */
:root {
  --bg: #fff; --bg-muted: #f7f3f6; --bg-accent: #fdd9ea;
  --text: #251522; --text-muted: #665760; --text-light: #796d76;
  --border: #ded6db; --border-light: #eee7ed; --primary: #bc175d;
  --primary-dark: #981147; --primary-light: #f277aa; --secondary: #251522;
  --secondary-dark: #1a1018; --secondary-light: #493343; --accent: #bc175d;
  --accent-dark: #981147; --accent-hover: #d22271; --accent-soft: #fde4ef;
  --accent-hot: #bc175d; --signal: #dfff73; --signal-dark: #bbdb45;
  --nav-bg: #fff; --ink: #251522; --ink-deep: #1a1018; --paper: #fff;
  --bg-soft: #fde4ef; --grad-hero: none; --grad-main: none; --grad: none;
  --grad-primary: linear-gradient(#bc175d,#bc175d); --radius: 4px; --radius-lg: 8px;
  --radius-xl: 8px; --container: 1280px; --max: 1280px; --header-h: 86px;
  --shadow: none; --shadow-sm: none; --shadow-md: none; --shadow-lg: none;
  --shadow-hover: none; --shadow-glow: none;
}
html { scroll-padding-top: 110px; }
body { background: #fff; color: var(--text); font-size: 16px; line-height: 1.8; }
h1,h2,h3,h4 { line-height: 1.4; letter-spacing: -.025em; color: var(--ink); }
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible { outline: 3px solid #a71863; outline-offset: 5px; }
.container { width: min(100% - 64px,var(--container)); }
.site-header,.site-header.is-scrolled { position: sticky; top: 0; width: 100%; background: #fff; color: #251522; border-bottom: 1px solid #251522; box-shadow: none; backdrop-filter: none; }
.header-mast,.header-mast-inner { background: none; }
.header-mast-inner { min-height: 86px; gap: 24px; padding-block: 14px; }
.brand,.brand:hover,.brand-name { color: #251522; }
.brand-logo-img { width: 43px; height: 43px; border-radius: 0; box-shadow: none; }
.brand-name { font-size: 1.125rem; font-weight: 700; }
.nav-desktop>ul { gap: 6px; }
.nav-desktop>ul>li>a { color: #51434c; padding: 10px 12px; border-radius: 0; font-size: .9rem; background: none; border-bottom: 2px solid transparent; }
.nav-desktop>ul>li>a:hover,.nav-desktop>ul>li>a.is-active { color: #a41652; background: none; border-bottom-color: #bc175d; }
.nav-desktop>ul>li>a::after { content: none; }
.submenu { border: 1px solid #ded6db; border-radius: 4px; background: #fff; box-shadow: 0 8px 20px #25152212; }
.submenu a { color: #251522; }
.nav-toggle { color: #251522; background: #fff; border-color: #ded6db; }
.nav-toggle-bar { background: #251522; }
.nav-mobile { background: #fff; border-bottom: 1px solid #251522; }
.nav-mobile { max-height: calc(100dvh - 74px); overflow-y: auto; }
.nav-mobile a { color: #251522; }
.btn { min-height: 46px; padding: 11px 22px; font: 600 .95rem/1.5 var(--font); border-radius: 4px; border: 1px solid #251522; box-shadow: none; }
.btn-primary,.btn-header-cta { color: #fff; background: #251522; border-color: #251522; box-shadow: none; }
.btn-primary:hover,.btn-header-cta:hover { color: #fff; background: #a41652; border-color: #a41652; transform: none; }
.btn-ghost,.btn-outline { color: #251522; background: #fff; border-color: #251522; box-shadow: none; }
.btn-ghost:hover,.btn-outline:hover { color: #a41652; background: #fde4ef; transform: none; }
.btn-signal { color: #251522; background: var(--signal); border-color: #251522; }
.btn-header-cta { font-size: .875rem; min-height: 42px; padding: 9px 15px; }

/* The original hero and three featured articles share a magazine opening. */
.community-opening { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; padding: 48px max(32px,calc((100vw - 1280px)/2)) 55px; background: #fff0f6; border-bottom: 1px solid #251522; }
.community-opening:has(>.tgc-hero:last-child) { grid-template-columns: 1fr; }
.tgc-hero { background: none; min-height: 0; padding: 0; border: 0; border-radius: 0; overflow: visible; display: block; }
.tgc-hero { margin: 0; }
.tgc-hero::before,.tgc-hero::after,.tgc-hero-bg { display: none; }
.home-hero-stage { display: block; width: 100%; min-height: 0; padding: 0; margin: 0; max-width: none; }
.home-hero-copy { text-align: left; padding: 0; max-width: none; color: #251522; }
.home-hero-brand { display: block; margin: 0 0 24px; padding: 0 0 18px; background: none; color: #251522; border: 0; border-bottom: 1px solid #251522; border-radius: 0; box-shadow: none; font: 700 clamp(1.7rem,2.4vw,2.4rem)/1.35 var(--font-display); letter-spacing: -.025em; }
.home-hero-brand-en { display: block; color: #a41652; opacity: 1; font: 600 .8rem/1.5 var(--font-display); letter-spacing: .15em; text-transform: uppercase; margin-top: 6px; }
.tgc-hero h1 { color: #251522; max-width: none; font-size: clamp(2rem,3.1vw,2.9rem); line-height: 1.4; letter-spacing: -.035em; margin: 0 0 20px; text-shadow: none; }
.home-hero-lead { color: #665760; font-size: 1rem; line-height: 1.85; margin-bottom: 20px; max-width: none; }
.home-hero-belief { color: #9e164e; font-size: 1rem; font-weight: 600; margin: 0 0 16px; }
.home-hero-quote { border: 0; border-left: 3px solid #bc175d; border-radius: 0; background: none; padding: 2px 0 2px 17px; margin: 0 0 24px; color: #51434c; }
.home-hero-quote p { color: #51434c; font-style: normal; font-size: 1rem; margin: 0; }
.home-hero-brand::after,.home-hero-quote p::before { content: none; }
.home-hero-actions { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tgc-hero .btn-primary { background: #bc175d; color: #fff; border-color: #bc175d; }
.tgc-hero .btn-ghost { background: transparent; color: #251522; border-color: #b89aa9; }
.tgc-featured { padding: 0; background: none; align-self: start; min-width: 0; }
.tgc-featured>.container { width: 100%; margin: 0; }
.tgc-featured .hp-section-head { margin-bottom: 18px; text-align: left; }
.tgc-featured .sheet-eyebrow { font-size: .8rem; padding: 0; color: #9e164e; margin: 0 0 5px; background: none; border: 0; }
.tgc-featured .hp-section-title { font-size: 1.2rem; margin: 0; line-height: 1.5; }
.tgc-featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tgc-feature-card,.tgc-feature-card.is-lead { grid-column: auto; grid-row: auto; background: #fff; color: #251522; border: 1px solid #d6bbc8; border-radius: 0; box-shadow: none; min-width: 0; overflow: hidden; }
.tgc-feature-card.is-lead { grid-column: 1/-1; }
.tgc-feature-link { display: flex; flex-direction: column; height: 100%; color: #251522; text-decoration: none; }
.tgc-feature-media,.tgc-feature-card.is-lead .tgc-feature-media { height: auto; aspect-ratio: 16/8; min-height: 0; overflow: hidden; }
.tgc-feature-card:not(.is-lead) .tgc-feature-media { aspect-ratio: 2/1; }
.tgc-feature-media img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.tgc-feature-body { position: static; padding: 14px 18px; background: #fff; color: #251522; }
.tgc-feature-body h3 { font-size: 1rem; line-height: 1.5; color: #251522; margin: 6px 0 0; }
.tgc-feature-card.is-lead h3 { font-size: 1.35rem; }
.tgc-cat { color: #a41652; background: none; padding: 0; font-size: .78rem; font-weight: 600; border: 0; border-radius: 0; }
.tgc-feature-card:hover { transform: translateY(-3px); box-shadow: 4px 4px 0 #bc175d; }
.tgc-featured .hp-section-more { margin: 18px 0 0; text-align: right; }
.tgc-featured .hp-section-more .btn { padding: 5px 0; border: 0; background: none; min-height: 30px; color: #a41652; text-decoration: underline; text-underline-offset: 5px; }

.hp-section { padding: 62px 0; background: #fff; }
.community-opening .tgc-featured { padding: 0; background: none; }
.header-actions .btn-header-cta { display: inline-flex; }
.home-hero-quote::before,.home-hero-quote::after { content: none; }
.hp-section-head { text-align: left; margin-bottom: 30px; max-width: none; }
.hp-section-title { font-size: clamp(1.8rem,3vw,2.7rem); font-weight: 700; line-height: 1.4; color: #251522; max-width: 850px; margin: 0 0 12px; }
.sheet-eyebrow { display: block; font-size: .825rem; letter-spacing: .05em; color: #a41652; background: none; padding: 0; border: 0; margin-bottom: 10px; }
.hp-section-sub { color: #665760; font-size: 1rem; }
.tgc-pillars { background: #fff; }
.tgc-pillar-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; border-block: 1px solid #251522; }
.tgc-pillar-card { padding: 25px 25px 26px 0; margin: 0; border: 0; border-right: 1px solid #ded6db; background: none; border-radius: 0; box-shadow: none; transform: none; }
.tgc-pillar-card:not(:first-child) { padding-left: 25px; }
.tgc-pillar-card:last-child { border-right: 0; }
.tgc-pillar-card:hover { transform: none; box-shadow: none; }
.tgc-pillar-icon { width: auto; height: auto; background: none; border: 0; border-radius: 0; padding: 0; margin-bottom: 18px; color: #bc175d; font: 500 2.5rem/1 var(--font-display); }
.tgc-pillar-card h3 { font-size: 1.05rem; color: #251522; }
.tgc-pillar-card p { font-size: .95rem; color: #665760; line-height: 1.8; margin: 0; }
.tgc-topics-band { background: #251522; color: #fff; border-block: 0; }
.tgc-topics-band .hp-section-title { color: #fff; }
.tgc-topics-band .hp-section-sub { color: #d5c9d0; }
.tgc-topic-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; counter-reset: topic; }
.tgc-topic-pill { counter-increment: topic; border: 1px solid #6b5160; border-radius: 0; background: #30232d; padding: 24px; color: #fff; box-shadow: none; }
.tgc-topic-pill::before { content: counter(topic,decimal-leading-zero) ' /'; color: #e995b9; font: 500 .875rem var(--font-display); display: block; margin-bottom: 15px; }
.tgc-topic-pill strong { color: #fff; font-size: 1.2rem; }
.tgc-topic-pill span { color: #d5c9d0; font-size: 1rem; }
.tgc-topic-pill:hover { border-color: #ef9fc3; background: #463040; transform: none; }
.tgc-topics-band .btn-outline { color: #fff; border-color: #af96a5; background: none; }
.tgc-mission-band { background: #fbd4e6; color: #251522; padding: 60px 0; border: 0; }
.tgc-mission-copy { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 60px; }
.tgc-mission-copy h2 { color: #251522; font-size: clamp(1.8rem,3vw,2.7rem); margin: 0; }
.tgc-mission-copy>p { color: #7a3454; grid-column: 1; }
.tgc-mission-list { grid-column: 2; grid-row: 1/3; margin: 0; }
.tgc-mission-list li { color: #4b2c3d; padding-bottom: 12px; }
.tgc-mission-list li::before { color: #a41652; }
.article-grid,.hp-blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 24px; }
.article-card { background: #fff; border: 0; border-bottom: 1px solid #bfaeb8; border-radius: 0; box-shadow: none; transform: none; overflow: hidden; }
.article-card:hover { transform: translateY(-3px); box-shadow: none; }
.article-card-media { border: 0; border-radius: 0; aspect-ratio: 16/10; }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.article-card-body { padding: 18px 0 25px; }
.article-card-body .h3 { font-size: 1.2rem; line-height: 1.55; }
.article-card-body a { color: #251522; }
.tgc-booking-band { background: #dfff73; color: #251522; border-block: 1px solid #251522; padding: 38px 0; }
.tgc-booking-band h2 { color: #251522; }
.tgc-booking-band p { color: #425026; margin: 0; }
.tgc-booking-band .btn { background: #251522; color: #fff; flex-shrink: 0; }
.tgc-contact-band { background: #fff; color: #251522; padding: 60px 0; }
.tgc-contact-inner { text-align: left; max-width: 1280px; }
.tgc-contact-inner h2 { font-size: 2rem; color: #251522; }
.tgc-contact-inner p { color: #665760; margin-inline: 0; }

/* Reading pages: flat editorial mastheads, clear body and preserved sidebars. */
.breadcrumbs { background: #fff; color: #665760; border-bottom: 1px solid #eee7ed; }
.page-hero,.sheet-hero,.author-hero { background: #fff0f6; padding: 44px 0; border-bottom: 1px solid #251522; color: #251522; }
.page-hero h1,.sheet-hero h1,.author-hero h1 { color: #251522; font-size: clamp(2rem,4vw,3.5rem); line-height: 1.4; }
.page-hero .lead,.sheet-lead,.author-hero p { color: #665760; }
.search-form input,.sidebar-search input { border-color: #bba8b3; border-radius: 4px; color: #251522; background: #fff; font-size: 1rem; }
.article-shell { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 52px; padding-block: 40px 60px; }
.article-main { min-width: 0; background: #fff; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.article-header { background: #fff; color: #251522; border-bottom: 1px solid #251522; border-radius: 0; padding: 0 0 25px; margin-bottom: 28px; }
.article-header h1 { color: #251522; font-size: clamp(2rem,3.2vw,3rem); line-height: 1.4; }
.article-meta,.eeat-byline,.eeat-trust-notice { color: #665760; }
.article-body,.prose { font-size: 1.075rem; line-height: 1.95; color: #362a32; }
.article-body h2,.prose h2 { color: #251522; font-size: 1.65rem; border: 0; padding: 0; margin-block: 32px 16px; }
.article-body a,.prose a { color: #a41652; text-decoration: underline; text-underline-offset: 3px; }
.sidebar-widget,.sidebar-search,.eeat-box { background: #faf5f8; border: 1px solid #ded0d9; border-radius: 4px; box-shadow: none; }
.sheet-index { background: #fde4ef; border: 1px solid #d6bbc8; border-radius: 4px; }
.sheet-body,.knowledge-content,.about-expanded,.contact-expanded,.privacy-expanded { background: #fff; border: 0; box-shadow: none; border-radius: 0; }
.sheet-qa { border-bottom: 1px solid #d6bbc8; border-radius: 0; }
.pagination-btn,.pagination-num { border-radius: 3px; border: 1px solid #251522; }
.pagination-num.is-current { background: #bc175d; border-color: #bc175d; color: #fff; }
.site-footer { background: #251522; color: #fff; border: 0; }
.footer-brand,.footer-brand h2,.footer-nav h3 { color: #fff; }
.footer-nav a,.footer-meta,.footer-disclaimer { color: #d5c9d0; }
.cookie-consent-inner { background: #fff; color: #251522; border: 1px solid #bba8b3; border-radius: 6px; box-shadow: 0 12px 45px #25152226; }
.cookie-consent-title { color: #251522; } .cookie-consent-desc { color: #665760; }
.reveal { opacity: 1; transform: none; animation: none; }
.home-hero-copy { animation: none; }
[hidden] { display: none !important; }
@media(max-width:1100px) {
  .nav-desktop { display: none; } .nav-toggle { display: inline-flex; }
  .community-opening { gap: 30px; } .tgc-hero h1 { font-size: 2.2rem; }
  .article-shell { gap: 28px; grid-template-columns: minmax(0,1fr) 270px; }
}
@media(max-width:800px) {
  .container { width: calc(100% - 40px); }
  .community-opening { grid-template-columns: 1fr; gap: 36px; padding: 32px 20px 38px; }
  .home-hero-brand { font-size: 1.9rem; } .tgc-hero h1 { font-size: clamp(1.9rem,6vw,2.8rem); }
  .home-hero-actions .btn { flex: 1; }
  .tgc-featured .hp-section-head { border-top: 1px solid #bba8b3; padding-top: 24px; }
  .hp-section { padding-block: 42px; }
  .tgc-pillar-grid { grid-template-columns: 1fr 1fr; }
  .tgc-pillar-card { padding: 22px 18px; border-bottom: 1px solid #ded6db; }
  .tgc-pillar-card:not(:first-child) { padding-left: 18px; }
  .tgc-pillar-card:nth-child(even) { border-right: 0; }
  .tgc-topic-row { grid-template-columns: 1fr 1fr; }
  .tgc-mission-copy { grid-template-columns: 1fr; gap: 15px; }
  .tgc-mission-list { grid-column: 1; grid-row: auto; }
  .article-grid,.hp-blog-grid { grid-template-columns: 1fr 1fr; }
  .article-shell { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .tgc-booking-inner { flex-direction: column; align-items: flex-start; }
}
@media(max-width:520px) {
  .header-mast-inner { min-height: 74px; gap: 10px; }
  .brand { gap: 8px; } .brand-logo-img { width: 32px; height: 32px; }
  .brand-name { font-size: .9rem; } .header-actions { gap: 7px; }
  .btn-header-cta { font-size: .78rem; padding: 8px 10px; }
  .tgc-feature-body { padding: 12px; } .tgc-feature-body h3 { font-size: .95rem; }
  .tgc-feature-card.is-lead h3 { font-size: 1.2rem; }
  .tgc-topic-row,.article-grid,.hp-blog-grid { grid-template-columns: 1fr; }
  .home-hero-actions .btn { padding-inline: 10px; font-size: .875rem; }
  .tgc-mission-band { padding-block: 40px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
