/*
Theme Name: Bond Astra Child
Theme URI: http://bond.upct.es/
Description: Child theme for BoND custom presentation.
Author: Rafael Asorey / Codex
Template: astra
Version: 1.1.0
Text Domain: bond-astra-child
*/

:root{
  --ast-global-color-0:#145bb8;
  --ast-global-color-1:#69c5bd;
  --ast-global-color-2:#0a315f;
  --ast-global-color-3:#486170;
  --ast-global-color-4:#ffffff;
  --ast-global-color-5:#eef7f5;
  --ast-global-color-6:#dff2ef;
  --ast-global-color-7:#f6fbfa;
  --ast-global-color-8:#145bb8;
  --bond-blue:#145bb8;
  --bond-blue-deep:#0a315f;
  --bond-teal:#69c5bd;
  --bond-teal-soft:#e8f6f3;
  --bond-gold:#ffcf1b;
  --bond-ink:#0b3046;
  --bond-muted:#536474;
  --bond-line:#d5e5e2;
  --bond-bg:#eef7f5;
  --bond-panel:#ffffff;
  --bond-shadow:0 18px 44px rgba(10,49,95,.08);
  --bond-shadow-strong:0 24px 54px rgba(10,49,95,.14);
}

body{
  background:linear-gradient(180deg,#eef7f5 0%,#ffffff 34%);
  color:var(--bond-ink);
}

body,
button,
input,
select,
textarea,
.ast-button,
.ast-custom-button{
  color:var(--bond-ink);
}

a{
  color:var(--bond-blue);
}

a:hover,
a:focus{
  color:var(--bond-blue-deep);
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6{
  color:var(--bond-blue-deep);
}

::selection{
  background:var(--bond-blue);
  color:#fff;
}

#masthead{
  position:sticky;
  top:0;
  z-index:100;
  background:linear-gradient(90deg,rgba(10,49,95,.96) 0%,rgba(20,91,184,.94) 48%,rgba(105,197,189,.92) 100%);
}

.ast-theme-transparent-header #masthead{
  position:sticky !important;
  inset:auto !important;
  top:0 !important;
  width:100% !important;
}

.admin-bar #masthead{
  top:32px;
}

.admin-bar.ast-theme-transparent-header #masthead{
  top:32px !important;
}

#masthead .ast-primary-header-bar{
  background:linear-gradient(90deg,rgba(10,49,95,.96) 0%,rgba(20,91,184,.94) 48%,rgba(105,197,189,.92) 100%);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 28px rgba(10,49,95,.12);
}

#masthead .site-primary-header-wrap.ast-container{
  max-width:1240px;
  padding-top:8px;
  padding-bottom:8px;
}

#masthead .ast-builder-grid-row{
  grid-template-columns:minmax(0,1fr) auto;
  column-gap:24px;
  align-items:center;
}

#masthead .site-header-primary-section-left,
#masthead .site-header-primary-section-right,
#masthead .site-header-section,
#masthead .site-branding,
#masthead .ast-builder-layout-element,
#masthead .ast-builder-menu{
  min-width:0;
}

#masthead .site-header-primary-section-left{
  gap:18px;
  flex-wrap:wrap;
  align-items:stretch;
}

#masthead .site-logo-img a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:96px;
  min-width:min(286px,30vw);
  padding:13px 18px;
  border-radius:20px;
  background:rgba(255,255,255,.98);
  box-shadow:0 14px 32px rgba(8,34,61,.16);
}

#masthead .custom-logo-link img{
  display:block;
  width:min(244px,27vw);
  height:auto;
}

#masthead .ast-builder-layout-element[data-section="section-hb-html-1"]{
  display:flex;
  max-width:min(31vw,340px);
}

#masthead .ast-builder-layout-element[data-section="section-hb-html-1"] .ast-header-html,
#masthead .ast-builder-layout-element[data-section="section-hb-html-1"] .ast-builder-html-element{
  width:100%;
}

#masthead .ast-builder-layout-element[data-section="section-hb-html-1"] .ast-builder-html-element p{
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:96px;
  gap:8px;
  padding:13px 18px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.96);
  color:var(--bond-blue-deep);
  box-shadow:0 14px 32px rgba(8,34,61,.16);
  text-align:center;
  font-size:.78rem;
  font-weight:800;
  line-height:1.18;
}

#masthead .ast-builder-layout-element[data-section="section-hb-html-1"] .ast-builder-html-element img{
  width:auto !important;
  height:58px !important;
  max-width:min(244px,100%);
  object-fit:contain;
}

#masthead .main-header-menu > .menu-item > .menu-link,
#masthead .ast-mobile-header-wrap .menu-link{
  color:#fff;
  font-weight:700;
  letter-spacing:.01em;
}

