/* Yacht Club Cagliari visual adaptation; does not depend on Joomla CSS. */
:root {
  --navy: #112855;
  --navy-2: #2d3a73;
  --ink: #1c304a;
  --gold: #ae9b76;
}
.official-site-header {
  position: relative;
  z-index: 50;
  background: linear-gradient(135deg,#112855 0%,#424077 100%);
  color: #fff;
}
.official-header-main {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 134px;
  padding: 24px 3% 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.official-logo-link { display: inline-block; width: min(59vw,850px); }
.official-logo-link img { display: block; width: 100%; height: auto; max-height: 92px; object-fit: contain; object-position: left center; }
.official-section-label { font-size: 10px; letter-spacing: .22em; font-weight: 700; color: #e8e8f1; opacity: .85; white-space: nowrap; }
.official-header-nav { border-top: 1px solid rgba(255,255,255,.12); max-width: 1440px; margin: 0 auto; }
.official-nav { display: flex; gap: 0; align-items: center; padding: 0 2%; min-height: 57px; }
.official-nav a { padding: 18px 18px; font-size: 12px; font-weight: 600; letter-spacing: .075em; color: #f8f8fc; transition: background .2s; }
.official-nav a:hover,.official-nav a.official-current { background: rgba(255,255,255,.09); text-decoration: underline; text-underline-offset: 7px; }
.official-mobile-nav { display: none; }
.official-logo-link:focus-visible, .official-site-header a:focus-visible { outline-color: #fff; }
.hero { background: linear-gradient(120deg,#112855,#182f51 55%,#242e5b); }
.hero .hero-grain { opacity: .045; }
.hero-description { color: #d9dfe8; }
.hero .hero-bottom-label { color: #bac7e0; }
.hero h1 em { color: #d8c39a; }
.intro-logo-link { display: block; width: min(700px,92vw); margin: -42px auto 43px; text-decoration: none; }
.intro-logo-link picture { display: block; }
.intro-logo-link:hover .official-clubhouse-logo { filter: brightness(1.04); }
.official-clubhouse-logo { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 14px 38px rgba(15,38,68,.14); transition: filter .2s; }
.intro-signature { line-height: 1.45; }
.intro-signature span:last-child { font-size: clamp(17px,2.4vw,24px); }
.clubhouse-access-note { font-size: 11px; margin: 19px auto 0; color: #667983; line-height: 1.8; }
.menu-area { background: #f9f8f2; }
.menu-controls { background: rgba(249,248,242,.97); }
.view-tab.is-selected, .dock-tab.is-selected,.reset-search { background: #112855; }
.menu-item-name { color: #1b304b; }
.menu-intro h2 { color: #1e3552; }
.outro { background: linear-gradient(120deg,#112855,#273b69); }
.site-footer { background: #0e2147; }
.footer-ycc-logo { width: min(400px,90vw); height: auto; display: block; margin-bottom: 19px; border-radius: 3px; }
.footer-brand { justify-content: end; }
.footer-main { font-size: clamp(17px,2.3vw,25px); line-height: 1.22; }
.footer-base a { color: #bccbe1; }
.footer-base a:hover { color: white; }
@media (max-width: 760px) {
  .official-header-main { padding: 16px 5%; min-height: 86px; }
  .official-logo-link { width: min(78vw,400px); }
  .official-logo-link img { max-height: 68px; }
  .official-section-label { display: none; }
  .official-header-nav { position: relative; min-height: 0; }
  .official-nav { display: none; }
  .official-mobile-nav { display: block; font-size: 12px; }
  .official-mobile-nav summary { list-style: none; user-select: none; padding: 13px 5%; display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .2em; cursor: pointer; }
  .official-mobile-nav summary::-webkit-details-marker { display: none; }
  .official-mobile-nav summary span { font-size: 18px; }
  .official-mobile-nav[open] nav { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.17); background: #142e5b; }
  .official-mobile-nav nav a { padding: 16px 5%; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 12px; letter-spacing: .07em; font-weight: 600; }
  .intro-logo-link { width: min(380px,88vw); margin: -20px auto 34px; }
  .footer-ycc-logo { width: min(350px,88vw); }
}

@media (max-width: 760px) { .official-section-label { display: none; } .intro-signature { flex-direction: column; gap: 7px; } .intro-signature span:last-child { font-size: 18px; } }


/* Association identity, reservation prominence, and menu sections. */
.hero-booking {
  display: flex; flex-direction: column; align-items: flex-start;
  max-width: 372px; padding: 17px 21px 18px; margin-top: 24px;
  background: #233e5e; border: 1px solid rgba(229,206,166,.67);
  border-left: 4px solid #d2b88e;
}
.hero-booking-kicker { font-size: 10px; font-weight: 700; letter-spacing: .18em; color: #e1cdaa; }
.hero-booking-number {
  display: flex; gap: 11px; align-items: center; color: #fff8e5;
  font-size: clamp(23px,2.65vw,34px); font-weight: 700; line-height: 1.35;
  white-space: nowrap; margin: 6px 0; letter-spacing: -.045em;
}
.hero-booking-number:hover { color: #ead3a8; }
.hero-phone-icon { font-size: 22px; color: #e6cb95; line-height: 1; }
.hero-booking-hint { font-size: 10px; color: #d1dbea; }
.hero-actions { margin-top: 25px; }
.clubhouse-role-note { font-size: 13px; font-weight: 700; color: #304966; margin: 25px auto 0; line-height: 1.7; }
.clubhouse-role-note span { color: #b4986d; margin: 0 6px; }
.clubhouse-access-note { margin-top: 10px; }
.official-section-label { max-width: 380px; text-align: right; white-space: normal; line-height: 1.7; }
.view-switch { gap: 3px; }
.view-tab { min-width: 148px; padding: 14px 18px; }
.view-tab[data-view="sport"] { color: #465976; border-left: 1px solid #ddd7c6; }
.view-tab[data-view="sport"].is-selected { color: white; background: #385371; }
.menu-view-heading {
  display: flex; align-items: baseline; gap: 16px;
  margin: 28px 0 0; padding: 13px 19px;
  border-left: 3px solid #c09f67; background: #ebe9df;
}
.menu-view-label { white-space: nowrap; font-size: 11px; font-weight: 800; color: #29465c; letter-spacing: .09em; }
.menu-view-heading p { margin: 0; font-size: 12px; line-height: 1.6; color: #677884; }
.menu-controls.is-sport-pending .filter-row { display: none; }
.search-box[hidden] { display: none !important; }
.menu-content { min-height: 370px; }
.sport-placeholder {
  position: relative; overflow: hidden; text-align: center;
  margin: 39px 0 22px; padding: 70px 25px 82px;
  background: #eaece8; border: 1px solid #d4dacf;
  border-top: 4px solid #385371;
}
.sport-placeholder::before, .sport-placeholder::after {
  content: ""; position: absolute; border: 1px solid rgba(77,106,129,.12);
  border-radius: 50%; width: 350px; height: 350px; pointer-events: none;
}
.sport-placeholder::before { top: -225px; left: -160px; }
.sport-placeholder::after { bottom: -250px; right: -155px; }
.sport-placeholder-eyebrow { font-size: 11px; letter-spacing: .2em; font-weight: 800; color: #7a8b8a; margin: 0 0 24px; }
.sport-placeholder-icon { display: block; margin-bottom: 13px; color: #bd9e68; font-size: 24px; }
.sport-placeholder h3 { font: 400 clamp(39px,4.7vw,59px)/1.15 var(--serif); color: #243f55; margin: 0 auto 20px; max-width: 700px; }
.sport-placeholder-text { font-size: 14px; color: #607585; line-height: 1.9; margin: 0 auto 28px; max-width: 520px; }
.sport-placeholder-contact { display: inline-block; color: #284764; padding: 13px 4px; border-bottom: 1px solid #8294a0; font-size: 12px; font-weight: 700; }
.sport-placeholder-contact:hover { color: #ad8c57; }
.dock-call { background: #d4b98a; font-weight: 700; }
@media (max-width: 1080px) {
  .control-top { align-items: stretch; }
  .view-tab { min-width: 0; padding: 14px 13px; font-size: 11px; }
}
@media (max-width: 760px) {
  .hero-container { padding-top: 45px; }
  .hero h1 { margin-top: 23px; margin-bottom: 17px; }
  .hero-booking { width: min(100%,350px); margin-top: 20px; padding: 14px 17px 15px; }
  .hero-booking-number { font-size: clamp(22px,6.8vw,28px); }
  .hero-booking-hint { font-size: 10px; }
  .hero-actions { margin-top: 22px; }
  .clubhouse-role-note { max-width: 310px; font-size: 12px; }
  .view-switch { width: 100%; gap: 0; }
  .view-tab { flex: 1; min-width: 0; font-size: 10px; padding: 12px 5px; }
  .view-tab span { display: block; padding: 0 0 4px; font-size: 9px; }
  .menu-view-heading { flex-direction: column; align-items: flex-start; gap: 3px; margin-top: 20px; padding: 12px 15px; }
  .menu-view-heading p { font-size: 11px; }
  .sport-placeholder { padding: 52px 22px 62px; }
  .sport-placeholder h3 { font-size: 42px; }
  .dock-tab { font-size: 11px; padding: 12px 3px; }
  .dock-call { width: 45px; }
}
@media (max-width: 380px) {
  .hero-booking-number { font-size: 21px; }
  .view-tab { font-size: 9px; }
  .dock-tab { font-size: 10px; }
}


/* Compact site revision: one introduction, the menu in the first viewport, readable text. */
html { scroll-padding-top: 20px; }
body { font-size: 16px; }
.official-header-main {
  min-height: 84px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.official-logo-link { width: min(45vw, 570px); }
.official-logo-link img { max-height: 69px; }
.official-header-nav { border-top-color: rgba(255,255,255,.1); }
.official-nav { min-height: 46px; }
.official-nav a { padding: 12px 16px; font-size: 13px; }
.official-section-label { font-size: 11px; }
.compact-hero { min-height: 0; }
.compact-hero::before, .compact-hero::after { display: none; }
.compact-hero .hero-container {
  min-height: 0;
  max-width: 1440px;
  padding: 27px 6.2% 31px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(300px,376px);
  align-items: center;
  column-gap: clamp(32px,6vw,95px);
}
.compact-hero .hero-copy { padding: 0; }
.compact-hero .hero-copy .eyebrow { font-size: 11px; letter-spacing: .14em; }
.compact-hero h1 {
  font-family: var(--serif);
  font-size: clamp(49px,5.2vw,76px);
  line-height: 1.03;
  letter-spacing: -.045em;
  margin: 15px 0 9px;
  white-space: normal;
}
.compact-hero h1 em { font-style: italic; color: #dec39b; }
.compact-hero .hero-description {
  max-width: 620px;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #dde2e6;
}
.compact-hero .hero-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 13px 0 0;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(236,214,173,.8);
  color: #f3e9d8;
  font-size: 14px;
  font-weight: 700;
}
.compact-hero .hero-menu-link:hover { color: #fff; }
.compact-hero .hero-booking {
  margin: 0;
  padding: 19px 21px;
  background: #28496a;
  border-color: rgba(222,203,169,.7);
  max-width: none;
  border-radius: 3px;
}
.compact-hero .hero-booking-kicker { font-size: 12px; letter-spacing: .13em; }
.compact-hero .hero-booking-number { font-size: clamp(24px,2.4vw,34px); margin: 9px 0; letter-spacing: -.035em; }
.compact-hero .hero-booking-hint { font-size: 12px; }
.menu-area { padding: 35px 6.2% 58px; }
.menu-intro { margin-bottom: 16px; align-items: end; }
.menu-intro h2 {
  font-size: clamp(42px,4.7vw,64px);
  letter-spacing: -.045em;
  margin: 7px 0 0;
}
.menu-intro .eyebrow { font-size: 11px; }
.menu-intro-caption { font-size: 15px; max-width: 320px; line-height: 1.55; margin-bottom: 5px; }
.menu-controls { padding: 9px 0 9px; }
.control-top { gap: 24px; }
.view-switch { padding: 3px; }
.view-tab { font-size: 14px; min-width: 155px; padding: 12px 16px; }
.view-tab span { font-size: 11px; }
.search-box { width: min(100%,390px); }
.search-box input { font-size: 15px; padding: 12px 0; }
.search-box svg { width: 20px; height: 20px; }
.shortcut-label { font-size: 11px; }
.filter-row { margin-top: 8px; }
.filter-pill { padding: 9px 14px; font-size: 13px; }
.results-count { font-size: 12px; }
.menu-view-heading { display: none; }
.menu-content { padding-top: 0; min-height: 280px; }
.menu-section { padding-top: 25px; }
.menu-section + .menu-section { padding-top: 48px; }
.section-head { margin-bottom: 8px; }
.section-head h3 { font-size: clamp(36px,3.45vw,46px); }
.section-index { width: 39px; height: 39px; font-size: 13px; }
.source-btn { font-size: 12px; }
.items-grid { column-gap: 55px; }
.menu-item { padding: 14px 0; align-items: baseline; }
.menu-item-name { font-size: 17px; line-height: 1.45; }
.menu-item-detail { font-size: 14px; line-height: 1.55; margin-top: 3px; }
.menu-item-price { font-size: 17px; }
.menu-item-price.is-daily { font-size: 12px; }
.menu-footnote { margin-top: 40px; padding-top: 18px; max-width: 940px; }
.menu-footnote p { font-size: 13px; line-height: 1.55; }
.sport-placeholder { margin: 24px 0 0; padding: 49px 30px 56px; }
.sport-placeholder h3 { font-size: clamp(36px,3.7vw,51px); }
.sport-placeholder-text { font-size: 16px; }
.sport-placeholder-contact { font-size: 15px; }
.site-footer { padding: 38px 6.2% 24px; }
.footer-inner {
  grid-template-columns: 1.6fr 1fr 1fr auto;
  align-items: center;
  padding-bottom: 35px;
}
.footer-brand { gap: 8px; }
.footer-ycc-logo { width: min(320px,100%); margin-bottom: 5px; }
.footer-main { font-size: 23px; }
.footer-location strong, .footer-contact a { font-size: 15px; }
.footer-location span, .footer-contact span { font-size: 11px; }
.footer-base { font-size: 12px; }
.back-to-top { font-size: 12px; }

@media (max-width: 1000px) {
  .compact-hero .hero-container {
    padding-left: 4.5%; padding-right: 4.5%;
    grid-template-columns: minmax(0,1fr) minmax(275px,340px);
    column-gap: 20px;
  }
  .compact-hero h1 { font-size: clamp(47px,6vw,66px); }
  .menu-area { padding-left: 4.5%; padding-right: 4.5%; }
  .view-tab { min-width: 0; font-size: 12px; }
  .items-grid { column-gap: 32px; }
}
@media (max-width: 760px) {
  .official-header-main { min-height: 73px; padding: 10px 5%; }
  .official-logo-link { width: min(80vw,400px); }
  .official-logo-link img { max-height: 55px; }
  .compact-hero .hero-container {
    display: flex; flex-direction: column; gap: 18px;
    padding: 27px 5.5% 28px;
  }
  .compact-hero .hero-copy { width: 100%; }
  .compact-hero h1 { font-size: clamp(49px,10vw,67px); margin: 13px 0 8px; }
  .compact-hero .hero-copy .eyebrow { font-size: 9px; }
  .compact-hero .hero-description { font-size: 14px; line-height: 1.5; }
  .compact-hero .hero-menu-link { font-size: 13px; margin-top: 11px; }
  .compact-hero .hero-booking { width: 100%; padding: 14px 16px; }
  .compact-hero .hero-booking-kicker { font-size: 11px; }
  .compact-hero .hero-booking-number { font-size: clamp(25px,7vw,30px); }
  .compact-hero .hero-booking-hint { font-size: 11px; }
  .menu-area { padding: 28px 5.5% 64px; }
  .menu-intro { margin-bottom: 13px; }
  .menu-intro h2 { font-size: clamp(45px,10vw,59px); margin-top: 8px; }
  .menu-intro-caption { margin: 10px 0 0; font-size: 14px; max-width: 100%; }
  .menu-controls { padding: 8px 0; }
  .control-top { gap: 8px; }
  .view-tab { font-size: 11px; padding: 11px 4px; }
  .view-tab span { font-size: 10px; }
  .search-box input { font-size: 14px; padding: 10px 0; }
  .filter-pill { font-size: 12px; padding: 8px 11px; }
  .menu-content { min-height: 240px; }
  .menu-section { padding-top: 22px; }
  .menu-section + .menu-section { padding-top: 38px; }
  .section-head h3 { font-size: clamp(37px,9vw,45px); }
  .menu-item { padding: 14px 0; }
  .menu-item-name { font-size: 16px; }
  .menu-item-detail { font-size: 13px; }
  .menu-item-price { font-size: 16px; }
  .menu-item-price.is-daily { font-size: 11px; }
  .menu-footnote p { font-size: 12px; }
  .site-footer { padding: 35px 5.5% 100px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 25px; padding-bottom: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-ycc-logo { width: min(320px,100%); }
  .footer-location strong, .footer-contact a { font-size: 13px; }
  .footer-base { font-size: 11px; }
}

/* Final density adjustment: the blue banner is the only introduction. */
.menu-area { padding-top: 21px; }
.menu-section { padding-top: 19px; }
.menu-section + .menu-section { padding-top: 43px; }
@media (max-width: 760px) {
  .menu-area { padding-top: 15px; }
  .menu-section { padding-top: 18px; }
  .menu-section + .menu-section { padding-top: 35px; }
  .source-btn { font-size: 0; max-width: 30px; min-width: 30px; overflow: hidden; padding: 8px 0 8px 5px; }
  .source-btn span { font-size: 21px; }
}


/* Two untouched original brand marks, separated by a single fine rule. */
.official-header-main {
  justify-content: flex-start;
  gap: clamp(13px,2vw,27px);
}
.official-logo-link {
  flex: 0 1 505px;
  min-width: 0;
  width: auto;
}
.official-logo-link img {
  max-height: 66px;
  width: 100%;
  object-fit: contain;
  object-position: left center;
}
.official-header-divider {
  width: 1px;
  height: 53px;
  flex: 0 0 1px;
  background: rgba(230,202,158,.72);
}
.clubhouse-header-link {
  flex: 0 1 260px;
  display: flex;
  align-items: center;
  min-width: 0;
}
.clubhouse-header-logo {
  width: 100%;
  max-height: 65px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.clubhouse-header-link:focus-visible { outline: 2px solid #f5dcab; outline-offset: 5px; }
@media (max-width: 760px) {
  .official-header-main {
    min-height: 68px;
    padding: 10px 4%;
    gap: clamp(8px,2.2vw,13px);
    justify-content: flex-start;
  }
  .official-logo-link { flex: 1.55 1 0; width: auto; }
  .official-logo-link img { width: 100%; max-height: 47px; }
  .official-header-divider { height: 31px; }
  .clubhouse-header-link { flex: 1 1 0; width: auto; }
  .clubhouse-header-logo { max-height: 46px; width: 100%; }
}


/* Access policy prominently displayed below the club identity. */
.compact-hero .hero-access-notice {
  display: block;
  margin: 10px 0 4px;
  max-width: 685px;
  padding: 9px 15px;
  border-left: 3px solid #e7c78e;
  background: rgba(255,255,255,.08);
  color: #f6eddb;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .compact-hero .hero-access-notice {
    margin: 10px 0 4px;
    padding: 9px 12px;
    font-size: 13px;
    line-height: 1.45;
  }
}


/* Approved balanced header layout */
.compact-hero { background: linear-gradient(108deg,#152c52,#222e58); }
.compact-hero .hero-container {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(315px,378px);
  gap: clamp(30px,7vw,100px);
  align-items: center;
  max-width: 1440px;
  padding: 44px 6.2% 26px;
}
.compact-hero .hero-copy { display: flex; flex-direction: column; justify-content: center; }
.compact-hero h1 {
  font-size: clamp(61px,5.9vw,85px);
  line-height: 1.04;
  margin: 0 0 12px;
}
.compact-hero .hero-description { font-size: 17px; margin: 0; line-height: 1.52; color:#e8e9ed; }
.compact-hero .hero-booking {
  padding: 20px 23px;
  border: 1px solid rgba(236,212,167,.54);
  border-left: 3px solid #e0c18c;
  background:#304c6e;
  box-shadow: 0 15px 38px rgba(5,20,38,.12);
}
.compact-hero .hero-booking-kicker { font-size: 12px; }
.compact-hero .hero-booking-number { font-size: clamp(26px,2.3vw,34px); margin: 9px 0; }
.compact-hero .hero-booking-hint { font-size: 12px; }
.access-policy-bar {
  border-top: 1px solid rgba(224,207,180,.24);
  background: rgba(3,19,38,.18);
  padding: 15px 6.2%;
  color: #f1eddf;
}
.access-policy-bar .policy-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: baseline;
}
.access-policy-label {
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 800;
  color: #e7cb98;
}
.access-policy-bar p { margin: 0; padding: 0; font-size: 14px; line-height: 1.55; }
.menu-area { padding-top: 21px; }
@media (max-width: 900px) {
  .compact-hero .hero-container {
    gap: 28px;
    grid-template-columns: minmax(0,1fr) minmax(250px,320px);
    padding: 30px 4.5% 24px;
  }
  .compact-hero h1 { font-size: clamp(48px,6vw,65px); }
  .compact-hero .hero-description { font-size: 15px; }
  .compact-hero .hero-booking-number { font-size: 26px; }
  .access-policy-bar { padding: 14px 4.5%; }
}
@media (max-width: 760px) {
  .compact-hero .hero-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 26px 5.5% 22px;
  }
  .compact-hero h1 { font-size: clamp(53px,11vw,68px); margin: 0 0 9px; }
  .compact-hero .hero-description { font-size: 14px; }
  .compact-hero .hero-booking { width: 100%; padding: 14px 16px; }
  .compact-hero .hero-booking-number { font-size: clamp(25px,7vw,30px); }
  .access-policy-bar { padding: 13px 5.5% 15px; }
  .access-policy-bar .policy-inner { flex-direction: column; gap: 6px; }
  .access-policy-label { font-size: 10px; }
  .access-policy-bar p { font-size: 13px; line-height: 1.5; }
  .menu-area { padding-top: 14px; }
}
