/*
Theme Name: The Journal Belvedere Premium
Theme URI: https://thejournalbelvedere.com/
Author: OpenAI
Description: Premium editorial WordPress theme for The Journal Belvedere.
Version: 4.0
Text Domain: the-journal-belvedere
*/

:root{
  --jb-bg:#f4efeb;
  --jb-surface:#f6f2ee;
  --jb-paper:#fffdf9;
  --jb-text:#171412;
  --jb-muted:#7a7169;
  --jb-line:#e2d9cf;
  --jb-accent:#171412;
  --jb-ui:"Inter","Helvetica Neue",Arial,sans-serif;
  --jb-serif:"Cormorant Garamond",Georgia,serif;
  --jb-max:1440px;
  --jb-shadow:0 18px 50px rgba(34,24,17,.06);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--jb-bg);
  color:var(--jb-text);
  font-family:var(--jb-ui);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
a:hover{opacity:.88}
button,input,textarea,select{font:inherit}
.site-wrap{min-height:100vh}
.jb-container{width:min(calc(100% - 40px), var(--jb-max));margin:0 auto}
.screen-reader-text{position:absolute;left:-9999px}

/* Header */
.site-header{
  background:var(--jb-bg);
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid rgba(226,217,207,.65);
}
.site-header__inner{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:18px;
  padding:18px 0 14px;
}
.site-header__spacer{min-height:1px}
.site-header__brand{
  display:flex;
  justify-content:center;
}
.site-header__brand img{
  width:min(100%, 820px);
  height:auto;
}
.site-header__right{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:10px;
}
.header-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 12px;
  border-radius:999px;
  font-size:.72rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--jb-text);
}
.header-link:hover{
  background:rgba(255,255,255,.55);
  border-color:var(--jb-line);
}
.header-link--member{
  border:1px solid var(--jb-line);
  background:rgba(255,255,255,.45);
}
.hamburger{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid var(--jb-line);
  background:rgba(255,255,255,.45);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.hamburger__lines,
.hamburger__lines::before,
.hamburger__lines::after{
  content:"";
  display:block;
  width:17px;
  height:1.6px;
  border-radius:2px;
  background:#1d1815;
  position:relative;
}
.hamburger__lines::before{position:absolute;top:-6px;left:0}
.hamburger__lines::after{position:absolute;top:6px;left:0}

/* Drawer */
.drawer-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.18);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  z-index:110;
}
.drawer-backdrop.is-open{opacity:1;pointer-events:auto}
.drawer{
  position:fixed;
  top:0;right:0;bottom:0;
  width:min(400px,100%);
  background:rgba(250,247,243,.98);
  border-left:1px solid var(--jb-line);
  transform:translateX(100%);
  transition:transform .25s ease;
  z-index:120;
  padding:28px 24px;
  box-shadow:-14px 0 40px rgba(0,0,0,.08);
}
.drawer.is-open{transform:translateX(0)}
.drawer__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px;
}
.drawer__label{
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--jb-muted);
}
.drawer__close{
  background:none;
  border:0;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
}
.drawer nav ul{
  list-style:none;
  margin:0;
  padding:0;
}
.drawer nav li{
  border-top:1px solid var(--jb-line);
}
.drawer nav li:last-child{
  border-bottom:1px solid var(--jb-line);
}
.drawer nav a{
  display:block;
  padding:16px 0;
  font-family:var(--jb-serif);
  font-size:2rem;
  line-height:1;
}
.drawer__meta{
  margin-top:28px;
  display:grid;
  gap:10px;
}
.drawer__meta a{
  font-size:.76rem;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:var(--jb-muted);
}