#masthead .main-header-menu > .menu-item > .menu-link:hover,
#masthead .main-header-menu > .menu-item > .menu-link:focus,
#masthead .main-header-menu > .menu-item.current-menu-item > .menu-link,
#masthead .ast-mobile-header-wrap .menu-link:hover,
#masthead .ast-mobile-header-wrap .menu-link:focus{
  color:var(--bond-gold);
}

.bond-language-switcher{
  display:flex;
  align-items:center;
}

#masthead .bond-language-switcher .bond-lang-toggle{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 11px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:rgba(255,255,255,.72);
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.06em;
  line-height:1;
}

#masthead .bond-language-switcher .bond-lang-option{
  color:rgba(255,255,255,.78);
  text-decoration:none;
}

#masthead .bond-language-switcher .bond-lang-option:hover,
#masthead .bond-language-switcher .bond-lang-option:focus,
#masthead .bond-language-switcher .bond-lang-option.is-current{
  color:var(--bond-gold);
}

#masthead .ast-button-wrap .menu-toggle{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  border-radius:14px;
  color:#fff;
  padding:.55em .8em;
}

#ast-mobile-header .ast-primary-header-bar{
  background:linear-gradient(180deg,rgba(10,49,95,.98) 0%,rgba(20,91,184,.95) 100%);
}

#ast-mobile-header .ast-builder-grid-row{
  grid-template-columns:minmax(0,1fr) auto;
  column-gap:12px;
  align-items:start;
}

#ast-mobile-header .site-header-primary-section-left{
  gap:10px;
  flex:1 1 auto;
  flex-wrap:wrap;
  max-width:calc(100% - 62px);
}

#ast-mobile-header .site-logo-img a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:18px;
  background:rgba(255,255,255,.98);
  box-shadow:0 12px 28px rgba(8,34,61,.16);
}

#ast-mobile-header .custom-logo-link img{
  width:min(184px,46vw);
  height:auto;
}

#ast-mobile-header .ast-builder-layout-element[data-section="section-hb-html-2"]{
  width:100%;
  flex:1 0 100%;
}

#ast-mobile-header .ast-builder-layout-element[data-section="section-hb-html-2"] .ast-builder-html-element p{
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  padding:10px 12px;
  border-radius:18px;
  background:rgba(255,255,255,.96);
  color:var(--bond-blue-deep);
  box-shadow:0 12px 28px rgba(8,34,61,.16);
  font-size:.72rem;
  font-weight:800;
  line-height:1.2;
  text-align:left;
}

#ast-mobile-header .ast-builder-layout-element[data-section="section-hb-html-2"] .ast-builder-html-element span{
  font-size:inherit !important;
}

#ast-mobile-header .ast-builder-layout-element[data-section="section-hb-html-2"] .ast-builder-html-element img{
  width:auto !important;
  height:54px !important;
  max-width:min(220px,100%);
  object-fit:contain;
}

#ast-mobile-header .site-header-primary-section-right{
  align-items:flex-start;
}

#ast-mobile-header .ast-button-wrap .menu-toggle{
  margin-top:4px;
}

#ast-mobile-header .ast-mobile-header-content,
#ast-mobile-site-navigation{
  background:#0c3560;
  box-shadow:0 12px 24px rgba(10,49,95,.16);
}

#ast-mobile-site-navigation .menu-link{
  padding:14px 18px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

#ast-mobile-site-navigation .bond-language-switcher{
  padding:14px 18px;
}

#ast-mobile-site-navigation .bond-language-switcher .bond-lang-toggle{
  width:max-content;
}

