/* Single editorial adapter. Shared spacing/type principles; existing Troon fonts/colors.
   Aman measured edges: 24.5px each side, max content 1440px. Video measured 16:9.
   Aman H2 endpoints 24.108px@390,31.08px@1440 inform our common title role;
   interpolation and Korean tracking/body are Troon project decisions, not Aman approvals.
   Founder stage keeps its previously approved dedicated typography/motion. */
body.eg-site {
 --grid-max:1440px; --grid-gutter:24.5px; --grid-gap:var(--space-8);
 --detail-width:1440px; --detail-gutter:var(--grid-gutter);
 --type-h1:clamp(24.108px,calc(21.5184px + .664vw),31.08px);
 --type-h2:var(--type-h1); --type-h3:19px; --type-body:15px;
 --font-body:Pretendard,sans-serif; --font-heading:MaruBuri,serif;
 --leading-heading:1.45; --leading-body:1.9; --tracking-heading:-.035em;
 --eg-section-space:var(--space-16);
}
/* Override the cover-title cascade in details.css at its common role, once. */
body.eg-site.official.detail-page.refined-details-1007 .official-content .oc-cover :is(h1,h2),
body.eg-site.official.detail-page.refined-details-1007 .official-content .oc-section-intro h2,
body.eg-site.official.detail-page.refined-details-1007 .bg-head h2,
body.eg-site.official.detail-page.refined-details-1007 .briefing-section h2,
body.eg-site.official.detail-page.refined-details-1007 .member-film h2,
body.eg-site.fg-final-main #main :is(h1,h2),
body.eg-site.fg-final-main #main #home-title {
 font-size:var(--type-h1); line-height:var(--leading-heading); letter-spacing:var(--tracking-heading);
 font-weight:400; margin:0 0 var(--space-6); max-width:none;
 word-break:keep-all; overflow-wrap:anywhere; text-wrap:pretty;
}
body.eg-site.official.detail-page.refined-details-1007 .official-content .oc-cover-copy>p:not(.oc-eyebrow),
body.eg-site.official.detail-page.refined-details-1007 .official-content .oc-section-intro p,
body.eg-site.official.detail-page.refined-details-1007 :is(.bg-lead,.bg-body p),
body.eg-site.fg-final-main #main .editorial-copy>p:not(.section-label) {
 font-size:var(--type-body); line-height:var(--leading-body); letter-spacing:0;
}
body.eg-site.official.detail-page.refined-details-1007 .official-content>.oc-cover,
body.eg-site.official.detail-page.refined-details-1007 .official-content>.oc-cover.app-guide-cover,
body.eg-site.official.detail-page.refined-details-1007 .official-content>.oc-cover.rf-portrait-cover {
 width:min(calc(100% - 2 * var(--grid-gutter)),var(--grid-max)); max-width:none;
 margin:var(--space-8) auto 0; padding:0; display:grid;
 grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:var(--grid-gap); align-items:center;
}
body.eg-site.official.detail-page.refined-details-1007 .official-content>.oc-cover .oc-cover-copy {padding:0; min-width:0; width:100%;}
body.eg-site.official.detail-page.refined-details-1007 .oc-cover .oc-eyebrow {margin:0 0 var(--space-4);}
body.eg-site.official.detail-page.refined-details-1007 .official-content :is(.oc-section,.detail-deck),
body.eg-site.official.detail-page.refined-details-1007 .official-content>.briefing-guide,
body.eg-site.official.detail-page.refined-details-1007 .oc-related,
body.eg-site.official.detail-page.refined-details-1007 #main>.briefing-section {
 max-width:calc(var(--grid-max) + 2 * var(--grid-gutter)); margin-inline:auto; padding-inline:var(--grid-gutter);
}
body.eg-site.official.detail-page.refined-details-1007 .official-content .oc-section {padding-block:var(--eg-section-space);}
body.eg-site.official.detail-page.refined-details-1007 .official-content .detail-panel>.oc-section {padding:0;}
body.eg-site.official.detail-page.refined-details-1007 .official-content .bg-section {padding-block:var(--eg-section-space);}
body.eg-site.official.detail-page.refined-details-1007 .official-content .oc-section-intro {gap:var(--space-6); margin-bottom:var(--space-8);}
body.eg-site.official.detail-page.refined-details-1007 .bg-head {margin-bottom:var(--space-8);}
body.eg-site.official.detail-page.refined-details-1007 .bg-cards {gap:var(--grid-gap);}
/* Same image/title/text edges and one reading order for the main introduction. */
body.eg-site.fg-final-main #main>.opening {display:block; width:min(calc(100% - 2 * var(--grid-gutter)),var(--grid-max)); margin:var(--space-8) auto var(--eg-section-space); padding:0;}
body.eg-site.fg-final-main #main>.opening .golf-hero {margin:0; width:100%;}
body.eg-site.fg-final-main #main>.opening .golf-frame {width:100%; aspect-ratio:16/9; height:auto; max-height:none;}
body.eg-site.fg-final-main #main>.opening .golf-frame video {width:100%; height:100%; object-fit:contain;}
body.eg-site.fg-final-main #main>.opening .opening-copy {display:block; text-align:left; padding:0; margin:var(--space-12) 0 0; max-width:none;}
body.eg-site.fg-final-main #main>.opening .brand-line {margin:0 0 var(--space-4);}
body.eg-site.fg-final-main #main>.opening h1 {max-width:38em; margin:0 0 var(--space-4);}
body.eg-site.fg-final-main #main>.opening .fg-arrival {font:400 var(--type-body)/var(--leading-body) var(--font-body); margin:0; letter-spacing:0;}
body.eg-site.fg-final-main #main .fg-special {margin-bottom:var(--eg-section-space);}
body.eg-site.fg-final-main #main .fg-special-heading {width:100%; margin:0 0 var(--space-12);}
body.eg-site.fg-final-main #main #jeju-special-title {width:100%; max-width:none; word-break:normal; overflow-wrap:normal; text-wrap:balance;}
body.eg-site.fg-final-main #main .home-content-chapter {gap:var(--grid-gap); margin-block:0 var(--eg-section-space);}
/* Hidden visually until keyboard focus; the native button and JS state remain accessible. */
body.eg-site .hero-video-toggle:not(:focus-visible) {clip-path:inset(50%); width:1px; height:1px; overflow:hidden; padding:0; border:0; white-space:nowrap;}
body.eg-site .hero-video-toggle:focus-visible {clip-path:none; width:auto; height:auto; padding:12px 18px; outline:2px solid currentColor; outline-offset:4px;}
/* Contract is the final, readable supporting note. Exact HTML and terms are preserved. */
body.eg-site.official.detail-page.refined-details-1007 #main .rf-membership-index>#contract-conditions {
 display:block; width:min(calc(100% - 2 * var(--grid-gutter)),var(--grid-max)); max-width:none;
 padding:var(--space-8) 0!important; margin:var(--space-8) auto 0; border-top:1px solid var(--rf-line);
}
body.eg-site.official.detail-page.refined-details-1007 #main .rf-membership-index>#contract-conditions>h2 {font-size:16px;line-height:1.6;letter-spacing:0;margin:0 0 var(--space-4);}
body.eg-site.official.detail-page.refined-details-1007 #main .rf-membership-index>#contract-conditions>h3 {font-size:13px;line-height:1.75;letter-spacing:0;margin:var(--space-4) 0 var(--space-1);}
body.eg-site.official.detail-page.refined-details-1007 #main .rf-membership-index>#contract-conditions>p {font-size:13px;line-height:1.9;letter-spacing:0;margin:0;max-width:none;}
body.eg-site.official.detail-page.refined-details-1007 #main .rf-membership-index>#contract-conditions>p:last-child {margin-top:var(--space-3);}
@media(max-width:780px) {
 body.eg-site {--eg-section-space:var(--space-12);--grid-gap:var(--space-6);}
 body.eg-site.official.detail-page.refined-details-1007 .official-content>.oc-cover,
 body.eg-site.official.detail-page.refined-details-1007 .official-content>.oc-cover.app-guide-cover,
 body.eg-site.official.detail-page.refined-details-1007 .official-content>.oc-cover.rf-portrait-cover {grid-template-columns:minmax(0,1fr);}
 body.eg-site.official.detail-page.refined-details-1007 .official-content>.oc-cover .oc-cover-image {padding:0;}
 body.eg-site.official.detail-page.refined-details-1007 .official-content>.oc-cover.app-guide-cover .oc-cover-image {padding:var(--space-6);}
 body.eg-site.fg-final-main #main>.opening .opening-copy {margin-top:var(--space-8);}
 body.eg-site.official.detail-page.refined-details-1007 .official-content .oc-section-intro {gap:var(--space-4);}
}
/* Main media takes the central eight columns of the same twelve-column grid.
   This is our viewport-composition decision, not an Aman height measurement. */