/* Carousel */
.hero-carousel{
  padding:8px 0 56px;
}
.carousel{
  position:relative;
  overflow:hidden;
  border-radius:34px;
  border:1px solid var(--jb-line);
  background:var(--jb-surface);
  box-shadow:var(--jb-shadow);
}
.carousel__track{
  display:flex;
  transition:transform .5s ease;
}
.slide{
  min-width:100%;
  position:relative;
}
.slide__media{
  aspect-ratio:16/8.5;
  overflow:hidden;
}
.slide__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.84) contrast(.95);
}
.slide__overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding:52px 56px;
  background:linear-gradient(180deg, rgba(0,0,0,0), rgba(18,14,12,.40) 58%, rgba(18,14,12,.68));
  color:white;
}
.slide__kicker{
  display:block;
  margin-bottom:12px;
  font-size:.72rem;
  letter-spacing:.24em;
  text-transform:uppercase;
  opacity:.9;
}
.slide__title{
  margin:0 0 10px;
  font-family:var(--jb-serif);
  font-size:clamp(2.8rem,4.6vw,5.2rem);
  line-height:.88;
  font-weight:500;
}
.slide__text{
  margin:0;
  max-width:36ch;
  font-family:var(--jb-serif);
  font-size:1.45rem;
  font-style:italic;
  line-height:1.22;
}
.carousel__controls{
  position:absolute;
  right:24px;
  bottom:22px;
  display:flex;
  gap:10px;
  z-index:4;
}
.carousel__btn{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.45);
  background:rgba(255,255,255,.12);
  color:white;
  cursor:pointer;
}
.carousel__dots{
  position:absolute;
  left:0;right:0;bottom:24px;
  display:flex;
  justify-content:center;
  gap:10px;
  z-index:4;
}
.carousel__dot{
  width:10px;height:10px;
  border-radius:999px;
  border:0;
  background:rgba(255,255,255,.45);
  padding:0;
  cursor:pointer;
}
.carousel__dot.is-active{background:#fff}

/* Sections */
.section{padding:56px 0}
.section--tight{padding-top:24px}
.section-title{
  margin:0 0 24px;
  font-family:var(--jb-serif);
  font-size:clamp(2.1rem,4vw,3.6rem);
  line-height:.95;
  font-weight:500;
}
.section-intro{
  max-width:34ch;
  margin:0 0 28px;
  font-family:var(--jb-serif);
  font-size:1.35rem;
  color:#4c453f;
}
.center-intro{
  text-align:center;
  max-width:30ch;
  margin:0 auto 20px;
  font-family:var(--jb-serif);
  font-size:1.9rem;
  line-height:1.18;
  font-style:italic;
  color:#4a433d;
}
.post-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
}
.card{
  background:rgba(255,253,249,.78);
  border:1px solid var(--jb-line);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 10px 34px rgba(0,0,0,.03);
}
.card__image img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
}
.card__body{padding:18px 20px 22px}
.card__meta{
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--jb-muted);
}
.card__title{
  margin:10px 0 8px;
  font-family:var(--jb-serif);
  font-size:2.1rem;
  line-height:.96;
  font-weight:500;
}
.card__excerpt{
  font-family:var(--jb-serif);
  font-size:1.18rem;
  color:#4f4841;
}
.membership-panel{
  background:rgba(255,253,249,.74);
  border:1px solid var(--jb-line);
  border-radius:34px;
  padding:36px;
  box-shadow:var(--jb-shadow);
  text-align:center;
}
.membership-panel p{
  max-width:34ch;
  margin:0 auto 18px;
  font-family:var(--jb-serif);
  font-size:1.35rem;
  color:#4e463f;
}
.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 20px;
  border-radius:999px;
  background:var(--jb-accent);
  color:#fff;
  font-size:.78rem;
  letter-spacing:.16em;
  text-transform:uppercase;
}

/* Article pages */
.article-shell{
  max-width:900px;
  margin:0 auto;
}
.article-meta{
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--jb-muted);
  margin-bottom:16px;
}
.article-title{
  margin:0 0 18px;
  font-family:var(--jb-serif);
  font-size:clamp(2.8rem,6vw,5rem);
  line-height:.92;
  font-weight:500;
  max-width:12ch;
}
.article-dek{
  max-width:28ch;
  margin:0 0 30px;
  font-family:var(--jb-serif);
  font-size:1.55rem;
  line-height:1.18;
  font-style:italic;
  color:#534c45;
}
.article-image{
  margin:0 0 28px;
  overflow:hidden;
  border-radius:28px;
  border:1px solid var(--jb-line);
  background:var(--jb-surface);
}
.entry-content,
.entry-content p,
.entry-content li,
.entry-content blockquote{
  font-family:var(--jb-serif);
}
.entry-content{
  font-size:1.28rem;
  line-height:1.74;
  color:#27221f;
}
.entry-content h2,
.entry-content h3{
  font-family:var(--jb-serif);
  line-height:.98;
  margin:1.7em 0 .5em;
}
.entry-content h2{font-size:2.3rem}
.entry-content h3{font-size:1.7rem}
.entry-content blockquote{
  margin:1.8em 0;
  padding:0 0 0 20px;
  border-left:2px solid var(--jb-line);
  font-size:1.45rem;
  font-style:italic;
  color:#4f4841;
}
.entry-content figure{margin:2em 0}
.article-footer{
  margin-top:40px;
  padding-top:18px;
  border-top:1px solid var(--jb-line);
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--jb-muted);
}