.site-footer .site-primary-footer-wrap{
  background:linear-gradient(90deg,#0a315f 0%,#145bb8 55%,#69c5bd 100%);
  padding-top:30px;
  padding-bottom:30px;
  border-top:1px solid rgba(255,255,255,.08);
}

.site-footer .site-below-footer-wrap{
  background:#07233d;
  color:rgba(255,255,255,.78);
  padding-top:16px;
  padding-bottom:16px;
}

.site-footer .ast-builder-grid-row{
  max-width:1200px;
  margin:0 auto;
}

.site-footer .ast-footer-copyright,
.site-footer .ast-footer-copyright p,
.site-footer .ast-footer-copyright a{
  color:rgba(255,255,255,.84);
}

.site-footer .ast-builder-html-element p{
  margin:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 18px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(10,49,95,.12);
  border-radius:20px;
  box-shadow:0 12px 24px rgba(10,49,95,.12);
}

.site-footer .ast-builder-html-element img{
  max-width:min(360px,70vw);
  height:auto;
}

.site-footer a:hover,
.site-footer a:focus{
  color:var(--bond-gold);
}

.home .site-content,
.page-id-11 .site-content,
.single-post .site-content,
.archive .site-content{
  background:linear-gradient(180deg,#eef7f5 0%,#ffffff 32%);
}

.page-id-11 .entry-content,
.bond-home-page .entry-content{
  padding:0 !important;
}

.page-id-11 .bond-shell,
.bond-home-page .bond-shell{
  padding-top:0;
}

.ast-page-builder-template .site-content > .ast-container{
  max-width:100%;
  padding:0;
}

.bond-home-page .site-content > .ast-container{
  max-width:100% !important;
  padding:0 !important;
}

.bond-home-page #content,
.bond-home-page #primary,
.bond-home-page .site-content,
.bond-home-page .content-area,
.bond-home-page .site-main{
  margin:0 !important;
  padding:0 !important;
}

.bond-home-page .site-main > article,
.bond-home-page .entry-content{
  margin:0 !important;
}

.bond-home-page .site-main > article{
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

.bond-home-page .entry-header,
.bond-home-page .ast-breadcrumbs-wrapper{
  display:none !important;
}

.bond-shell{
  color:var(--bond-ink);
}

.bond-shell,
.bond-shell *{
  box-sizing:border-box;
}

.bond-shell section[id],
.bond-shell div[id]{
  scroll-margin-top:110px;
}

.bond-wrap{
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

.bond-hero{
  position:relative;
  overflow:hidden;
  margin-top:0;
  background:
    radial-gradient(circle at top right, rgba(105,197,189,.34), transparent 26%),
    linear-gradient(135deg,#0a315f 0%,#145bb8 50%,#69c5bd 100%);
  color:#fff;
  border-radius:0;
  padding:84px 0 66px;
}

.bond-hero::before{
  content:"";
  position:absolute;
  inset:auto -10% -120px auto;
  width:320px;
  height:320px;
  border-radius:50%;
  background:rgba(255,255,255,.09);
  filter:blur(8px);
}

.bond-hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.32),transparent);
}

.bond-grid-hero{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(290px,.8fr);
  gap:28px;
  align-items:end;
}

.bond-network-graphic{
  margin:0 0 18px;
  padding:12px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
}

.bond-network-graphic svg{
  display:block;
  width:100%;
  height:auto;
}

.bond-grid-hero > div:first-child{
  position:relative;
  margin-top:0;
  padding:0;
}

.bond-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 10px 24px rgba(8,24,32,.12);
  font-size:.94rem;
  font-weight:700;
  letter-spacing:.02em;
}

.bond-hero h1{
  margin:20px 0 16px;
  max-width:15ch;
  color:#fff;
  font-size:clamp(2.2rem,4.8vw,4.05rem);
  line-height:1.05;
  letter-spacing:0;
  text-wrap:balance;
  text-shadow:0 8px 26px rgba(7,27,47,.24);
}

.bond-lead{
  margin:0;
  max-width:44rem;
  color:rgba(255,255,255,.94);
  font-size:1.06rem;
  line-height:1.72;
  text-shadow:0 6px 20px rgba(7,27,47,.22);
}

.bond-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:26px;
}

.bond-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:14px 20px;
  border-radius:999px;
  background:#fff;
  color:var(--bond-ink);
  font-weight:700;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(8,24,32,.18);
}

.bond-btn.secondary{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.28);
  box-shadow:none;
}

.bond-stat-panel{
  margin-top:10px;
  backdrop-filter:blur(10px);
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  border-radius:24px;
  padding:22px;
  box-shadow:0 18px 36px rgba(8,24,32,.12);
}

.bond-stat-panel h3{
  margin:0 0 14px;
  color:rgba(255,255,255,.82);
  font-size:1rem;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.bond-stat-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.bond-stat{
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
}

.bond-stat strong{
  display:block;
  margin-bottom:6px;
  color:#fff;
  font-size:1.55rem;
  line-height:1;
}

.bond-stat span{
  display:block;
  color:rgba(255,255,255,.84);
  font-size:.92rem;
  line-height:1.4;
}

.bond-section{
  padding:64px 0 0;
  background:linear-gradient(180deg,#eef7f5 0%,#ffffff 100%);
}

.bond-heading{
  max-width:48rem;
  margin-bottom:26px;
}

.bond-heading h2{
  margin:0 0 10px;
  color:var(--bond-ink);
  font-size:clamp(1.85rem,3vw,2.8rem);
  line-height:1.1;
  letter-spacing:0;
}

.bond-heading p{
  margin:0;
  color:var(--bond-muted);
  line-height:1.75;
}

.bond-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.bond-card{
  position:relative;
  height:100%;
  padding:24px;
  border:1px solid var(--bond-line);
  border-radius:22px;
  background:var(--bond-panel);
  box-shadow:var(--bond-shadow);
  overflow:hidden;
}

.bond-card::before{
  content:"";
  display:block;
  width:46px;
  height:4px;
  margin-bottom:18px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--bond-blue),var(--bond-teal),var(--bond-gold));
}

