/*
Theme Name: JCBO Real Estate Version 4.0
Theme URI: https://www.jcbo.jp/
Author: JCBO
Description: JCBO REAL ESTATE 多言語自動翻訳・多言語SEO対応テーマ。
Version: 5.1.1
Text Domain: kotani-journal
*/
:root{--ink:#262329;--muted:#746d73;--rose:#b57981;--paper:#fbfaf9;--line:#e9e2df;--shadow:0 24px 60px rgba(48,40,44,.15)}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Noto Sans JP","Yu Gothic",sans-serif;line-height:1.9}a{text-decoration:none;color:inherit}.container{width:min(1180px,calc(100% - 40px));margin:auto}
.site-header{position:absolute;z-index:20;width:100%;color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.3)}.site-top{font-size:12px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.2)}.nav-row{display:flex;justify-content:space-between;align-items:center;padding:22px 0}.brand{font-family:Georgia,serif;font-size:24px;letter-spacing:.06em}.main-nav ul{display:flex;gap:24px;list-style:none;margin:0;padding:0;font-size:14px}
.hero{min-height:760px;display:flex;align-items:center;color:#fff;background-color:#3d373e;background-size:cover;background-position:center;position:relative}
.hero-inner{padding-top:95px;position:relative;z-index:2}.eyebrow{font-size:12px;letter-spacing:.25em;color:#e8c7cb}.hero h1{font-family:Georgia,"Yu Mincho",serif;font-size:clamp(44px,6vw,78px);font-weight:500;line-height:1.25;margin:20px 0}.hero p{font-size:17px;max-width:720px}.buttons{display:flex;gap:14px;margin-top:34px;flex-wrap:wrap}.btn{padding:15px 25px;border-radius:999px;background:#fff;color:#222;font-weight:700}.btn.ghost{background:rgba(255,255,255,.13);color:#fff;border:1px solid rgba(255,255,255,.55)}
.category-band{margin-top:-105px;position:relative;z-index:5}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.category-card{background:rgba(255,255,255,.97);border-radius:28px;padding:34px 28px;min-height:190px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:space-between}.category-card small{color:var(--rose);letter-spacing:.17em}.category-card h3{font-size:20px}
.section{padding:100px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:42px}.section-head h2{font-family:Georgia,"Yu Mincho",serif;font-size:40px;margin:8px 0}.section-head p{max-width:620px;color:var(--muted)}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.post-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;transition:.25s}.post-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.thumb{aspect-ratio:16/10;background-size:cover;background-position:center}.post-content{padding:24px}.post-meta{font-size:12px;color:var(--rose);letter-spacing:.08em}.post-card h3{font-size:19px;line-height:1.55;margin:10px 0}.post-card p{font-size:14px;color:var(--muted)}
.article-wrap{width:min(840px,calc(100% - 40px));margin:auto;padding:160px 0 90px}.article-hero{width:100%;border-radius:24px;margin:25px 0 40px}.article-wrap h1{font-family:Georgia,"Yu Mincho",serif;font-size:42px;line-height:1.35}.article-wrap h2{margin-top:48px;border-left:3px solid var(--rose);padding-left:16px}.site-footer{background:#262329;color:#ddd;padding:65px 0 30px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.copyright{border-top:1px solid rgba(255,255,255,.15);margin-top:40px;padding-top:24px;font-size:12px}
.archive-title{padding:160px 0 45px}
@media(max-width:900px){.main-nav{display:none}.category-grid,.post-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.container{width:min(100% - 26px,1180px)}.hero{min-height:680px}.category-grid,.post-grid{grid-template-columns:1fr}.category-band{margin-top:-70px}.section{padding:70px 0}}

.category-card p{font-size:13px;color:var(--muted);margin:8px 0 0;line-height:1.6}
.category-hero{padding:190px 0 95px;color:#fff;background:linear-gradient(120deg,#463e46,#93868c)}
.category-hero h1{font-family:Georgia,"Yu Mincho",serif;font-size:clamp(42px,6vw,70px);margin:15px 0}
.category-hero p{max-width:760px;font-size:18px}
.category-guide{padding:85px 0;background:#fff}
.guide-grid{display:grid;grid-template-columns:1fr 2fr;gap:70px}
.guide-grid h2{font-family:Georgia,"Yu Mincho",serif;font-size:34px;line-height:1.5}
.guide-copy p{margin:0 0 1.5em;color:#554f53}
.read-more{display:inline-block;margin-top:12px;color:var(--rose);font-size:13px;font-weight:700}
.empty-category{background:#fff;border:1px solid var(--line);border-radius:22px;padding:45px}
@media(max-width:760px){.guide-grid{grid-template-columns:1fr;gap:20px}.category-hero{padding:150px 0 70px}}


/* ===== Header visibility fix ===== */
.site-header-solid{
  position:relative;
  width:100%;
  z-index:1000;
  background:#ffffff;
  color:var(--ink);
  text-shadow:none;
  border-bottom:1px solid var(--line);
  box-shadow:0 8px 24px rgba(42,36,40,.06);
}
.utility-bar{
  background:#2d2930;
  color:#ffffff;
  font-size:12px;
  letter-spacing:.04em;
}
.utility-inner{
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:24px;
  flex-wrap:wrap;
}
.site-header-solid .nav-row{
  min-height:92px;
  padding:18px 0;
}
.brand-dark{
  color:#27232a;
  display:flex;
  flex-direction:column;
  line-height:1.15;
  min-width:250px;
}
.brand-main{
  font-family:Georgia,"Times New Roman",serif;
  font-size:21px;
  letter-spacing:.08em;
  font-weight:700;
}
.brand-sub{
  margin-top:7px;
  font-size:12px;
  letter-spacing:.28em;
  color:var(--rose);
}
.main-nav-dark ul{
  display:flex;
  align-items:center;
  gap:8px;
  list-style:none;
  margin:0;
  padding:0;
}
.main-nav-dark a{
  display:block;
  padding:11px 12px;
  color:#3b363c;
  font-size:13px;
  font-weight:700;
  border-radius:999px;
  white-space:nowrap;
}
.main-nav-dark a:hover,
.main-nav-dark .current-menu-item > a{
  background:#f3eeee;
  color:#8e5961;
}
.main-nav-dark .nav-contact{
  background:#8d5f67;
  color:#fff;
  padding-left:18px;
  padding-right:18px;
}
.main-nav-dark .nav-contact:hover{
  background:#744b52;
  color:#fff;
}
.menu-toggle{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  border-radius:999px;
  padding:10px 18px;
  font-weight:700;
}

/* Hero starts below the header instead of hiding behind it */
.hero{
  min-height:670px;
}
.category-hero{
  padding:90px 0 80px !important;
  background:
    linear-gradient(120deg,rgba(53,46,54,.96),rgba(125,110,117,.86)),
    url('assets/images/hero.svg');
  background-size:cover;
  background-position:center;
}
.category-hero .eyebrow{
  color:#ebc9ce;
}
.category-hero h1{
  color:#fff;
  margin-bottom:18px;
}
.category-hero p{
  color:rgba(255,255,255,.92);
}

/* Prevent generic site title from appearing as the category heading */
.archive-title{
  padding:70px 0 45px;
}
body.category .archive-title,
body.archive .archive-title{
  display:none;
}

/* Improve category guide readability */
.category-guide{
  border-bottom:1px solid var(--line);
}
.category-guide .guide-copy{
  font-size:16px;
}
.category-posts{
  background:#f7f4f2;
}

@media(max-width:1100px){
  .main-nav-dark a{padding:10px 8px;font-size:12px}
  .brand-dark{min-width:220px}
}
@media(max-width:900px){
  .utility-inner{justify-content:center;gap:10px 18px;padding:7px 0}
  .site-header-solid .nav-row{min-height:76px}
  .menu-toggle{display:block}
  .main-nav-dark{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:100%;
    background:#fff;
    border-top:1px solid var(--line);
    box-shadow:0 18px 35px rgba(40,35,39,.12);
  }
  .main-nav-dark.is-open{display:block}
  .main-nav-dark ul{
    width:min(100% - 30px,700px);
    margin:auto;
    padding:18px 0 24px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .main-nav-dark a{
    background:#faf8f7;
    border-radius:12px;
    padding:13px 14px;
  }
}
@media(max-width:560px){
  .utility-inner span:first-child{display:none}
  .brand-main{font-size:16px}
  .brand-sub{font-size:10px}
  .brand-dark{min-width:auto}
  .main-nav-dark ul{grid-template-columns:1fr}
  .category-hero{padding:65px 0 55px !important}
}

.category-breadcrumb{
  display:flex;
  gap:9px;
  align-items:center;
  margin-bottom:28px;
  font-size:12px;
  color:rgba(255,255,255,.78);
}
.category-breadcrumb a{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:4px;
}


/* ===== Single article upper section fix ===== */
.single-page{background:#fbfaf9}.single-hero{position:relative;min-height:560px;display:flex;align-items:flex-end;overflow:hidden;background:#302b31}.single-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1.03)}.single-hero-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,18,21,.05),rgba(20,18,21,.52))}.single-hero-inner{position:relative;z-index:2;color:#fff;padding-top:90px;padding-bottom:70px}.single-breadcrumb{display:flex;gap:9px;align-items:center;margin-bottom:28px;font-size:12px;color:rgba(255,255,255,.78)}.single-breadcrumb a{color:#fff;text-decoration:underline;text-underline-offset:4px}.single-category{display:inline-flex;align-items:center;padding:8px 14px;border:1px solid rgba(255,255,255,.35);border-radius:999px;font-size:12px;letter-spacing:.12em;margin-bottom:22px;background:rgba(255,255,255,.08)}.single-hero h1{max-width:1050px;margin:0;font-family:Georgia,"Yu Mincho",serif;font-size:clamp(38px,5.2vw,72px);line-height:1.28;font-weight:500;color:#fff;text-shadow:0 4px 24px rgba(0,0,0,.28);word-break:normal}.single-meta{display:flex;gap:22px;flex-wrap:wrap;margin-top:26px;font-size:13px;color:rgba(255,255,255,.86)}.single-summary{background:#fff;border-bottom:1px solid var(--line);padding:65px 0}.single-summary-grid{display:grid;grid-template-columns:1fr 2fr;gap:70px;align-items:start}.single-summary h2{margin:8px 0 0;font-family:Georgia,"Yu Mincho",serif;font-size:32px}.single-summary p{margin:0;font-size:16px;line-height:2;color:#554f53}.single-content-section{padding:80px 0 100px}.article-wrap-improved{padding:0}.article-main-image{margin:0 0 52px}.article-main-image img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:26px;box-shadow:0 22px 55px rgba(45,38,42,.14)}.article-body{font-size:17px;line-height:2.05}.article-body>p:first-child{font-size:18px}.article-body h2{margin-top:58px;margin-bottom:20px;padding:14px 0 14px 18px;border-left:4px solid var(--rose);font-family:Georgia,"Yu Mincho",serif;font-size:28px;line-height:1.55}.article-body h3{margin-top:42px;font-size:22px}.article-body ul,.article-body ol{padding-left:1.4em}.article-body blockquote{margin:35px 0;padding:24px 28px;border-left:4px solid var(--rose);background:#f3eeee}.article-back{margin-top:65px;padding-top:28px;border-top:1px solid var(--line)}.article-back a{color:var(--rose);font-weight:700}body.single .site-header-solid{position:relative;background:#fff}body.single .site-header-solid .brand-dark,body.single .site-header-solid .main-nav-dark a{color:#2c2830}body.single .site-header-solid .nav-contact{color:#fff}body.single .article-wrap:not(.article-wrap-improved){padding-top:0}@media(max-width:800px){.single-hero{min-height:470px}.single-hero-inner{padding-top:60px;padding-bottom:48px}.single-summary-grid{grid-template-columns:1fr;gap:20px}.single-content-section{padding:55px 0 75px}.article-body{font-size:16px}}@media(max-width:560px){.single-hero{min-height:430px}.single-hero h1{font-size:34px}.single-summary{padding:45px 0}.article-main-image img{border-radius:18px}}

/* ===== Contact, QR and map section ===== */
.contact-cta{padding:105px 0;background:linear-gradient(135deg,#f4efed,#fff)}
.contact-heading{max-width:850px;margin-bottom:48px}.contact-heading h2{font-family:Georgia,"Yu Mincho",serif;font-size:clamp(36px,5vw,58px);line-height:1.35;margin:12px 0 18px}.contact-heading p{font-size:17px;color:var(--muted)}
.contact-main-grid{display:grid;grid-template-columns:1.35fr .85fr;gap:26px}.contact-details-card,.qr-card,.office-map-card{background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow)}
.contact-details-card{padding:42px}.contact-details-card h3{font-size:25px;margin:0 0 12px}.big-phone{display:block;font-family:Georgia,serif;font-size:clamp(34px,5vw,56px);line-height:1.15;font-weight:700;margin:10px 0 12px;color:#7d4f57}.mobile-line{font-size:18px}.contact-details-card p{margin:18px 0}.contact-details-card a{text-decoration:none}
.contact-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.contact-primary,.contact-secondary{display:inline-flex;padding:14px 20px;border-radius:999px;font-weight:700}.contact-primary{background:#80535b;color:#fff}.contact-secondary{border:1px solid #bdaeb0;color:#5b4b50}
.qr-card{padding:36px}.qr-card h3{font-size:23px;margin-top:0}.qr-card>p{color:var(--muted);font-size:14px}.qr-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:26px}.qr-item{text-align:center}.qr-item img,.qr-placeholder{width:100%;aspect-ratio:1/1;border-radius:18px;border:1px solid var(--line);background:#faf8f7;object-fit:contain;padding:10px}.qr-item strong{display:block;margin-top:9px}.qr-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8a777c}.qr-placeholder span{font-size:20px;font-weight:700}.qr-placeholder small{margin-top:8px;line-height:1.5}
.office-map-card{display:grid;grid-template-columns:.8fr 1.2fr;overflow:hidden;margin-top:28px}.map-copy{padding:42px}.map-copy h3{font-size:28px;margin:8px 0 16px}.map-copy p{color:var(--muted)}.map-copy a{display:inline-block;margin-top:12px;color:#8c5961;font-weight:700}.map-frame{min-height:430px}.map-frame iframe{width:100%;height:100%;min-height:430px;border:0}
.footer-bottom-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer-brand{font-family:Georgia,serif;font-size:22px;color:#fff}.site-footer a{color:#eee}.copyright{margin-top:34px}
@media(max-width:900px){.contact-main-grid,.office-map-card{grid-template-columns:1fr}.map-frame{min-height:360px}.footer-bottom-grid{grid-template-columns:1fr}.contact-cta{padding:75px 0}}
@media(max-width:560px){.contact-details-card,.qr-card,.map-copy{padding:26px}.qr-grid{gap:10px}.big-phone{font-size:34px}.contact-buttons{display:grid}.contact-primary,.contact-secondary{justify-content:center;text-align:center}}


/* ===== JCBO Brand Identity ===== */
.brand-main{
  font-family:Georgia,"Times New Roman",serif;
  font-size:23px;
  letter-spacing:.10em;
  font-weight:700;
}
.brand-sub{
  margin-top:7px;
  font-size:11px;
  letter-spacing:.24em;
  color:var(--rose);
  text-transform:uppercase;
}
.footer-brand{
  font-family:Georgia,"Times New Roman",serif;
  font-size:22px;
  letter-spacing:.08em;
  font-weight:700;
  color:#fff;
}
.jcbo-group-mark{
  margin-top:8px;
  font-size:11px;
  letter-spacing:.16em;
  color:rgba(255,255,255,.62);
}


/* ===== JCBO multilingual navigation ===== */
.jcbo-language-switcher{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  margin:0 0 28px;
}
.jcbo-language-switcher a,
.jcbo-language-switcher span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:76px;
  padding:8px 13px;
  border:1px solid rgba(255,255,255,.38);
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  color:#fff;
  background:rgba(255,255,255,.08);
}
.jcbo-language-switcher .is-current{
  background:#fff;
  color:#342f35;
}
.article-body .jcbo-language-switcher{
  margin:0 0 32px;
}
.article-body .jcbo-language-switcher a,
.article-body .jcbo-language-switcher span{
  border-color:var(--line);
  color:var(--ink);
  background:#fff;
}
.article-body .jcbo-language-switcher .is-current{
  background:var(--rose);
  border-color:var(--rose);
  color:#fff;
}
.jcbo-language-note{
  margin:0 0 24px;
  padding:12px 16px;
  border-left:3px solid var(--rose);
  background:#f5f0ef;
  color:#5e565b;
  font-size:13px;
}

/* JCBO REAL ESTATE Version 5.0 - Information Portal */
.portal-hero{min-height:520px;background-size:cover;background-position:center;display:flex;align-items:center;color:#fff}
.portal-hero-inner{padding-top:72px;padding-bottom:72px}.portal-hero h1{font-size:clamp(42px,6vw,78px);line-height:1.08;margin:14px 0 20px;letter-spacing:-.04em}.portal-hero p{max-width:760px;font-size:18px;line-height:1.9;color:rgba(255,255,255,.88)}
.portal-search{display:flex;max-width:820px;margin-top:30px;background:#fff;border-radius:12px;padding:8px;box-shadow:0 18px 55px rgba(0,0,0,.25)}.portal-search input{flex:1;border:0;padding:16px 18px;font-size:16px;min-width:0;outline:0}.portal-search button{border:0;border-radius:9px;background:#b58a52;color:#fff;font-weight:700;padding:0 28px;cursor:pointer}.hero-stat-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.hero-stat-row span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);padding:9px 14px;border-radius:999px;font-size:13px}.hero-stat-row strong{font-size:18px;margin-right:4px}
.portal-section{padding:68px 0}.portal-section:nth-of-type(even){background:#f7f5f2}.portal-title-row{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.portal-title-row.compact{margin-bottom:20px}.portal-title-row h2{font-size:34px;margin:5px 0 0}.portal-title-row h2 small{font-size:14px;color:#867b70;font-weight:500}.portal-title-row>a{font-weight:700;color:#8e6738;white-space:nowrap}.topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.topic-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e8e2dc;border-radius:14px;padding:20px;text-decoration:none;box-shadow:0 7px 24px rgba(60,46,33,.05);transition:.2s}.topic-card:hover{transform:translateY(-3px);box-shadow:0 14px 35px rgba(60,46,33,.1)}.topic-icon{font-size:28px}.topic-copy{display:flex;flex-direction:column;flex:1}.topic-copy strong{color:#29241f;font-size:16px}.topic-copy small{color:#8f8479;margin-top:4px}.topic-arrow{color:#b58a52;font-size:21px}
.portal-two-column{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:42px}.headline-list{display:grid;grid-template-columns:1fr 1fr;gap:18px}.headline-item{display:grid;grid-template-columns:145px 1fr;gap:15px;border-bottom:1px solid #e5ded6;padding-bottom:18px}.headline-thumb{min-height:112px;background-size:cover;background-position:center;border-radius:10px}.headline-item h3{font-size:16px;line-height:1.5;margin:5px 0}.headline-item p{font-size:13px;color:#766f68;line-height:1.65;margin:0}.side-panel{background:#fff;border:1px solid #e5ded6;border-radius:15px;padding:24px;margin-bottom:20px}.side-panel h2{font-size:25px;margin:5px 0 17px}.ranking-list{list-style:none;padding:0;margin:0}.ranking-list li{display:grid;grid-template-columns:35px 1fr;gap:10px;border-top:1px solid #eee8e2;padding:12px 0}.ranking-list li:first-child{border-top:0}.ranking-list span{font-size:12px;color:#b58a52;font-weight:800}.ranking-list a{font-size:14px;line-height:1.45;color:#302a25;font-weight:650}.archive-panel ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.archive-panel li{font-size:13px}.archive-panel a{color:#4f4740}
.dense-post-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.dense-card{background:#fff;border:1px solid #e5ded6;border-radius:12px;overflow:hidden;box-shadow:0 6px 20px rgba(45,36,28,.045)}.dense-thumb{aspect-ratio:16/9;background-size:cover;background-position:center}.dense-content{padding:15px}.dense-content h3{font-size:15px;line-height:1.55;margin:7px 0}.dense-content h3 a{color:#28231f}.dense-content p{font-size:12px;line-height:1.65;color:#746d66;margin:0}.post-meta{font-size:10px;letter-spacing:.04em;color:#9a8e82}.category-showcase{border-top:1px solid #ebe4dc}.mini-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.mini-card{display:grid;grid-template-columns:105px 1fr;gap:12px;background:#fff;border:1px solid #e7e0d8;padding:10px;border-radius:11px}.mini-thumb{min-height:80px;background-size:cover;background-position:center;border-radius:7px}.mini-card h3{font-size:13px;line-height:1.5;margin:5px 0}.mini-card h3 a{color:#302924}.tag-cloud-portal{display:flex;flex-wrap:wrap;gap:10px}.tag-cloud-portal a{background:#fff;border:1px solid #ddd4ca;border-radius:999px;padding:9px 14px;color:#5e554d;text-decoration:none!important}.tag-cloud-portal a:hover{background:#302924;color:#fff}
@media(max-width:1100px){.topic-grid,.dense-post-grid{grid-template-columns:repeat(3,1fr)}.portal-two-column{grid-template-columns:1fr}.portal-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:20px}.mini-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.portal-hero{min-height:470px}.portal-hero-inner{padding-top:52px;padding-bottom:52px}.portal-search{flex-direction:column}.portal-search button{padding:14px}.portal-title-row{align-items:flex-start;flex-direction:column}.topic-grid,.dense-post-grid,.headline-list,.mini-grid{grid-template-columns:1fr 1fr}.headline-item{grid-template-columns:1fr}.headline-thumb{min-height:145px}.portal-sidebar{grid-template-columns:1fr}.portal-section{padding:48px 0}}
@media(max-width:520px){.topic-grid,.dense-post-grid,.headline-list,.mini-grid{grid-template-columns:1fr}.portal-title-row h2{font-size:28px}.portal-hero h1{font-size:42px}.mini-card{grid-template-columns:95px 1fr}}


/* Version 5.1 language portals */
.jcbo-language-switcher{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}
.jcbo-language-switcher a{display:inline-flex;align-items:center;justify-content:center;min-width:88px;padding:8px 14px;border:1px solid rgba(255,255,255,.42);border-radius:999px;color:#fff;text-decoration:none;font-weight:700;background:rgba(255,255,255,.08)}
.jcbo-language-switcher a:hover,.jcbo-language-switcher a.active{background:#fff;color:#18202b}
.site-header .jcbo-language-switcher{margin:0 0 0 16px}
.site-header .jcbo-language-switcher a{color:#18202b;border-color:#d7dce3;background:#fff;padding:6px 10px;min-width:auto;font-size:12px}
.site-header .jcbo-language-switcher a.active{background:#18202b;color:#fff}
.language-portal-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.language-portal-cards a{display:flex;flex-direction:column;gap:5px;padding:24px;border:1px solid #dce1e8;border-radius:14px;text-decoration:none;background:#fff;color:#18202b;box-shadow:0 8px 25px rgba(25,35,50,.06)}
.language-portal-cards a strong{font-size:24px}
.language-portal-cards a span{color:#687386}
.language-portal-cards a.active{border-color:#18202b;box-shadow:inset 0 0 0 2px #18202b}
@media(max-width:760px){
  .language-portal-cards{grid-template-columns:1fr}
  .site-header .jcbo-language-switcher{margin:10px 0 0}
}
