
 :root{
  --blue:#173b70;
  --blue-dark:#0e2b52;
  --red:#b5122b;
  --gold:#b28a3b;
  --ink:#29251f;
  --muted:#6e665b;
  --paper:#fffdf8;
  --bg:#f3eee3;
  --line:#d9cdb8;
  --shadow:0 8px 22px rgba(68,48,25,.12);
  --radius:8px;
  --cream:#f7f1e4;
  --burgundy:#761c2a;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:
    linear-gradient(rgba(247,241,228,.95),rgba(247,241,228,.97)),
    url("../images/club01a.jpg") center/cover fixed;
  font-family:Georgia,"Times New Roman",serif;
  line-height:1.7;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  opacity:.045;
  background:
    linear-gradient(45deg,#b5122b 25%,transparent 25%,transparent 75%,#b5122b 75%),
    linear-gradient(45deg,#b5122b 25%,transparent 25%,transparent 75%,#b5122b 75%);
  background-position:0 0,12px 12px;
  background-size:24px 24px;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.035;
  z-index:-1;
  background-image:
    linear-gradient(45deg,#c8102e 25%,transparent 25%,transparent 75%,#c8102e 75%),
    linear-gradient(45deg,#c8102e 25%,transparent 25%,transparent 75%,#c8102e 75%);
  background-position:0 0,10px 10px;
  background-size:20px 20px;
}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--red)}
img{max-width:100%;height:auto}
.site-header{
  background:
    linear-gradient(rgba(14,43,82,.90),rgba(23,59,112,.94)),
    url("../images/club01a.jpg") center/cover;
  color:white;
  position:relative;
  overflow:hidden;
}
.site-header:after{
  content:"";position:absolute;inset:auto -10% -70px -10%;height:130px;
  background:var(--red);transform:rotate(-2deg);opacity:.92;
}
.header-inner{max-width:1180px;margin:auto;padding:42px 24px 58px;position:relative;z-index:1}
.eyebrow{font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;font-weight:800;opacity:.82}
.brand{font-family:Georgia,serif;font-size:clamp(2rem,5vw,4rem);letter-spacing:.01em;line-height:1.05;margin:.3rem 0 .65rem}
.tagline{font-size:clamp(1rem,2vw,1.25rem);max-width:720px;margin:0;opacity:.93}
.gold-rule{width:86px;height:5px;background:var(--gold);border-radius:5px;margin:22px 0}
.site-nav{background:var(--cream);border-bottom:3px double var(--gold);box-shadow:0 3px 12px rgba(68,48,25,.08);position:sticky;top:0;z-index:20}
.nav-inner{max-width:1180px;margin:auto;padding:0 16px;display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.nav-link,.social,.nav-group-label{
  display:block;padding:15px 12px;font-family:Arial,sans-serif;font-size:.88rem;font-weight:750;white-space:nowrap
}
.nav-link:hover,.social:hover{background:#f1f5fa}
.nav-group{position:relative}
.nav-group-label{cursor:default;color:var(--ink)}
.nav-dropdown{
  display:none;position:absolute;top:100%;left:0;background:#fff;min-width:210px;
  box-shadow:var(--shadow);border:1px solid var(--line);border-radius:0 0 12px 12px;overflow:hidden
}
.nav-group:hover .nav-dropdown{display:block}
.nav-dropdown a{display:block;padding:11px 15px;border-bottom:1px solid #eef1f5;font-size:.9rem}
main{max-width:1080px;margin:0 auto;padding:38px 20px 70px}
.hero{
  min-height:460px;border-radius:4px;overflow:hidden;display:flex;align-items:end;
  background:linear-gradient(90deg,rgba(5,24,55,.86),rgba(5,24,55,.25)),url("../images/club01a.jpg") center/cover;
  box-shadow:var(--shadow);color:#fff;margin-bottom:30px;border:4px solid rgba(178,138,59,.55)
}
.hero-content{padding:42px;max-width:720px}
.hero h1{font-family:Georgia,serif;font-size:clamp(2.3rem,5vw,4.2rem);text-shadow:0 2px 12px rgba(0,0,0,.35);line-height:1.05;margin:0 0 15px}
.hero p{font-size:1.12rem;margin:0 0 24px}
.button{
  display:inline-block;background:var(--red);color:#fff!important;padding:10px 18px;border-radius:4px;
  font-weight:800;margin:4px 6px 4px 0;box-shadow:0 5px 16px rgba(200,16,46,.25)
}
.button.alt{background:#fff;color:var(--blue)!important}
.section-title{font-family:Georgia,serif;font-size:2rem;margin:0 0 8px;color:var(--blue-dark)}
.section-intro{color:var(--muted);margin-top:0}
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0 36px}
.card{
  background:var(--paper);border:1px solid var(--line);border-radius:4px;padding:24px;box-shadow:var(--shadow)
}
.card h3{margin-top:0;color:var(--blue-dark);font-size:1.2rem}
.card .icon{font-size:1.7rem}
.content-card{background:var(--paper);border:1px solid var(--line);border-top:5px solid var(--red);border-radius:4px;padding:30px;box-shadow:var(--shadow);margin-bottom:24px}
.content-card h1,.content-card h2{font-family:Georgia,serif;color:var(--blue-dark)}
.content-card h1{font-size:2.45rem;margin-top:0}
.content-card h2{font-size:1.45rem;margin-top:28px}
.content-card p{max-width:850px}
.callout{border-left:5px solid var(--red);background:#fff7f8;padding:18px 20px;border-radius:10px;margin:20px 0}
.archive{border-left:5px solid var(--gold);background:#fffaf0;padding:16px 18px;border-radius:10px;margin:20px 0;color:#5b4a23}
.event-list{display:grid;gap:14px}
.event{
  display:grid;grid-template-columns:92px 1fr;gap:18px;align-items:start;background:#fff;border:1px solid var(--line);
  border-radius:16px;padding:18px;box-shadow:0 6px 20px rgba(12,35,64,.06)
}
.event-date{background:var(--blue);color:#fff;border-radius:13px;text-align:center;padding:10px 6px;font-weight:800}
.event-date strong{display:block;font-size:1.55rem;line-height:1}
.event-date span{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em}
.contact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.person{padding:18px;background:#fff;border:1px solid var(--line);border-radius:14px}
.person strong{display:block;color:var(--blue-dark)}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.gallery a{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:14px;background:#dfe6ef}
.gallery img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.gallery a:hover img{transform:scale(1.05)}
.link-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.link-list a{display:block;background:#fff;border:1px solid var(--line);padding:14px 16px;border-radius:12px;font-weight:650}
.site-footer{background:#071b3e;color:#cdd7e7;padding:32px 20px}
.footer-inner{max-width:1080px;margin:auto;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.footer-inner strong{color:#fff}
.small{font-size:.86rem;color:var(--muted)}
.mobile-note{display:none}
@media(max-width:900px){
  .card-grid{grid-template-columns:1fr 1fr}.gallery{grid-template-columns:repeat(3,1fr)}
  .nav-inner{overflow-x:auto;flex-wrap:nowrap}.nav-group:hover .nav-dropdown{display:none}
}
@media(max-width:650px){
  .header-inner{padding:30px 18px 48px}.hero{min-height:420px}.hero-content{padding:28px 22px}
  .card-grid,.contact-grid,.link-list{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(2,1fr)}
  main{padding:24px 14px 50px}.content-card{padding:22px}
  .event{grid-template-columns:70px 1fr}.site-footer{font-size:.9rem}
}

/* Croatian heritage accents */
.croatian-stripe{
  height:8px;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
}
.croatian-stripe span:nth-child(1){background:#c8102e}
.croatian-stripe span:nth-child(2){background:#fff}
.croatian-stripe span:nth-child(3){background:#0b3d91}
.croatian-pattern{
  position:relative;
  overflow:hidden;
}
.croatian-pattern:after{
  content:"";
  position:absolute;
  right:-20px;
  top:-20px;
  width:150px;
  height:150px;
  opacity:.07;
  background:
    linear-gradient(45deg,#c8102e 25%,transparent 25%,transparent 75%,#c8102e 75%),
    linear-gradient(45deg,#c8102e 25%,transparent 25%,transparent 75%,#c8102e 75%);
  background-position:0 0,12px 12px;
  background-size:24px 24px;
  transform:rotate(8deg);
}
.tamburitza-card{
  display:grid;
  grid-template-columns:110px 1fr;
  gap:20px;
  align-items:center;
}
.tamburitza-icon{
  width:100px;height:100px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(145deg,#f6dca0,#d6a84f);
  border:5px solid #fff;
  box-shadow:0 5px 18px rgba(80,50,10,.18);
  font-size:3.1rem;
  font-family:Georgia,serif;
}
.kolo-ribbon{
  display:inline-block;
  background:var(--red);
  color:#fff;
  padding:5px 13px;
  border-radius:999px;
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}
@media(max-width:650px){
  .tamburitza-card{grid-template-columns:1fr}
}

.site-footer a,
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:focus,
.site-footer a:active{
  color:#fff;
  text-decoration:underline;
}
.cfu-footer-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#fff!important;
}
.cfu-footer-logo{
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  flex:0 0 auto;
  background:#fff;
}

/* Hrvatska / Traditional Croatian accents */
.heritage-crest{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:76px;height:76px;
  margin-bottom:12px;
  border:3px solid var(--gold);
  border-radius:50%;
  background:var(--cream);
  box-shadow:0 3px 12px rgba(0,0,0,.2);
  font-size:2.3rem;
}
.heritage-motto{
  font-size:1.12rem;
  font-style:italic;
  letter-spacing:.04em;
  color:#f8e6b4;
}
.ornament{
  text-align:center;
  color:var(--gold);
  letter-spacing:.35em;
  margin:18px 0;
}
.ornament:before,.ornament:after{
  content:"◆";
  margin:0 10px;
  color:var(--red);
}
.tamburitza-feature{
  background:
    linear-gradient(90deg,rgba(23,59,112,.96),rgba(23,59,112,.80)),
    url("../images/club01a.jpg") center/cover;
  color:#fff;
  border:3px solid var(--gold);
  padding:30px;
  border-radius:4px;
  box-shadow:var(--shadow);
}
.tamburitza-feature h2{color:#fff}
.tamburitza-feature a{color:#f8e6b4}
.heritage-label{
  color:var(--red);
  font-family:Arial,sans-serif;
  text-transform:uppercase;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.18em;
}

.event h3 a,
.event h3 a:visited,
.event h3 a:hover,
.event h3 a:focus,
.event h3 a:active{
  text-decoration:underline;
}

/* User-provided St. Lawrence Club building photo in the Dobro Došli welcome box */
.welcome-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.75fr);
  align-items:center;
  gap:28px;
}
.welcome-photo-wrap{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.welcome-photo{
  width:75%;
  max-height:315px;
  object-fit:cover;
  display:block;
  margin:0;
  border:3px solid var(--gold);
  border-radius:4px;
  box-shadow:var(--shadow);
}

@media (max-width: 760px){
  .welcome-layout{
    grid-template-columns:1fr;
  }
  .welcome-photo-wrap{
    justify-content:center;
  }
  .welcome-photo{
    width:75%;
    max-height:300px;
  }
}

/* Final Dobro Došli adjustment:
   the existing club photo is the backdrop of the box;
   the red/gold bar is removed; text remains over the photo. */
.hero.croatian-pattern{
  position:relative;
  display:flex;
  align-items:end;
  min-height:460px;
  overflow:hidden;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(5,24,55,.76),rgba(5,24,55,.32)),
    url("images/st-lawrence-club-building.png") center center / cover no-repeat !important;
}

.hero.croatian-pattern .hero-content{
  position:relative;
  z-index:2;
  width:100%;
}

.hero.croatian-pattern .gold-rule{
  display:none !important;
}

.welcome-layout,
.welcome-photo-wrap,
.welcome-photo{
  display:none !important;
}

/* Classic-modern typography: elegant without Times New Roman */
body{
  font-family:"Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
}

.site-header,
.site-header *{
  font-family:"Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
}

.site-header nav,
.site-header nav *,
.nav,
.nav *{
  font-family:"Century Gothic","Avenir Next",Avenir,Montserrat,Arial,sans-serif;
}

.site-header .brand,
.site-header .site-title,
.site-header .brand-title,
.site-header h1{
  font-family:"Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
  font-weight:700;
  letter-spacing:.01em;
}

.site-header .tagline,
.site-header .motto{
  font-family:"Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
  font-style:italic;
}

.site-footer,
.site-footer *{
  font-family:"Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
}

h1,h2,h3,h4,h5,h6{
  font-family:"Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
}

button,
.button,
.nav a{
  font-family:"Century Gothic","Avenir Next",Avenir,Montserrat,Arial,sans-serif;
}

/* Smooth contemporary typography */
body,
h1,h2,h3,h4,h5,h6,
.site-header,
.site-header *,
.site-footer,
.site-footer *{
  font-family:Aptos, Calibri, "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.site-header .brand,
.site-header .site-title,
.site-header .brand-title,
.site-header h1{
  font-family:Aptos, Calibri, "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight:700;
  letter-spacing:-.015em;
}

.site-header .brand-subtitle{
  font-family:Aptos, Calibri, "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight:400;
}

.site-header .tagline,
.site-header .motto{
  font-family:Aptos, Calibri, "Segoe UI", Arial, Helvetica, sans-serif;
  font-style:italic;
  font-weight:400;
}

.site-header nav,
.site-header nav *,
.nav,
.nav *,
button,
.button{
  font-family:Aptos, Calibri, "Segoe UI", Arial, Helvetica, sans-serif;
}

/* Logo header placement only — original Smooth Modern colors preserved. */
.site-header{
  position:relative;
  overflow:hidden;
  border-bottom:0;
  box-shadow:none;
  padding-bottom:14px;
}

.site-header .header-inner{
  max-width:1180px;
  min-height:170px;
  margin:0 auto;
  padding:10px 34px 0;
  display:flex;
  align-items:center;
  gap:22px;
}

.site-header .header-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 150px;
  width:150px;
  height:150px;
  margin-bottom:-8px;
  text-decoration:none;
}

.site-header .header-logo img{
  display:block;
  width:150px;
  height:150px;
  object-fit:contain;
  mix-blend-mode:multiply;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.22));
}

.site-header .header-copy{
  flex:1;
  min-width:0;
  padding-top:4px;
}

.site-header .site-title{
  font-family:Aptos, Calibri, "Segoe UI", Arial, sans-serif;
  font-size:clamp(1.8rem,3.4vw,2.75rem);
  line-height:1.02;
  font-weight:700;
  letter-spacing:-.02em;
}

.site-header .site-subtitle{
  margin-top:4px;
  font-family:Aptos, Calibri, "Segoe UI", Arial, sans-serif;
  font-size:clamp(1.15rem,2vw,1.55rem);
  line-height:1.08;
}

.site-header .header-gold-line{
  width:min(680px,100%);
  height:3px;
  margin:11px 0 8px;
  background:#d4af37;
  border-radius:3px;
}

.site-header .site-motto{
  color:#d4af37;
  font-family:Aptos, Calibri, "Segoe UI", Arial, sans-serif;
  font-size:clamp(1rem,1.6vw,1.25rem);
  line-height:1.1;
  font-style:italic;
}

/* Put the existing red bottom bar below all header content. */
.site-header + .nav,
.site-header + nav{
  margin-top:0;
}

@media(max-width:700px){
  .site-header .header-inner{
    min-height:135px;
    padding:8px 18px 0;
    gap:14px;
  }
  .site-header .header-logo{
    flex-basis:110px;
    width:110px;
    height:115px;
  }
  .site-header .header-logo img{
    width:110px;
    height:110px;
  }
}

@media(max-width:480px){
  .site-header .header-inner{
    min-height:110px;
  }
  .site-header .header-logo{
    flex-basis:78px;
    width:78px;
    height:85px;
  }
  .site-header .header-logo img{
    width:78px;
    height:78px;
  }
  .site-header .site-title{font-size:1.45rem;}
  .site-header .site-subtitle{font-size:.95rem;}
  .site-header .site-motto{font-size:.82rem;}
}

/* User-requested final header adjustment: remove the bottom red bar only. */
.site-header{
  border-bottom:0 !important;
}
.site-header:after{
  display:none !important;
}

/* Header motto: white */
.site-header .site-motto,
.site-header .tagline,
.site-header .motto{
  color:#ffffff !important;
}

/* Logo artwork: transparent outside the emblem, white inside the emblem preserved. */
.site-header .header-logo img{
  object-fit:contain;
}

/* Header blue matched exactly to the footer blue */
.site-header {
  background:#071b3e !important;
}


/* Vivodina history page */
.vivodina-hero-photo{
  margin:24px 0 30px;
}
.vivodina-hero-photo img{
  display:block;
  width:100%;
  max-height:500px;
  object-fit:cover;
  border:1px solid var(--line);
  border-radius:6px;
  box-shadow:var(--shadow);
}
.vivodina-hero-photo figcaption{
  margin-top:8px;
  font-size:.82rem;
  color:var(--muted);
  font-style:italic;
}
.vivodina-note{
  margin:30px 0 10px;
  padding:22px 24px;
  border-left:5px solid var(--red);
  background:var(--cream);
  border-radius:4px;
}
.vivodina-note p{
  margin-bottom:0;
}
.source-note{
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid var(--line);
  font-size:.85rem;
  color:var(--muted);
}

/* Adult Tammies Directors page */
.director-profile{
  margin:0 0 28px;
  padding:22px 24px;
  background:rgba(255,255,255,.45);
  border-left:4px solid var(--red);
  border-radius:4px;
}
.director-profile:last-child{margin-bottom:0;}
.director-profile h2{margin-top:0;}
.director-profile p:last-child{margin-bottom:0;}
.past-directors ul{margin-bottom:0;}

.officers-box{width:100%;box-sizing:border-box;text-align:left;padding:26px 30px;background:rgba(255,255,255,.5);border-left:4px solid var(--red);border-radius:4px}
.officers-box h2{margin-top:0;margin-bottom:18px}
.officer-list{display:flex;flex-direction:column;gap:10px;text-align:left}
.officer-list div{text-align:left}

/* Adult Tammies shared four-page navigation */
.adult-tammies-nav{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:10px;
  margin:0 0 26px;
  width:100%;
}
.adult-nav-box{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 12px;
  box-sizing:border-box;
  background:var(--red);
  color:#fff !important;
  text-decoration:none !important;
  border-radius:4px;
  font-weight:700;
  text-align:center;
  transition:transform .15s ease, opacity .15s ease;
}
.adult-nav-box:hover{
  opacity:.9;
  transform:translateY(-1px);
}
@media(max-width:700px){
  .adult-tammies-nav{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:420px){
  .adult-tammies-nav{
    grid-template-columns:1fr;
  }
}

/* Jr. Tammies shared four-page navigation */
.jr-tammies-nav{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:10px;
  margin:0 0 26px;
  width:100%;
}
.jr-nav-box{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 12px;
  box-sizing:border-box;
  background:var(--red);
  color:#fff !important;
  text-decoration:none !important;
  border-radius:4px;
  font-weight:700;
  text-align:center;
  transition:transform .15s ease, opacity .15s ease;
}
.jr-nav-box:hover{
  opacity:.9;
  transform:translateY(-1px);
}
@media(max-width:700px){
  .jr-tammies-nav{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:420px){
  .jr-tammies-nav{
    grid-template-columns:1fr;
  }
}

/* History pages shared navigation */
.history-nav{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:0 0 26px;
  width:100%;
}
.history-nav-box{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 12px;
  box-sizing:border-box;
  background:var(--red);
  color:#fff !important;
  text-decoration:none !important;
  border-radius:4px;
  font-weight:700;
  text-align:center;
  transition:transform .15s ease, opacity .15s ease;
}
.history-nav-box:hover{
  opacity:.9;
  transform:translateY(-1px);
}
@media(max-width:420px){
  .history-nav{
    grid-template-columns:1fr;
  }
}

.adult-tamburitzans-photo{margin:18px 0 28px;text-align:center}
.adult-tamburitzans-photo img{display:block;width:100%;max-width:1200px;height:auto;margin:0 auto;border-radius:6px;box-shadow:var(--shadow)}
.adult-tamburitzans-photo figcaption{margin-top:8px;font-size:.85rem;color:var(--muted);font-style:italic}

/* Sv. Lovro Jr. Tamburitzans group photo */
.jr-tamburitzans-photo{
  margin:18px 0 28px;
  text-align:center;
}
.jr-tamburitzans-photo img{
  display:block;
  width:100%;
  max-width:1200px;
  height:auto;
  margin:0 auto;
  border-radius:6px;
  box-shadow:var(--shadow);
}
.jr-tamburitzans-photo figcaption{
  margin-top:8px;
  font-size:.85rem;
  color:var(--muted);
  font-style:italic;
}

/* EVENTS 2X2 FIX */
.card-grid.events-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.card-grid.events-2x2 > .card {
  width: auto;
  margin: 0;
}
@media (max-width: 700px) {
  .card-grid.events-2x2 {
    grid-template-columns: 1fr;
  }
}

.footer-right{text-align:right}