/* Footer */
.site-footer{
  margin-top:62px;
  border-top:1px solid var(--jb-line);
  padding:28px 0 44px;
}
.site-footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
.site-footer__brand{
  font-family:var(--jb-serif);
  font-size:1.45rem;
  letter-spacing:.22em;
  text-transform:uppercase;
}
.site-footer__nav{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  font-size:.8rem;
  letter-spacing:.14em;
  text-transform:uppercase;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select{
  width:100%;
  min-height:48px;
  border:1px solid #d2c8be;
  border-radius:14px;
  background:rgba(255,255,255,.82);
  padding:12px 14px;
}
textarea{min-height:160px}
button,
input[type="submit"]{
  min-height:46px;
  border:0;
  border-radius:999px;
  padding:0 18px;
  background:var(--jb-accent);
  color:#fff;
  cursor:pointer;
}

/* Login page */
body.login{
  background:linear-gradient(rgba(244,239,235,.78), rgba(244,239,235,.78)), url('assets/login-bg.jpg') center/cover no-repeat fixed;
}
body.login #login{
  width:min(92vw,430px);
  padding-top:7vh;
}
body.login h1{
  text-align:center;
}
body.login h1 a{
  background-image:url('assets/belvedere-logo.png');
  background-position:center;
  background-repeat:no-repeat;
  background-size:contain;
  width:300px;
  height:110px;
  margin:0 auto 20px;
  text-indent:-9999px;
  overflow:hidden;
}
body.login form{
  border:1px solid var(--jb-line);
  border-radius:28px;
  background:rgba(255,253,249,.78);
  box-shadow:var(--jb-shadow);
}

/* Utilities */
.hidden-mobile{display:block}
.visible-mobile{display:none}

@media (max-width:1024px){
  .site-header__inner{
    grid-template-columns:1fr;
    gap:12px;
  }
  .site-header__spacer{display:none}
  .site-header__brand img{width:min(100%, 620px)}
  .site-header__right{justify-self:center}
  .slide__media{aspect-ratio:4/5}
  .slide__overlay{padding:28px 22px 70px}
  .slide__text{font-size:1.2rem}
  .post-grid{grid-template-columns:1fr}
}

@media (max-width:680px){
  .jb-container{width:min(calc(100% - 24px), var(--jb-max))}
  .site-header__inner{padding:14px 0 10px}
  .site-header__right{gap:6px;flex-wrap:wrap}
  .header-link{font-size:.66rem;letter-spacing:.12em;padding:0 10px;min-height:36px}
  .hamburger{width:38px;height:38px}
  .carousel{border-radius:24px}
  .carousel__controls{right:12px;bottom:14px}
  .carousel__dots{bottom:16px}
  .section{padding:42px 0}
  .article-title{max-width:100%}
}


/* Editors */
.editors-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
}
.editor-card{
  background:rgba(255,253,249,.78);
  border:1px solid var(--jb-line);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 10px 34px rgba(0,0,0,.03);
}
.editor-card__image img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
}
.editor-card__body{
  padding:18px 20px 24px;
}
.editor-card__role{
  margin:0 0 8px;
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--jb-muted);
}
.editor-card__name{
  margin:0 0 8px;
  font-family:var(--jb-serif);
  font-size:2.05rem;
  line-height:.96;
  font-weight:500;
}
.editor-card__bio{
  font-family:var(--jb-serif);
  font-size:1.16rem;
  color:#4f4841;
}
.editor-card__links{
  margin-top:16px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  font-size:.76rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--jb-muted);
}
.editor-single{
  display:grid;
  grid-template-columns:minmax(280px, 360px) minmax(0, 1fr);
  gap:40px;
  align-items:start;
}
.editor-single__portrait{
  overflow:hidden;
  border-radius:28px;
  border:1px solid var(--jb-line);
  background:var(--jb-surface);
}
.editor-single__meta{
  margin-top:12px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--jb-muted);
}
@media (max-width:1024px){
  .editors-grid{grid-template-columns:1fr}
  .editor-single{grid-template-columns:1fr}
}