.bond-card .bond-kicker{
  margin:0 0 12px;
  color:var(--bond-blue);
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.bond-card h3{
  margin:0 0 10px;
  color:var(--bond-ink);
  font-size:1.32rem;
  line-height:1.18;
}

.bond-card p{
  margin:0;
  color:var(--bond-muted);
  line-height:1.65;
}

.bond-pubs{
  padding:64px 0 78px;
}

.bond-pubs .bond-wrap{
  max-width:1280px;
}

.bond-pubs-surface{
  padding:32px;
  border:1px solid var(--bond-line);
  border-radius:22px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fcfa 100%);
  box-shadow:var(--bond-shadow);
}

.bond-pubs-topline{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}

.bond-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:var(--bond-teal-soft);
  color:var(--bond-blue-deep);
  font-weight:800;
  font-size:.82rem;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.bond-feature-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.bond-feature-card{
  min-height:100%;
  padding:20px;
  border:1px solid var(--bond-line);
  border-radius:20px;
  background:#fff;
  transition:transform .18s ease, box-shadow .18s ease;
}

.bond-feature-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(12,52,66,.08);
}

.bond-feature-card .bond-kicker{
  margin:0 0 10px;
  color:var(--bond-blue);
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.bond-feature-card h3{
  margin:0;
  color:var(--bond-ink);
  font-size:1.18rem;
  line-height:1.3;
}

.bond-feature-card a,
.bond-archive-list a{
  color:var(--bond-ink);
  text-decoration:none;
}

.bond-feature-card a:hover,
.bond-archive-list a:hover{
  text-decoration:underline;
}

.bond-archive{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  margin-top:22px;
}

.bond-archive-list{
  margin:0;
  padding:0;
  list-style:none;
  border:1px solid var(--bond-line);
  border-radius:22px;
  background:#fff;
  overflow:hidden;
}

.bond-archive-list li{
  display:grid;
  grid-template-columns:116px minmax(0,1fr) minmax(190px,240px);
  gap:16px;
  align-items:start;
  padding:16px 18px;
  border-top:1px solid #edf3f0;
}

.bond-archive-list li:first-child{
  border-top:none;
}

.bond-archive-list span{
  color:var(--bond-blue);
  font-size:.88rem;
  font-weight:700;
}

.bond-archive-list em{
  color:#6c7a86;
  font-style:normal;
  font-size:.92rem;
  text-align:right;
}

.bond-note{
  height:100%;
  padding:22px;
  border-radius:22px;
  background:linear-gradient(135deg,#0a315f 0%,#145bb8 65%,#69c5bd 100%);
  color:#fff;
}

.bond-note h3{
  margin:0 0 10px;
  color:#fff;
  font-size:1.2rem;
}

.bond-note p{
  margin:0 0 12px;
  color:rgba(255,255,255,.9);
  line-height:1.7;
}

.bond-note a{
  color:#fff;
  font-weight:700;
}

.bond-team-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:20px;
  padding-bottom:72px;
}

.bond-panel{
  padding:24px;
  border:1px solid var(--bond-line);
  border-radius:24px;
  background:#fff;
  box-shadow:var(--bond-shadow);
}

.bond-panel h3{
  margin:0 0 14px;
  color:var(--bond-ink);
  font-size:1.22rem;
}

.bond-panel ul{
  margin:0;
  padding-left:18px;
  line-height:1.85;
  color:var(--bond-ink);
}

.bond-panel p{
  margin:0;
  color:var(--bond-muted);
  line-height:1.75;
}

.bond-stack{
  display:grid;
  gap:20px;
}

.single-post .ast-breadcrumbs-wrapper,
.archive .ast-breadcrumbs-wrapper{
  max-width:1080px;
}

.single-post .ast-breadcrumbs-wrapper{
  margin:20px auto 16px;
  padding:0 24px;
}

.single-post .ast-breadcrumbs{
  display:inline-flex;
  max-width:100%;
  padding:11px 16px;
  background:rgba(255,255,255,.84);
  border:1px solid rgba(10,49,95,.1);
  border-radius:999px;
  box-shadow:0 10px 24px rgba(10,49,95,.07);
}

.single-post .ast-breadcrumbs .trail-items{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  min-width:0;
}

.single-post .ast-breadcrumbs .trail-items li{
  line-height:1.25;
}

.single-post .ast-breadcrumbs .trail-end{
  display:none;
}

.single-post .ast-breadcrumbs .trail-item:nth-last-child(2)::after{
  display:none;
}

.single-post .ast-breadcrumbs a,
.archive .ast-breadcrumbs a{
  color:var(--bond-blue);
}

.single-post .site-main > article{
  max-width:1020px;
  margin:0 auto 42px;
  padding:0 20px;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
}

.single-post .entry-header{
  margin:0 !important;
  padding:48px 48px 34px;
  background:linear-gradient(135deg,rgba(10,49,95,.98) 0%,rgba(20,91,184,.94) 52%,rgba(105,197,189,.84) 100%);
  border:1px solid rgba(255,255,255,.22);
  border-radius:30px;
  box-shadow:var(--bond-shadow-strong);
  color:#fff;
  overflow:hidden;
}

.single-post .entry-header,
.single-post .entry-content,
.single-post .bond-article-source-figure{
  box-sizing:border-box;
  max-width:100%;
}

.single-post .entry-title{
  max-width:920px;
  margin:0 0 14px !important;
  color:#fff !important;
  font-size:clamp(2rem,3.6vw,2.85rem) !important;
  line-height:1.14 !important;
  letter-spacing:0;
  text-wrap:balance;
}

.single-post .entry-meta{
  margin-top:16px;
  display:inline-flex;
  flex-wrap:wrap;
  gap:8px 14px;
  padding:12px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
}

.single-post .entry-meta,
.single-post .entry-meta *{
  color:rgba(255,255,255,.9) !important;
}

.single-post .entry-content{
  margin-top:22px;
  padding:38px 48px 24px !important;
  background:var(--bond-panel);
  border:1px solid var(--bond-line);
  border-radius:30px;
  box-shadow:var(--bond-shadow);
}

.single-post .entry-content p,
.single-post .entry-content li{
  color:var(--bond-ink);
  font-size:1.05rem;
  line-height:1.85;
}

.single-post .entry-content > p:first-of-type{
  color:var(--bond-ink);
  font-size:1.08rem;
}

.single-post .entry-content ul,
.single-post .entry-content ol{
  margin-left:1.4rem;
}

.single-post .entry-content img{
  border-radius:22px;
  box-shadow:0 18px 36px rgba(10,49,95,.14) !important;
}

.single-post .entry-content blockquote{
  margin:2rem 0;
  padding:22px 24px;
  border-left:0;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(105,197,189,.15),rgba(20,91,184,.08));
  color:var(--bond-blue-deep);
}

