.tx-showcase {
--tx-bg:        #F5F5F5;
--tx-card:      #FFFFFF;
--tx-onyx:      #0A0A0A;
--tx-gold:      #D4A84B;
--tx-gold-600:  #B88E35;
--tx-gold-100:  #FAF0D6;
--tx-charcoal:  #4A4A4A;
--tx-border:    #E0E0E0;
--font-display: 'Noto Sans Thai', 'Tahoma', Arial, sans-serif;
--font-body:    'Sarabun', 'Noto Sans Thai', 'Tahoma', Arial, sans-serif;
--sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
--sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
--radius-sm: 4px; --radius-md: 6px; --radius-lg: 8px;
--shadow-1: 0 1px 2px rgba(10,10,10,.06);
--shadow-2: 0 2px 6px rgba(10,10,10,.10);
--dur-base: 200ms;
--ease: cubic-bezier(0.2,0,0,1);
}  .tx-showcase *,
.tx-showcase *::before,
.tx-showcase *::after {
box-sizing: border-box;
}
.tx-showcase img {
display: block;
max-width: 100%;
}
.tx-showcase button {
cursor: pointer;
border: none;
background: none;
font-family: inherit;
} .tx-showcase .tx-hero {
background: var(--tx-onyx);
padding: var(--sp-8) var(--sp-6) var(--sp-7);
position: relative;
overflow: hidden;
} .tx-showcase .tx-hero::after {
content: '';
position: absolute;
bottom: 0; left: 0; right: 0;
height: 3px;
background: var(--tx-gold);
}
.tx-showcase .tx-hero__inner {
max-width: 1200px;
margin: 0 auto;
}
.tx-showcase .tx-hero__kicker {
font-family: var(--font-body);
font-size: 13px;
font-weight: 500;
color: var(--tx-gold);
letter-spacing: .08em;
text-transform: uppercase;
margin-bottom: var(--sp-3);
}
.tx-showcase .tx-hero h1 {
font-family: var(--font-display);
font-weight: 700;
font-size: clamp(36px, 5vw, 56px);
color: var(--tx-card);
line-height: 1.2;
margin-bottom: var(--sp-3);
}
.tx-showcase .tx-hero__sub {
font-family: var(--font-body);
font-size: 17px;
color: rgba(255,255,255,.65);
line-height: 1.7;
max-width: 520px;
margin-bottom: var(--sp-7);
} .tx-showcase .tx-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: var(--sp-5);
max-width: 720px;
}
.tx-showcase .tx-stat-num {
font-family: var(--font-display);
font-weight: 700;
font-size: clamp(40px, 5vw, 60px);
color: var(--tx-gold);
line-height: 1;
display: block;
letter-spacing: -.01em;
text-shadow: 0 1px 12px rgba(212,168,75,.22); opacity: 1;
}
.tx-showcase .tx-stat-label {
font-family: var(--font-body);
font-size: 14px;
font-weight: 500;
color: rgba(255,255,255,.72);
margin-top: var(--sp-2);
} .tx-showcase .tx-map-section {
position: relative;
background: var(--tx-onyx);
}
.tx-showcase .tx-map-header {
max-width: 1200px;
margin: 0 auto;
padding: var(--sp-6) var(--sp-6) var(--sp-4);
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: var(--sp-3);
}
.tx-showcase .tx-map-header h2 {
font-family: var(--font-display);
font-weight: 700;
font-size: 22px;
color: var(--tx-card);
}
.tx-showcase .tx-map-caption {
font-family: var(--font-body);
font-size: 13px;
color: rgba(255,255,255,.45);
margin-top: 2px;
}
.tx-showcase .tx-tile-toggle {
display: flex;
align-items: center;
gap: var(--sp-2);
padding: var(--sp-2) var(--sp-4);
border: 1px solid rgba(255,255,255,.2);
border-radius: var(--radius-md);
font-family: var(--font-body);
font-size: 13px;
color: rgba(255,255,255,.7);
transition: border-color var(--dur-base) var(--ease),
color var(--dur-base) var(--ease);
flex-shrink: 0;
}
.tx-showcase .tx-tile-toggle:hover {
border-color: var(--tx-gold);
color: var(--tx-gold);
}
.tx-showcase .tx-tile-toggle-icon {
font-size: 16px;
line-height: 1;
}
#tx-map {
width: 100%;
height: 520px;
}
@media (max-width: 600px) {
#tx-map { height: 360px; }
} .tx-showcase .tx-controls-section {
background: var(--tx-bg);
border-top: 1px solid var(--tx-border);
position: sticky; top: 56px;
z-index: 800;
}
.tx-showcase .tx-controls-inner {
max-width: 1200px;
margin: 0 auto;
padding: var(--sp-4) var(--sp-6);
display: flex;
align-items: flex-start;
gap: var(--sp-4);
flex-wrap: wrap;
} .tx-showcase .tx-search-wrap {
position: relative;
flex: 0 0 260px;
}
.tx-showcase .tx-search-icon {
position: absolute;
left: var(--sp-3);
top: 50%;
transform: translateY(-50%);
color: var(--tx-charcoal);
pointer-events: none;
font-size: 15px;
}
.tx-showcase .tx-search-input {
width: 100%;
padding: var(--sp-2) var(--sp-3) var(--sp-2) 36px;
border: 1px solid var(--tx-border);
border-radius: var(--radius-md);
font-family: var(--font-body);
font-size: 14px;
background: var(--tx-card);
color: var(--tx-onyx);
outline: none;
transition: border-color var(--dur-base) var(--ease);
}
.tx-showcase .tx-search-input:focus {
border-color: var(--tx-gold);
}
.tx-showcase .tx-search-input::placeholder {
color: rgba(10,10,10,.35);
} .tx-showcase .tx-chips-wrap {
display: flex;
flex-wrap: wrap;
gap: var(--sp-2);
align-items: center;
flex: 1;
}
.tx-showcase .tx-chip {
padding: 5px var(--sp-3);
border: 1px solid var(--tx-border);
border-radius: 999px;
font-family: var(--font-body);
font-size: 13px;
color: var(--tx-charcoal);
background: var(--tx-card);
transition: border-color var(--dur-base) var(--ease),
color var(--dur-base) var(--ease),
background var(--dur-base) var(--ease);
white-space: nowrap;
line-height: 1.4;
}
.tx-showcase .tx-chip:hover {
border-color: var(--tx-onyx);
color: var(--tx-onyx);
}
.tx-showcase .tx-chip.active {
background: var(--tx-onyx);
color: var(--tx-card);
border-color: var(--tx-onyx);
} .tx-showcase .tx-result-count {
font-family: var(--font-body);
font-size: 13px;
color: var(--tx-charcoal);
align-self: center;
white-space: nowrap;
margin-left: auto;
}
.tx-showcase .tx-result-count strong {
color: var(--tx-onyx);
font-weight: 500;
} .tx-showcase .tx-grid-section {
max-width: 1200px;
margin: 0 auto;
padding: var(--sp-6) var(--sp-6) var(--sp-8);
} .tx-showcase .tx-featured-strip {
margin-bottom: var(--sp-6);
padding-bottom: var(--sp-6);
border-bottom: 1px solid var(--tx-border);
}
.tx-showcase .tx-section-label {
font-family: var(--font-body);
font-size: 12px;
font-weight: 500;
color: var(--tx-gold);
letter-spacing: normal; text-transform: uppercase;
margin-bottom: var(--sp-4);
}
.tx-showcase .tx-featured-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: var(--sp-4);
} .tx-showcase .tx-org-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: var(--sp-3);
} .tx-showcase .tx-card {
background: var(--tx-card);
border: 1px solid var(--tx-border);
border-radius: var(--radius-lg);
padding: var(--sp-4);
display: flex;
flex-direction: column;
gap: var(--sp-2);
transition: box-shadow var(--dur-base) var(--ease),
border-color var(--dur-base) var(--ease);
cursor: default;
content-visibility: auto;
contain-intrinsic-size: auto 196px;
}
.tx-showcase .tx-card:hover {
box-shadow: var(--shadow-2);
border-color: rgba(10,10,10,.15);
}
.tx-showcase .tx-card.tx-featured-card {
padding: var(--sp-5);
} .tx-showcase .tx-card-logo {
width: 100%;
aspect-ratio: 3/2;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
border-radius: var(--radius-sm);
background: var(--tx-bg);
flex-shrink: 0;
}
.tx-showcase .tx-card-logo img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
} .tx-showcase .tx-monogram {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-display);
font-weight: 700;
font-size: clamp(18px, 4vw, 28px);
color: var(--tx-charcoal);
background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
border-radius: var(--radius-sm);
user-select: none;
} .tx-showcase .tx-card-name {
font-family: var(--font-display);
font-weight: 600;
font-size: 13px;
line-height: 1.4;
color: var(--tx-onyx);
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.tx-showcase .tx-featured-card .tx-card-name {
font-size: 14px;
}
.tx-showcase .tx-card-meta {
display: flex;
align-items: center;
gap: var(--sp-2);
flex-wrap: wrap;
margin-top: auto;
}
.tx-showcase .tx-card-cat {
font-family: var(--font-body);
font-size: 11px;
color: var(--tx-charcoal);
background: var(--tx-bg);
border: 1px solid var(--tx-border);
border-radius: 999px;
padding: 2px 8px;
line-height: 1.5;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
} .tx-showcase .tx-card[hidden] {
display: none;
} .tx-showcase .tx-empty-state {
grid-column: 1 / -1;
padding: var(--sp-8) 0;
text-align: center;
font-family: var(--font-body);
font-size: 15px;
color: var(--tx-charcoal);
}  .marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
background-clip: padding-box;
}
.marker-cluster-small div   { background-color: rgba(212,168,75,.85); }
.marker-cluster-medium div  { background-color: rgba(184,142,53,.9); }
.marker-cluster-large div   { background-color: rgba(160,121,42,.95); }
.marker-cluster div {
color: #0A0A0A;
font-weight: 700;
font-family: 'Noto Sans Thai', 'Tahoma', Arial, sans-serif;
} .leaflet-popup-content-wrapper {
border-radius: 8px;
box-shadow: 0 2px 6px rgba(10,10,10,.10);
padding: 0;
}
.leaflet-popup-content {
margin: 0;
}
.tx-popup-inner {
padding: 16px;
min-width: 200px;
max-width: 260px;
}
.tx-popup-logo {
height: 48px;
margin-bottom: 12px;
display: flex;
align-items: center;
}
.tx-popup-logo img {
max-height: 100%;
max-width: 160px;
object-fit: contain;
}
.tx-popup-name {
font-family: 'Noto Sans Thai', 'Tahoma', Arial, sans-serif;
font-weight: 600;
font-size: 14px;
color: #0A0A0A;
line-height: 1.4;
margin-bottom: 8px;
}
.tx-popup-cat {
font-family: 'Sarabun', 'Noto Sans Thai', 'Tahoma', Arial, sans-serif;
font-size: 12px;
color: #D4A84B;
margin-bottom: 12px;
}
.tx-popup-courses {
font-family: 'Sarabun', 'Noto Sans Thai', 'Tahoma', Arial, sans-serif;
font-size: 12px;
color: #4A4A4A;
line-height: 1.6;
}
.tx-popup-years {
margin-top: 8px;
font-family: 'Sarabun', 'Noto Sans Thai', 'Tahoma', Arial, sans-serif;
font-size: 11px;
color: #4A4A4A;
}
.tx-popup-years strong {
color: #0A0A0A;
} @media (max-width: 768px) {
.tx-showcase .tx-hero         { padding: 32px 16px; }
.tx-showcase .tx-stats        { grid-template-columns: 1fr 1fr; }
.tx-showcase .tx-controls-inner { flex-direction: column; gap: 12px; }
.tx-showcase .tx-search-wrap  { flex: 1 1 100%; }
.tx-showcase .tx-result-count { margin-left: 0; }
.tx-showcase .tx-grid-section { padding: 24px 16px 48px; }
.tx-showcase .tx-featured-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.tx-showcase .tx-org-grid     { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.tx-showcase .tx-map-header   { padding: 16px 16px 12px; }
} @media (prefers-reduced-motion: reduce) {
.tx-showcase *,
.tx-showcase *::before,
.tx-showcase *::after {
transition: none !important;
animation: none !important;
}
} @keyframes txCountUp {
from { transform: translateY(8px); }
to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
.tx-showcase .tx-stat-num.animated {
animation: txCountUp 400ms cubic-bezier(0.2,0,0,1) both;
}
} .tx-showcase .leaflet-marker-icon {
background: transparent !important;
border: 0 !important;
border-radius: 0 !important;
padding: 0 !important;
box-shadow: none !important;
}
.tx-showcase .leaflet-marker-icon:hover {
transform: none !important;
box-shadow: none !important;
}  .tx-showcase .leaflet-bar a,
.tx-showcase .leaflet-control-zoom a {
background-color: #fff !important;
color: #333 !important;
width: 30px !important;
height: 30px !important;
line-height: 30px !important;
padding: 0 !important;
border-radius: 0 !important;
font-weight: 700 !important;
box-shadow: none !important;
transform: none !important;
}
.tx-showcase .leaflet-bar a:hover {
background-color: #f4f4f4 !important;
transform: none !important;
box-shadow: none !important;
}
.tx-showcase .leaflet-bar {
border-radius: 4px !important;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4) !important;
}
.tx-showcase .leaflet-bar a:first-child {
border-top-left-radius: 4px !important;
border-top-right-radius: 4px !important;
}
.tx-showcase .leaflet-bar a:last-child {
border-bottom-left-radius: 4px !important;
border-bottom-right-radius: 4px !important;
}