/* Article byline */
.article-byline{
  margin:42px 0 0;
  padding:24px;
  display:grid;
  grid-template-columns:96px minmax(0,1fr);
  gap:20px;
  align-items:center;
  border:1px solid var(--jb-line);
  border-radius:24px;
  background:rgba(255,253,249,.72);
}
.article-byline__image img{
  width:96px;
  height:96px;
  object-fit:cover;
  border-radius:999px;
}
.article-byline__label{
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--jb-muted);
  margin-bottom:6px;
}
.article-byline__name{
  margin:0 0 6px;
  font-family:var(--jb-serif);
  font-size:1.8rem;
  line-height:.95;
}
.article-byline__role{
  margin:0 0 8px;
  color:var(--jb-muted);
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.article-byline__excerpt{
  font-family:var(--jb-serif);
  font-size:1.1rem;
  color:#4f4841;
}
@media (max-width:680px){
  .article-byline{
    grid-template-columns:1fr;
    text-align:center;
  }
  .article-byline__image{
    display:flex;
    justify-content:center;
  }
}

/* Editor page layout refinement */
.single-editor_profile .site-header{
  position: static;
}

.single-editor_profile .section{
  padding-top: 40px;
}

.editor-single{
  display:grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 420px);
  gap: 48px;
  align-items: start;
}

.editor-single__portrait{
  position: sticky;
  top: 24px;
}

.editor-single .entry-content{
  max-width: 38em;
}