.single-post .entry-content code,
.single-post .entry-content pre{
  background:#edf5f3;
  border-radius:10px;
}

.single-post .entry-content .wp-block-columns,
.single-post .entry-content .bond-article-meta-card{
  margin:26px 0;
  padding:22px;
  border:1px solid var(--bond-line);
  border-radius:24px;
  background:#fff;
  box-shadow:0 10px 24px rgba(10,49,95,.06);
}

.single-post .bond-article{
  display:grid;
  gap:30px;
}

.single-post .bond-article-hero{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(260px,.72fr);
  gap:24px;
  align-items:center;
  padding:26px;
  border:1px solid var(--bond-line);
  border-radius:24px;
  background:linear-gradient(135deg,#f7fcfb 0%,#eef7f5 100%);
}

.single-post .bond-article-visual{
  min-height:210px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  background:linear-gradient(135deg,var(--bond-blue-deep) 0%,var(--bond-blue) 58%,var(--bond-teal) 100%);
  overflow:hidden;
}

.single-post .bond-article-visual svg{
  display:block;
  width:100%;
  height:auto;
}

.single-post .bond-article-summary-box{
  display:grid;
  gap:14px;
}

.single-post .bond-article-summary-box h2,
.single-post .bond-article-section h2{
  margin:0;
  color:var(--bond-blue-deep);
  font-size:1.45rem;
  line-height:1.18;
}

.single-post .bond-article-section{
  padding:24px;
  border:1px solid var(--bond-line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 24px rgba(10,49,95,.05);
}

.single-post .bond-article-section p:last-child{
  margin-bottom:0;
}

.single-post .bond-article-bibliometrics{
  position:relative;
  padding:24px;
  border:1px solid rgba(20,91,184,.16);
  border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(255,207,27,.18), transparent 30%),
    linear-gradient(135deg,#f8fcfb 0%,#eef7f5 100%);
  box-shadow:0 16px 32px rgba(10,49,95,.08);
  overflow:hidden;
}

.single-post .bond-article-bibliometrics::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:6px;
  background:linear-gradient(180deg,var(--bond-blue),var(--bond-teal),var(--bond-gold));
}

.single-post .bond-article-bibliometrics h2{
  margin:0 0 18px;
  color:var(--bond-blue-deep);
  font-size:1.45rem;
  line-height:1.18;
}

.single-post .bond-biblio-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-bottom:18px;
}

.single-post .bond-biblio-grid div{
  padding:16px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(10,49,95,.08);
  box-shadow:0 10px 22px rgba(10,49,95,.06);
}

.single-post .bond-biblio-grid span,
.single-post .bond-article-bibliometrics dt{
  display:block;
  color:var(--bond-blue);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.07em;
  line-height:1.25;
  text-transform:uppercase;
}

.single-post .bond-biblio-grid strong{
  display:block;
  margin-top:8px;
  color:var(--bond-ink);
  font-size:1.55rem;
  line-height:1.05;
}

.single-post .bond-article-bibliometrics dl{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px 18px;
  margin:0;
}