@media(min-width:1180px) {
 body.eg-site.fg-final-main #main>.opening .golf-hero {width:calc((100% + var(--grid-gap)) / 3 * 2 - var(--grid-gap));margin-inline:auto;}
}
body.eg-site.fg-final-main.rf-visible-menu .home-header {grid-template-columns:126px minmax(0,1fr) auto;gap:var(--space-6);padding-inline:var(--grid-gutter);}
body.eg-site.fg-final-main .eg-header-actions {display:flex;grid-column:3;grid-row:1;gap:var(--space-4);align-items:center;justify-content:flex-end;}
body.eg-site.fg-final-main .eg-header-actions .fg-estate-actions {display:flex;gap:var(--space-4);margin:0;align-items:center;}
body.eg-site.fg-final-main .eg-header-actions .text-link {font:400 12px/1.5 var(--font-body);padding:10px 0;min-height:44px;align-items:center;gap:0;white-space:nowrap;border:0;}
body.eg-site.fg-final-main .eg-header-actions .text-link span {display:none;}
body.eg-site.fg-final-main .eg-header-actions .visit-link {font-size:12px;gap:8px;}
body.eg-site.fg-final-main .rf-top-nav {gap:var(--space-4);}
@media(max-width:1279px) {
 body.eg-site.fg-final-main.rf-visible-menu .home-header {grid-template-columns:1fr auto;grid-template-rows:72px auto;height:auto;gap:0;}
 body.eg-site.fg-final-main .eg-header-actions {grid-column:2;}
 body.eg-site.fg-final-main .rf-top-nav {grid-column:1/-1;grid-row:2;justify-content:space-between;border-top:1px solid var(--rf-teal-line);}
}
@media(max-width:600px) {
 body.eg-site.fg-final-main.rf-visible-menu .home-header {grid-template-columns:96px minmax(0,1fr);grid-template-rows:auto auto;}
 body.eg-site.fg-final-main .header-logo img {width:96px;}
 body.eg-site.fg-final-main .eg-header-actions {min-height:88px;display:grid;grid-template-columns:1fr auto;gap:8px;}
 body.eg-site.fg-final-main .eg-header-actions .fg-estate-actions {flex-wrap:wrap;gap:0 12px;justify-content:flex-end;}
 body.eg-site.fg-final-main .eg-header-actions .text-link {font-size:11px;min-height:36px;padding:8px 0;}
 body.eg-site.fg-final-main .eg-header-actions .visit-link {font-size:11px;}
}
/* Plain pages share the same editorial edges and title role. */
body.eg-site.official.detail-page.refined-details-1007 .official-content>.om-plain-head,
body.eg-site.official.detail-page.refined-details-1007 .pdf-news-list,
body.eg-site.official.detail-page.refined-details-1007 .fg-brand-details {width:min(calc(100% - 2 * var(--grid-gutter)),var(--grid-max));max-width:none;margin-inline:auto;padding-inline:0;}
body.eg-site.official.detail-page.refined-details-1007 .om-plain-head {padding-block:var(--space-12) var(--space-8);}
body.eg-site.official.detail-page.refined-details-1007 .om-plain-head h1,
body.eg-site.official.detail-page.refined-details-1007 .fg-brand-details h2,
body.eg-site.official.detail-page.refined-details-1007 .tb-intro h2 {font-size:var(--type-h1);line-height:var(--leading-heading);letter-spacing:var(--tracking-heading);font-weight:400;}
body.eg-site.official.detail-page.refined-details-1007 .pdf-news-list {padding-block:var(--space-8) var(--space-12);}
body.eg-site.official.detail-page.refined-details-1007 .pdf-news-list h2 {font-size:19px;line-height:1.6;margin-bottom:var(--space-6);}
body.eg-site .pdf-news-list li>a {display:grid;grid-template-columns:160px minmax(0,1fr);gap:var(--space-8);padding-block:var(--space-6);align-items:baseline;}
body.eg-site .pdf-news-list li>a>span:first-child {font-size:13px;}
body.eg-site .pdf-news-list li>a>span:last-child {font-size:15px;line-height:1.9;}
body.eg-site .eg-context-news>p {font-size:13px;line-height:1.9;}
body.eg-site .tb-facts {display:flex;flex-direction:column;gap:8px;padding-block:24px;font-size:14px;line-height:1.9;}
body.eg-site .eg-slide-controls {display:flex;justify-content:flex-end;gap:16px;margin-block:24px 16px;}
body.eg-site .eg-slide-controls button {min-width:44px;min-height:44px;border:0;border-bottom:1px solid var(--rf-line);background:transparent;font:13px/1.7 var(--font-body);color:inherit;}
body.eg-site .eg-logo-track {display:flex;gap:32px;list-style:none;overflow-x:auto;scroll-snap-type:x mandatory;margin:0;padding:0 0 24px;}
body.eg-site .eg-logo-track>li {flex:0 0 220px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;scroll-snap-align:start;}
body.eg-site .eg-logo-track img {width:100%;height:104px;object-fit:contain;padding:12px;box-sizing:border-box;}
body.eg-site .eg-logo-track span {font:13px/1.7 var(--font-body);text-align:center;}
body.eg-site .eg-world-scroll {overflow-x:auto;margin-top:32px;}
body.eg-site .eg-world-map {position:relative;min-width:720px;width:100%;}
body.eg-site .eg-world-map>img {display:block;width:100%;height:auto;}
body.eg-site .eg-world-pin {position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:8px;padding:8px;min-height:44px;min-width:44px;color:#233330;background:#fafbf9e8;font:13px/1.4 var(--font-body);border:1px solid #879382;text-decoration:none;white-space:nowrap;}
body.eg-site .eg-world-pin>span {width:6px;height:6px;border-radius:50%;background:currentColor;}
body.eg-site .eg-map-note {font:13px/1.9 var(--font-body);}
body.eg-site .eg-course-controls {display:flex;justify-content:flex-end;gap:16px;margin:0 0 16px;}
body.eg-site .eg-course-controls button {min-width:44px;min-height:44px;border:1px solid #879382;color:inherit;background:transparent;}
body.eg-site .eg-course-track {display:flex;gap:var(--grid-gap);overflow-x:auto;scroll-snap-type:x mandatory;align-items:flex-start;padding:0 0 24px;}
body.eg-site .eg-course-card {flex:0 0 calc((100% - 2 * var(--grid-gap)) / 3);min-width:250px;scroll-snap-align:start;border:0;background:transparent;}
body.eg-site .eg-course-card>summary {display:block;position:relative;cursor:pointer;list-style:none;padding:0!important;}
body.eg-site .eg-course-card>summary::-webkit-details-marker {display:none;}
body.eg-site .eg-course-card>summary img {display:block;width:100%;aspect-ratio:4/5;object-fit:cover;}
body.eg-site .eg-course-region {display:block;margin:16px 0 8px;font:13px/1.7 var(--font-body);}
body.eg-site .eg-course-card h3 {font:400 19px/1.6 var(--font-heading);margin:0;padding-right:32px;}
body.eg-site .eg-course-open {position:absolute;right:0;bottom:0;font:24px/1.5 var(--font-body);}
body.eg-site .eg-course-card[open] .eg-course-open {transform:rotate(45deg);}
body.eg-site .eg-course-detail {padding-top:16px;}
body.eg-site .eg-course-detail p,body.eg-site .eg-course-detail h4 {font:400 14px/1.9 var(--font-body);margin:0 0 12px;}
body.eg-site .eg-course-detail h4 {margin-top:20px;font-weight:500;}
body.eg-site .eg-final-conditions {font:13px/1.9 var(--font-body);margin:32px 0;color:var(--rf-muted,#687078);}
body.eg-site #main.adv-page {width:min(calc(100% - 2 * var(--grid-gutter)),var(--grid-max));margin-inline:auto;padding-inline:0;}
body.eg-site #main.adv-page>h1,body.eg-site #main.adv-page h2 {font-size:var(--type-h1);line-height:var(--leading-heading);letter-spacing:var(--tracking-heading);font-weight:400;}
body.eg-site #main.adv-page>.briefing-section {padding:var(--eg-section-space) 0;}
body.eg-site .fg-region-grid {margin-top:32px;}
body.eg-site .troon-ig-head,body.eg-site .troon-ig-track {padding-inline:var(--grid-gutter);max-width:calc(var(--grid-max) + 2 * var(--grid-gutter));margin-inline:auto;}
@media(max-width:780px) {
 body.eg-site .pdf-news-list li>a {grid-template-columns:1fr;gap:8px;}
 body.eg-site .eg-logo-track {gap:24px;}
 body.eg-site .eg-logo-track>li {flex-basis:180px;}
 body.eg-site .eg-course-card {flex-basis:82%;min-width:0;}
}

/* Narrow header rows size to their actual mixed-language labels. */
@media(max-width:600px){
 body.eg-site.fg-final-main .rf-top-nav {gap:0 10px;grid-template-rows:minmax(44px,auto) minmax(44px,auto);padding-block:4px;}
}
/* A legacy #main selector had added a second gutter on plain headings. */
body.eg-site.official.detail-page.refined-details-1007 #main .om-plain-head {padding-inline:0;}
body.eg-site.official.detail-page.refined-details-1007 .official-content>.oc-cover.eg-text-cover {grid-template-columns:minmax(0,1fr);}

/* Protect the map canvas from the legacy blanket min-width reset in details.css. */
body.eg-site.official.detail-page.refined-details-1007 #main .eg-world-map {min-width:720px;}
/* Resolve inherited #main role selectors at the shared role, not per-page values. */
body.eg-site.official.detail-page.refined-details-1007 #main :is(.oc-cover,.om-plain-head) h1,
body.eg-site.official.detail-page.refined-details-1007 #main .fg-brand-details h2,
body.eg-site.fg-final-main #main .fg-special #jeju-special-title {
 font-size:var(--type-h1);line-height:var(--leading-heading);letter-spacing:var(--tracking-heading);font-weight:400;
}
body.eg-site.official.detail-page.refined-details-1007 #main .fg-brand-details {width:min(calc(100% - 2 * var(--grid-gutter)),var(--grid-max));max-width:none;}
body.eg-site.official.detail-page.refined-details-1007 #main .oc-cover:has(>.oc-cover-copy:only-child) {grid-template-columns:minmax(0,1fr);padding-inline:0;}
body.eg-site.official.detail-page.refined-details-1007 .official-content>.briefing-guide>.bg-section {padding-inline:0;}
body.eg-site.official.detail-page.refined-details-1007 #main .oc-cover>.oc-cover-copy {padding:0;}
body.eg-site.official.detail-page.refined-details-1007 #main .rf-visit-guide {max-width:calc(var(--grid-max) + 2 * var(--grid-gutter));padding-inline:var(--grid-gutter);}
body.eg-site.official.detail-page.refined-details-1007 #main .rf-visit-guide .vg-section {gap:var(--grid-gap);}
/* Legacy brand page marked its cover typography important; resolve that role here. */
body.eg-site.official.detail-page.refined-details-1007 #main .oc-cover h1 {font-size:var(--type-h1)!important;}
body.eg-site.official.detail-page.refined-details-1007 #main .rf-brand-troon>.oc-cover {padding:var(--space-8) 0 0!important;}
/* The briefing wrapper already owns the gutter; nested tab decks do not add another. */
body.eg-site.official.detail-page.refined-details-1007 .official-content>.briefing-guide .detail-deck {padding-inline:0;}
/* Integrated map follows the same edges and quiet supporting-information role. */
body.eg-site.official.detail-page.refined-details-1007 #main .estate-map {width:min(calc(100% - 2 * var(--grid-gutter)),var(--grid-max));max-width:none;padding-inline:0;}
body.eg-site #main .estate-map-info {background:var(--rf-white,#fafbf9);border:1px solid var(--rf-line,#c8ceca);padding:var(--space-6);gap:var(--space-6);color:var(--rf-ink,#23292b);}
body.eg-site #main .estate-map-info h2 {font-size:var(--type-h3);line-height:1.6;letter-spacing:0;font-weight:400;}
body.eg-site #main .estate-map-info p {font:400 var(--type-body)/var(--leading-body) var(--font-body);color:var(--rf-muted,#687078);}
body.eg-site #main .estate-map-info nav a {font:400 13px/1.7 var(--font-body);color:var(--rf-ink,#23292b);}
@media(max-width:780px){body.eg-site #main .estate-map-info {padding:var(--space-4);gap:var(--space-3);}}

/* A parent that already owns the gutter gives its plain heading the full content width. */
body.eg-site.official.detail-page.refined-details-1007 #main .rf-visit-guide>.om-plain-head {width:100%;max-width:none;}
/* Actual native login capture, displayed within a 320px reading column with its uncropped ratio. */
body.eg-site .eg-app-login {order:2;margin:0;display:flex;flex-direction:column;align-items:center;gap:var(--space-3);min-width:0;}
body.eg-site #main .eg-app-login img {display:block;width:min(100%,320px);height:auto;max-height:none;object-fit:contain;}
body.eg-site .eg-app-login figcaption {font:400 13px/1.7 var(--font-body);color:var(--rf-muted,#687078);text-align:center;}

/* The app example retains its short caption inside the existing photo viewer. */
body.eg-site .app-login-viewer figcaption {display:block;font:400 13px/1.7 var(--font-body);color:#fafbf9;text-align:center;}

/* Horizontal course dragging is handled locally; vertical scroll and pinch remain native. */
body.eg-site .eg-course-track {touch-action:pan-y pinch-zoom;}

/* The legacy fixed-shell root must allow this document page to scroll vertically. */
html:has(body.eg-site .adv-page) {overflow-y:auto;}