@media (max-width: 1024px){
  .single-editor_profile .site-header{
    position: sticky;
  }

  .single-editor_profile .section{
    padding-top: 28px;
  }

  .editor-single{
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .editor-single__portrait{
    position: static;
  }
}


/* Desktop refinements: header + footer */
.site-header{
  width:100%;
  background:var(--jb-bg);
}

.site-header__inner{
  position:relative;
}

.site-footer{
  width:100%;
  background:var(--jb-bg);
  border-top:1px solid rgba(226,217,207,.65);
}

@media (min-width: 1025px){
  .site-header__inner{
    display:block;
    padding:22px 0 18px;
    min-height:auto;
  }

  .site-header__spacer{
    display:none;
  }

  .site-header__brand{
    display:flex;
    justify-content:center;
    width:100%;
  }

  .site-header__brand img{
    width:min(100%, 760px);
    margin:0 auto;
  }

  .site-header__right{
    position:absolute;
    top:8px;
    right:0;
    display:flex;
    align-items:center;
    gap:10px;
    justify-self:auto;
  }

  .header-link{
    min-height:38px;
    padding:0 12px;
    font-size:.68rem;
    letter-spacing:.14em;
  }

  .hamburger{
    width:40px;
    height:40px;
  }

  .site-footer{
    margin-top:62px;
    padding:28px 0 44px;
  }

  .site-footer__inner{
    width:100%;
  }
}


/* Search icon in header */
.search-toggle{
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid var(--jb-line);
  background:rgba(255,255,255,.45);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  padding:0;
}

.search-toggle__icon{
  width:14px;
  height:14px;
  border:1.7px solid #1d1815;
  border-radius:999px;
  display:block;
  position:relative;
}

.search-toggle__icon::after{
  content:"";
  position:absolute;
  width:7px;
  height:1.7px;
  background:#1d1815;
  right:-5px;
  bottom:-2px;
  transform:rotate(45deg);
  border-radius:2px;
}

@media (min-width:1025px){
  .site-header__right{
    gap:8px;
  }
  .search-toggle{
    width:38px;
    height:38px;
  }
}


/* Editor page text block on desktop */
.editor-single{
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(320px, 420px);
  gap:48px;
  align-items:start;
}

.editor-single__content{
  min-width:0;
}

.editor-single__textblock{
  background:rgba(255,253,249,.72);
  border:1px solid var(--jb-line);
  border-radius:28px;
  padding:28px 30px;
}

.editor-single__imagecol{
  min-width:0;
}

.editor-single__portrait{
  position:sticky;
  top:24px;
}

.single-editor_profile .site-header{
  position:static;
}

.single-editor_profile .section{
  padding-top:40px;
}

@media (max-width:1024px){
  .single-editor_profile .site-header{
    position:sticky;
  }

  .single-editor_profile .section{
    padding-top:28px;
  }

  .editor-single{
    grid-template-columns:1fr;
    gap:24px;
  }

  .editor-single__textblock{
    padding:22px 20px;
  }

  .editor-single__portrait{
    position:static;
  }
}

/* Footer refinement */
.site-footer{
  background:var(--jb-bg);
}

.site-footer__inner{
  display:grid;
  grid-template-columns:1fr;
  justify-items:center;
  text-align:center;
  gap:18px;
}

.site-footer__brand{
  text-align:center;
}

.site-footer__contact{
  display:grid;
  gap:12px;
  justify-items:center;
}

.site-footer__email{
  font-size:.9rem;
  letter-spacing:.08em;
}

.site-footer__socials{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}

.site-footer__socials a{
  min-width:38px;
  height:38px;
  border:1px solid var(--jb-line);
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.45);
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.site-footer__nav{
  justify-content:center;
}

@media (min-width:1025px){
  .site-footer__inner{
    grid-template-columns:1fr;
  }
}


/* Footer social polish */
.site-footer__email{
  font-family: var(--jb-serif);
  font-style: italic;
}

.site-footer__socials a{
  font-size:.7rem;
  letter-spacing:.2em;
  font-family:var(--jb-ui);
  opacity:.78;
}

.site-footer__socials a:hover{
  opacity:1;
}


/* Unified desktop header/background */
:root{
  --jb-bg:#f4efeb;
}

body,
.site-wrap,
.site-header,
.hero-carousel,
.section:first-of-type{
  background:var(--jb-bg);
}

.site-header{
  background:var(--jb-bg) !important;
  border-bottom:0;
}

.hero-carousel{
  padding-top:8px;
  margin-top:0;
}

.carousel{
  background:transparent;
  border-color:rgba(226,217,207,.45);
}

@media (min-width:1025px){
  .site-header{
    background:var(--jb-bg) !important;
  }

  .site-header__inner{
    background:transparent;
  }
}


/* Full-width Belvedere logo panel to match carousel width */
@media (min-width:1025px){
  .site-header__brand{
    width:100%;
    max-width:none;
    display:block;
    margin:0 auto;
  }

  .site-header__brand img{
    display:block;
    width:min(calc(100% - 40px), var(--jb-max));
    max-width:min(calc(100% - 40px), var(--jb-max));
    margin:0 auto;
  }

  .hero-carousel{
    padding-top:22px;
  }
}


/* Desktop header controls lower from top seam */
@media (min-width:1025px){
  .site-header__right{
    top: 20px !important;
  }

  .site-header__brand img{
    width:min(calc(100% - 40px), var(--jb-max));
    max-width:min(calc(100% - 40px), var(--jb-max));
    margin:0 auto;
  }

  .hero-carousel{
    display:block;
    padding-top:26px;
    padding-bottom:56px;
  }

  .carousel{
    display:block;
    min-height: 320px;
  }

  .carousel__track{
    display:flex;
  }
}

/* Make sure front page content continues below hero */
.home .section{
  display:block;
}


/* Final desktop homepage fix */
@media (min-width:1025px){

  /* Let the large logo panel scroll normally on desktop homepage */
  .home .site-header{
    position: static !important;
    top: auto !important;
  }

  .home .site-header__inner{
    position: relative;
    display: block;
    padding: 24px 0 18px;
    min-height: auto;
  }

  .home .site-header__spacer{
    display: none;
  }

  .home .site-header__brand{
    display: block;
    position: static !important;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .home .site-header__brand img{
    display: block;
    position: static !important;
    width: min(calc(100% - 40px), var(--jb-max));
    max-width: min(calc(100% - 40px), var(--jb-max));
    height: auto;
    margin: 0 auto;
    transform: none !important;
  }

  /* Move desktop controls down and inward from the seam */
  .home .site-header__right{
    position: absolute;
    top: 22px !important;
    right: 22px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
  }

  .home .search-toggle,
  .home .hamburger{
    width: 42px;
    height: 42px;
  }

  .home .header-link{
    min-height: 40px;
    padding: 0 14px;
    font-size: .70rem;
    letter-spacing: .14em;
  }

  /* Keep homepage content visible and flowing under the logo */
  .home .hero-carousel{
    display: block;
    position: relative;
    clear: both;
    padding-top: 18px;
    padding-bottom: 56px;
  }

  .home .carousel{
    display: block;
    position: relative;
    min-height: 320px;
  }

  .home .carousel__track{
    display: flex;
  }
}

/* Do not affect the mobile version that already looks correct */
@media (max-width:1024px){
  .home .site-header{
    position: sticky;
    top: 0;
  }

  .home .site-header__brand,
  .home .site-header__brand img{
    position: static !important;
  }
}


/* Belvedere News */
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}
.section-heading--stacked{align-items:flex-start}
.section-link,.text-link{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--jb-muted)}
.section-link:hover,.text-link:hover{color:var(--jb-text)}
.section--news{padding-top:0}
.card__meta-row{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 10px}
.pill{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid var(--jb-line);border-radius:999px;background:rgba(255,255,255,.42);font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:var(--jb-muted)}
.news-source-cta{margin-top:34px;padding-top:24px;border-top:1px solid var(--jb-line)}
.entry-content--news p:last-child{margin-bottom:0}
@media (max-width: 800px){.section-heading{align-items:flex-start;flex-direction:column}}