.single-post .bond-article-bibliometrics dl div{
  min-width:0;
}

.single-post .bond-article-bibliometrics dt{
  margin-bottom:5px;
}

.single-post .bond-article-bibliometrics dd{
  margin:0;
  color:var(--bond-ink);
  font-size:.98rem;
  line-height:1.45;
}

.single-post .bond-article .bond-article-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0;
  padding:8px 12px;
  border-radius:999px;
  background:var(--bond-teal-soft);
  color:var(--bond-blue-deep) !important;
  font-size:.88rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.single-post .bond-article .bond-article-summary{
  margin:0;
  color:var(--bond-ink) !important;
  font-size:1.06rem;
}

.single-post .bond-article .bond-article-meta-card p{
  margin:0 0 10px 0;
}

.single-post .bond-article .bond-article-meta-card p:last-child{
  margin-bottom:0;
}

.single-post .bond-article-source-figure{
  margin:0;
  padding:18px;
  border:1px solid var(--bond-line);
  border-radius:24px;
  background:linear-gradient(180deg,#ffffff 0%,#f7fcfb 100%);
  box-shadow:0 16px 34px rgba(10,49,95,.08);
}

.single-post .bond-article-source-figure img{
  display:block;
  width:100%;
  height:auto;
  max-height:680px;
  object-fit:contain;
  background:#fff;
  border:1px solid rgba(10,49,95,.08);
  border-radius:16px;
  box-shadow:none !important;
}

.single-post .bond-article-context-figure svg{
  display:block;
  width:100%;
  height:auto;
  max-height:520px;
  border:1px solid rgba(10,49,95,.08);
  border-radius:16px;
  background:#fff;
}

.single-post .bond-article-source-figure figcaption{
  margin:12px 2px 0;
  color:var(--bond-muted);
  font-size:.92rem;
  line-height:1.55;
}

.single-post .bond-article-source-figure figcaption a{
  color:var(--bond-blue-deep);
  font-weight:700;
}

.single-post .bond-article-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.single-post .bond-article-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  background:var(--bond-blue);
  color:#fff !important;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 12px 24px rgba(20,91,184,.18);
}

.single-post .bond-article-links a.secondary{
  background:#fff;
  color:var(--bond-blue-deep) !important;
  border:2px solid var(--bond-teal);
  box-shadow:none;
}

.single-post .wp-block-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.single-post .wp-block-button__link{
  min-height:48px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--bond-blue) !important;
  color:#fff !important;
  border:none !important;
  border-radius:999px !important;
  box-shadow:0 12px 24px rgba(20,91,184,.2) !important;
}

.single-post .is-style-outline .wp-block-button__link{
  background:transparent !important;
  color:var(--bond-ink) !important;
  border:2px solid var(--bond-teal) !important;
  box-shadow:none !important;
}

.single-post .post-navigation{
  max-width:980px;
  margin:0 auto 36px;
  padding:0 20px 28px !important;
  border-top:0;
}

.single-post .post-navigation .nav-links{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:18px;
  width:100%;
  padding:0;
  align-items:stretch;
}

.single-post .post-navigation .nav-next,
.single-post .post-navigation .nav-previous{
  float:none !important;
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-width:0;
  justify-self:stretch;
}

.single-post .post-navigation .nav-previous:after{
  display:none;
}

.single-post .post-navigation a{
  position:relative;
  display:flex !important;
  flex-direction:column;
  gap:8px;
  height:100%;
  min-height:118px;
  max-width:none !important;
  width:100% !important;
  padding:18px 20px;
  background:#fff;
  border:1px solid var(--bond-line);
  border-radius:22px;
  box-shadow:0 12px 28px rgba(10,49,95,.08);
  color:var(--bond-blue-deep);
  text-decoration:none !important;
  overflow:hidden;
}

.single-post .post-navigation a::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg,var(--bond-blue),var(--bond-teal),var(--bond-gold));
}

.single-post .post-navigation .nav-next a{
  align-items:flex-start;
  text-align:left;
}

.single-post .post-navigation a .ast-post-nav{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--bond-blue);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.08em;
  line-height:1.15;
}

.single-post .post-navigation .nav-next a .ast-post-nav{
  justify-content:flex-start;
}

.single-post .post-navigation .ahfb-svg-iconset{
  display:none !important;
}

.single-post .post-navigation .nav-previous a .ast-post-nav::before,
.single-post .post-navigation .nav-next a .ast-post-nav::after{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.8em;
  height:1.8em;
  border-radius:999px;
  background:var(--bond-teal-soft);
  color:var(--bond-blue-deep);
  font-size:.95rem;
  line-height:1;
}

.single-post .post-navigation .nav-previous a .ast-post-nav::before{
  content:"←";
}

.single-post .post-navigation .nav-next a .ast-post-nav::after{
  content:"→";
}

.single-post .post-navigation a svg{
  display:none !important;
}

.single-post .post-navigation a p{
  margin:0;
  white-space:normal;
  color:var(--bond-ink);
  font-size:.98rem;
  font-weight:700;
  line-height:1.45;
}

.archive .ast-archive-description{
  max-width:1120px;
  margin:28px auto 24px;
  padding:28px 28px 20px;
  border:1px solid var(--bond-line);
  border-radius:30px;
  background:linear-gradient(135deg,rgba(10,49,95,.96) 0%,rgba(20,91,184,.92) 58%,rgba(105,197,189,.86) 100%);
  color:#fff;
  box-shadow:var(--bond-shadow);
}

.archive .ast-archive-title{
  margin-bottom:8px;
  color:#fff;
  font-size:clamp(2rem,4vw,3rem);
  font-weight:700;
}

.archive .ast-archive-description p{
  color:rgba(255,255,255,.86);
  font-size:1.05rem;
}

.archive .site-main{
  max-width:1120px;
  margin:8px auto 48px;
}

.archive .ast-row{
  row-gap:22px;
}

.archive .ast-article-post{
  margin-bottom:0;
}

.archive .ast-article-post .ast-article-inner{
  height:100%;
  padding:0;
  background:#fff;
  border:1px solid var(--bond-line);
  border-radius:26px;
  box-shadow:0 16px 34px rgba(10,49,95,.08);
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.archive .ast-article-post .ast-article-inner:hover{
  transform:translateY(-4px);
  box-shadow:var(--bond-shadow-strong);
  border-color:rgba(20,91,184,.18);
}

.archive .ast-blog-featured-section{
  margin-bottom:0;
}

.archive .ast-blog-featured-section img{
  aspect-ratio:16/10;
  object-fit:cover;
  box-shadow:none;
}

.archive .post-content{
  padding:22px 22px 24px;
}

.archive .entry-title{
  margin-bottom:12px;
  line-height:1.18;
}

.archive .entry-title a{
  color:var(--bond-blue-deep);
}

.archive .ast-taxonomy-container a{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(20,91,184,.08);
  color:var(--bond-blue-deep);
  font-weight:700;
  font-size:.82rem;
}

.archive .entry-meta,
.archive .entry-meta a{
  color:var(--bond-muted);
  font-size:.94rem;
}

.archive .ast-excerpt-container p{
  margin-bottom:0;
  color:var(--bond-ink);
  line-height:1.75;
}

.comments-area,
.comment-respond,
.comments-link,
.comments-count-wrapper,
.comment-navigation,
.ast-comment-list,
.ast-comment-meta,
.ast-comment-content,
.ast-comment-edit-reply-wrap,
.comment-reply-title{
  display:none !important;
}

@media (max-width:1100px){
  #masthead .custom-logo-link img{
    width:min(210px,32vw);
  }

  #masthead .site-logo-img a{
    min-width:min(238px,30vw);
    min-height:90px;
    padding:12px 16px;
  }

  #masthead .ast-builder-layout-element[data-section="section-hb-html-1"]{
    max-width:min(32vw,330px);
  }

  #masthead .ast-builder-layout-element[data-section="section-hb-html-1"] .ast-builder-html-element p{
    min-height:90px;
    padding:12px 16px;
    font-size:.76rem;
  }

  #masthead .ast-builder-layout-element[data-section="section-hb-html-1"] .ast-builder-html-element img{
    height:54px !important;
    max-width:236px;
  }
}

@media (max-width:1024px){
  .bond-grid-hero,
  .bond-card-grid,
  .bond-archive,
  .bond-team-grid{
    grid-template-columns:1fr;
  }

  .bond-feature-grid{
    grid-template-columns:1fr 1fr;
  }

  .bond-grid-hero > div:first-child{
    margin-top:0;
    padding:0;
  }

  .bond-archive-list li{
    grid-template-columns:94px minmax(0,1fr);
  }

  .bond-archive-list em{
    grid-column:2;
    text-align:left;
  }
}

@media (max-width:921px){
  #masthead .site-primary-header-wrap.ast-container{
    padding-top:8px;
    padding-bottom:8px;
  }

  #masthead .ast-builder-grid-row{
    grid-template-columns:1fr auto;
    column-gap:14px;
  }

  #masthead .site-logo-img a{
    min-height:84px;
    min-width:min(220px,42vw);
    padding:12px 16px;
    border-radius:22px;
  }

  #masthead .custom-logo-link img{
    width:min(190px,46vw);
  }

  #masthead .ast-builder-layout-element[data-section="section-hb-html-1"]{
    max-width:min(42vw,280px);
  }

  #masthead .ast-builder-layout-element[data-section="section-hb-html-1"] .ast-builder-html-element p{
    min-height:84px;
    align-items:flex-start;
    text-align:left;
    padding:12px 16px;
    border-radius:22px;
  }

  #masthead .ast-builder-layout-element[data-section="section-hb-html-1"] .ast-builder-html-element img{
    height:48px !important;
  }

  #ast-mobile-header .site-header-primary-section-left{
    max-width:calc(100% - 58px);
  }

  #ast-mobile-header .custom-logo-link img{
    width:min(174px,48vw);
  }

  #ast-mobile-header .ast-builder-layout-element[data-section="section-hb-html-2"] .ast-builder-html-element p{
    padding:9px 11px;
    font-size:.7rem;
  }

  #ast-mobile-header .ast-builder-layout-element[data-section="section-hb-html-2"] .ast-builder-html-element img{
    height:50px !important;
  }

  .single-post .entry-header{
    padding:32px 24px 22px;
  }

  .single-post .entry-content{
    padding:26px 24px 18px !important;
  }

  .single-post .bond-article-hero{
    grid-template-columns:1fr;
  }

  .archive .site-main,
  .archive .ast-archive-description,
  .single-post .site-main > article{
    max-width:100%;
  }
}

@media (max-width:782px){
  .admin-bar #masthead{
    top:46px;
  }

  .bond-wrap{
    padding:0 18px;
  }

  .bond-hero{
    border-radius:0;
    padding:58px 0 42px;
  }

  .bond-grid-hero > div:first-child{
    padding:0;
  }

  .bond-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .bond-btn{
    width:100%;
  }

  .bond-stat-list,
  .bond-feature-grid,
  .bond-card-grid{
    grid-template-columns:1fr;
  }

  .bond-section,
  .bond-pubs{
    padding-top:42px;
  }

  .bond-pubs{
    padding-bottom:54px;
  }

  .bond-heading{
    margin-bottom:20px;
  }

  .bond-pubs-surface,
  .bond-panel,
  .bond-card,
  .bond-note,
  .bond-stat-panel{
    padding:20px;
    border-radius:20px;
  }

  .bond-archive-list li{
    grid-template-columns:1fr;
    gap:6px;
  }

  .single-post .entry-title{
    font-size:clamp(1.55rem,7vw,2rem) !important;
    overflow-wrap:anywhere;
  }

  .single-post .bond-article-hero,
  .single-post .bond-article-section,
  .single-post .bond-article-bibliometrics,
  .single-post .bond-article-source-figure{
    padding:18px;
    border-radius:18px;
  }

  .single-post .bond-biblio-grid,
  .single-post .bond-article-bibliometrics dl{
    grid-template-columns:1fr;
  }

  .single-post .bond-article-visual{
    min-height:170px;
  }

  .single-post .post-navigation .nav-links{
    grid-template-columns:1fr;
  }

  .single-post .post-navigation .nav-next a{
    align-items:flex-start;
    text-align:left;
  }

  .single-post .post-navigation .nav-next a .ast-post-nav{
    justify-content:flex-start;
  }

  .single-post .post-navigation a{
    min-height:auto;
  }

  .single-post .post-navigation a p{
    display:block !important;
  }

  .bond-hero h1{
    max-width:none;
    font-size:clamp(2rem,10vw,3rem);
  }

  .bond-lead{
    font-size:1rem;
    line-height:1.68;
  }

  .archive .ast-archive-description{
    padding:22px 22px 18px;
    border-radius:24px;
  }
}

@media (max-width:640px){
  html,
  body{
    overflow-x:hidden;
  }

  .single-post .ast-breadcrumbs-wrapper{
    padding:0 20px;
  }

  .single-post .site-main > article{
    width:100vw;
    max-width:100vw;
    margin-left:0;
    margin-right:0;
    padding:0 20px;
  }

  .single-post .entry-header,
  .single-post .entry-content{
    width:calc(100vw - 40px);
    max-width:calc(100vw - 40px);
  }

  .single-post .entry-header{
    padding:30px 24px 24px;
    border-radius:26px;
  }

  .single-post .entry-content{
    padding:24px 24px 18px !important;
    border-radius:24px;
  }

  #ast-mobile-header .ast-builder-grid-row{
    grid-template-columns:minmax(0,1fr) auto;
    column-gap:10px;
  }

  #ast-mobile-header .site-header-primary-section-left{
    max-width:calc(100% - 54px);
  }

  #ast-mobile-header .site-logo-img a{
    min-height:72px;
    padding:7px 10px;
    border-radius:16px;
  }

  #ast-mobile-header .custom-logo-link img{
    width:min(156px,52vw);
  }

  #ast-mobile-header .ast-builder-layout-element[data-section="section-hb-html-2"] .ast-builder-html-element p{
    min-height:72px;
    gap:6px;
    padding:8px 10px;
    font-size:.66rem;
  }

  #ast-mobile-header .ast-builder-layout-element[data-section="section-hb-html-2"] .ast-builder-html-element img{
    height:44px !important;
  }
}
