/*
Theme Name:   IJCCRL GeneratePress Child Home V4B
Theme URI:    https://generatepress.com
Description:  IJCCRL custom child theme for GeneratePress with an editorial homepage for jccrl.eu.
Author:       OpenAI
Template:     generatepress
Version:      0.4.2
Text Domain:  ijccrl-gp-home-v4b
*/

/* ============================================================
   IJCCRL Home V4B
   Micro-surgery only:
   - hero compression
   - right-panel de-boxing
   - first-scroll card lift
   - tighter typography and calmer borders
   ============================================================ */

:root{
  --ijccrl-bg: #0b0f14;
  --ijccrl-bg-soft: #10161d;
  --ijccrl-surface: #141b23;
  --ijccrl-surface-2: #1a2330;
  --ijccrl-surface-3: #223041;
  --ijccrl-line: rgba(255,255,255,.075);
  --ijccrl-line-soft: rgba(255,255,255,.045);
  --ijccrl-line-strong: rgba(199,161,90,.22);
  --ijccrl-text: #f2f0ea;
  --ijccrl-text-soft: #b9c3cd;
  --ijccrl-text-mute: #8f9baa;
  --ijccrl-gold: #c7a15a;
  --ijccrl-gold-2: #d2b37a;
  --ijccrl-blue: #6fa8dc;
  --ijccrl-blue-soft: rgba(111,168,220,.10);
  --ijccrl-green: #89c79a;
  --ijccrl-shadow: 0 18px 52px rgba(0,0,0,.28);
  --ijccrl-shadow-soft: 0 10px 24px rgba(0,0,0,.14);
  --ijccrl-radius-2xl: 30px;
  --ijccrl-radius-xl: 24px;
  --ijccrl-radius-lg: 20px;
  --ijccrl-radius-md: 16px;
  --ijccrl-width: 1280px;
}

body.home,
body.blog.home,
body.page-template-page-templates\/ijccrl-home{
  background:
    radial-gradient(circle at top left, rgba(111,168,220,.08), transparent 30%),
    radial-gradient(circle at top right, rgba(199,161,90,.10), transparent 24%),
    linear-gradient(180deg, #0b0f14 0%, #0f141b 32%, #0b0f14 100%);
  color: var(--ijccrl-text);
}

body.home .site,
body.home #page,
body.home .site-content,
body.home .inside-article,
body.home .content-area,
body.home .site-main{
  background: transparent;
}

body.home .inside-header,
body.home .inside-navigation{
  max-width: var(--ijccrl-width);
}

body.home .site-header{
  background: transparent;
}

body.home .main-navigation{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11,15,20,.86);
  border-bottom: 1px solid rgba(255,255,255,.04);
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
  backdrop-filter: blur(12px);
}

body.home .main-navigation .main-nav > ul > li > a,
body.home .main-navigation .menu-toggle,
body.home .main-navigation .menu-bar-items a{
  color: var(--ijccrl-text);
  font-weight: 600;
  letter-spacing: .01em;
}

body.home .main-navigation .main-nav > ul > li > a:hover,
body.home .main-navigation .main-nav > ul > li.current-menu-item > a,
body.home .main-navigation .menu-bar-item:hover > a{
  color: var(--ijccrl-blue);
}

body.home .site-content{
  padding-top: 0;
}

.ijccrl-home{
  width: min(var(--ijccrl-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 72px;
}

.ijccrl-home a,
.ijccrl-home a:hover{
  text-decoration: none;
}

.ijccrl-home-section{
  position: relative;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid var(--ijccrl-line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(20,27,35,.965) 0%, rgba(14,19,26,.955) 100%);
  box-shadow: var(--ijccrl-shadow);
  overflow: hidden;
}

.ijccrl-home-section::before,
.ijccrl-hero::before,
.ijccrl-card::before,
.ijccrl-nav-card::before,
.ijccrl-news-card::before,
.ijccrl-link-tile::before,
.ijccrl-footer::before,
.ijccrl-list-panel::before,
.ijccrl-hero-panel::before{
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(199,161,90,.22), rgba(111,168,220,.18), transparent 75%);
  pointer-events: none;
}

.ijccrl-home-section--compact{
  padding: 20px 24px 22px;
}

.ijccrl-home-section--lifted{
  margin-top: 14px;
}

@media (min-width: 981px){
  .ijccrl-home-section--lifted{
    transform: translateY(-10px);
  }
}

.ijccrl-section-header{
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ijccrl-section-header > div:first-child{
  max-width: 780px;
}

.ijccrl-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--ijccrl-gold);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ijccrl-eyebrow::before{
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--ijccrl-gold), transparent);
}

.ijccrl-home h1,
.ijccrl-home h2,
.ijccrl-home h3,
.ijccrl-home h4{
  margin: 0;
  color: var(--ijccrl-text);
}

.ijccrl-home h1{
  font-size: clamp(2.3rem, 3.75vw, 4.15rem);
  line-height: .94;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.ijccrl-home h2{
  font-size: clamp(1.48rem, 1.9vw, 2.08rem);
  line-height: 1.06;
  letter-spacing: -.022em;
  text-wrap: balance;
}

.ijccrl-home h3{
  font-size: 1.08rem;
  line-height: 1.28;
}

.ijccrl-home p{
  margin: 0;
  color: var(--ijccrl-text-soft);
  line-height: 1.62;
}

.ijccrl-hero{
  position: relative;
  padding: 34px 36px 30px;
  border: 1px solid rgba(199,161,90,.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(199,161,90,.16), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(111,168,220,.14), transparent 24%),
    linear-gradient(135deg, rgba(17,24,33,.99) 0%, rgba(11,15,20,.985) 58%, rgba(20,27,35,.99) 100%);
  box-shadow: 0 18px 58px rgba(0,0,0,.32);
  overflow: hidden;
}

.ijccrl-hero::after{
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(199,161,90,.05) 0%, rgba(199,161,90,0) 70%);
  pointer-events: none;
}

.ijccrl-hero-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(320px, .86fr);
  gap: 24px;
  align-items: stretch;
}

.ijccrl-hero-copy{
  display: grid;
  gap: 15px;
  align-content: start;
}

.ijccrl-hero-kicker{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

.ijccrl-top-pill{
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.035);
  color: var(--ijccrl-text-soft);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.ijccrl-top-pill--gold{
  color: #ecd7af;
  border-color: rgba(199,161,90,.22);
  background: rgba(199,161,90,.10);
}

.ijccrl-top-pill--blue{
  color: #dce9f5;
  border-color: rgba(111,168,220,.20);
  background: rgba(111,168,220,.10);
}

.ijccrl-top-pill--green{
  color: #d9f8e2;
  border-color: rgba(137,199,154,.22);
  background: rgba(137,199,154,.10);
}

.ijccrl-hero-copy .ijccrl-lead{
  max-width: 720px;
  font-size: 1.01rem;
  color: #c3ccd5;
}

.ijccrl-hero-note{
  max-width: 650px;
  color: var(--ijccrl-text-mute);
  font-size: .9rem;
}

.ijccrl-hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 2px;
}

.ijccrl-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.ijccrl-button:hover{
  transform: translateY(-1px);
}

.ijccrl-button--primary{
  background: linear-gradient(180deg, #d2b37a 0%, #b98d45 100%);
  color: #0e1116;
  box-shadow: 0 12px 26px rgba(199,161,90,.18);
}

.ijccrl-button--primary:hover{
  box-shadow: 0 16px 34px rgba(199,161,90,.22);
}

.ijccrl-button--secondary{
  border-color: rgba(111,168,220,.42);
  color: var(--ijccrl-text);
  background: rgba(111,168,220,.08);
}

.ijccrl-button--ghost{
  border-color: var(--ijccrl-line);
  background: rgba(255,255,255,.03);
  color: var(--ijccrl-text);
}

.ijccrl-hero-trust{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 8px;
}

.ijccrl-metric{
  position: relative;
  padding: 14px 15px 13px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 15px;
  background: rgba(255,255,255,.024);
}

.ijccrl-metric strong{
  display: block;
  color: var(--ijccrl-text);
  font-size: .98rem;
}

.ijccrl-metric span{
  display: block;
  margin-top: 4px;
  color: var(--ijccrl-text-soft);
  font-size: .86rem;
  line-height: 1.42;
}

.ijccrl-hero-panel{
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 14px;
  padding: 20px 20px 18px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(21,30,41,.72) 0%, rgba(14,20,27,.82) 100%);
  backdrop-filter: blur(8px);
}

.ijccrl-status-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ijccrl-badge{
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ijccrl-badge--live{
  color: #d9f8e2;
  background: rgba(137,199,154,.14);
  border-color: rgba(137,199,154,.26);
}

.ijccrl-badge--audit{
  color: #e7d3aa;
  background: rgba(199,161,90,.14);
  border-color: rgba(199,161,90,.24);
}

.ijccrl-badge--archive{
  color: #dce9f5;
  background: rgba(111,168,220,.14);
  border-color: rgba(111,168,220,.22);
}

.ijccrl-hero-panel h2{
  font-size: 1.26rem;
}

.ijccrl-panel-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ijccrl-panel-metric{
  padding: 10px 11px 9px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.045);
  background: rgba(255,255,255,.018);
}

.ijccrl-panel-metric strong{
  display: block;
  color: var(--ijccrl-text);
  font-size: .81rem;
}

.ijccrl-panel-metric span{
  display: block;
  margin-top: 3px;
  color: var(--ijccrl-text-soft);
  font-size: .76rem;
  line-height: 1.34;
}

.ijccrl-quick-list{
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ijccrl-quick-list li{
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.05);
}

.ijccrl-quick-list li:first-child{
  border-top: 0;
  padding-top: 0;
}

.ijccrl-quick-list strong{
  color: var(--ijccrl-text);
  display: block;
}

.ijccrl-quick-list span{
  display: block;
  color: var(--ijccrl-text-soft);
  font-size: .88rem;
}

.ijccrl-nav-band{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.ijccrl-nav-card{
  position: relative;
  display: grid;
  gap: 9px;
  min-height: 132px;
  padding: 16px 17px 15px;
  border-radius: 20px;
  border: 1px solid var(--ijccrl-line);
  background: linear-gradient(180deg, rgba(28,37,48,.78) 0%, rgba(20,27,35,.98) 100%);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.ijccrl-nav-card:hover{
  transform: translateY(-2px);
  border-color: rgba(199,161,90,.28);
  box-shadow: var(--ijccrl-shadow-soft);
}

.ijccrl-nav-card::after{
  content: "";
  position: absolute;
  inset: 15px auto 15px 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(199,161,90,.95), rgba(111,168,220,.75));
  opacity: .72;
}

.ijccrl-nav-card__eyebrow{
  padding-left: 10px;
  color: var(--ijccrl-gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ijccrl-nav-card__title{
  padding-left: 10px;
  color: var(--ijccrl-text);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.24;
}

.ijccrl-nav-card p{
  padding-left: 10px;
  font-size: .88rem;
  line-height: 1.48;
}

.ijccrl-nav-card__cta{
  margin-top: auto;
  padding-left: 10px;
  color: var(--ijccrl-blue);
  font-weight: 700;
}

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

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

.ijccrl-card{
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 23px;
  border-radius: 24px;
  border: 1px solid var(--ijccrl-line);
  background: linear-gradient(180deg, rgba(26,35,46,.80) 0%, rgba(17,24,33,.97) 100%);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.ijccrl-card:hover,
.ijccrl-news-card:hover,
.ijccrl-link-tile:hover{
  transform: translateY(-2px);
}

.ijccrl-card:hover{
  border-color: rgba(111,168,220,.20);
  box-shadow: var(--ijccrl-shadow-soft);
}

.ijccrl-card--highlight{
  border-color: rgba(111,168,220,.16);
  background:
    radial-gradient(circle at top right, rgba(111,168,220,.08), transparent 35%),
    linear-gradient(180deg, rgba(26,35,46,.84) 0%, rgba(16,23,31,.98) 100%);
}

.ijccrl-card--gold{
  border-color: rgba(199,161,90,.18);
  background:
    radial-gradient(circle at top right, rgba(199,161,90,.08), transparent 35%),
    linear-gradient(180deg, rgba(26,35,46,.84) 0%, rgba(16,23,31,.98) 100%);
}

.ijccrl-card p{
  font-size: .96rem;
}

.ijccrl-inline-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ijccrl-meta-pill{
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: var(--ijccrl-text-soft);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ijccrl-card-links{
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.ijccrl-card-link{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,.05);
  color: var(--ijccrl-text);
  font-weight: 600;
}

.ijccrl-card-link small{
  color: var(--ijccrl-blue);
  font-size: .82rem;
  font-weight: 700;
}

.ijccrl-link-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ijccrl-link-tile{
  position: relative;
  display: grid;
  gap: 8px;
  padding: 19px;
  border-radius: 20px;
  border: 1px solid var(--ijccrl-line);
  background: rgba(255,255,255,.025);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.ijccrl-link-tile:hover{
  border-color: rgba(111,168,220,.24);
  box-shadow: var(--ijccrl-shadow-soft);
}

.ijccrl-link-tile strong{
  color: var(--ijccrl-text);
}

.ijccrl-link-tile span{
  color: var(--ijccrl-text-soft);
  font-size: .92rem;
  line-height: 1.55;
}

.ijccrl-link-tile em{
  color: var(--ijccrl-blue);
  font-style: normal;
  font-size: .84rem;
  font-weight: 700;
}

.ijccrl-split-feature{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 18px;
}

.ijccrl-list-panel{
  position: relative;
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--ijccrl-line);
  background: rgba(255,255,255,.025);
}

.ijccrl-list{
  margin: 0;
  padding-left: 18px;
  color: var(--ijccrl-text-soft);
}

.ijccrl-list li{
  margin: 0 0 10px;
  line-height: 1.56;
}

.ijccrl-news-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ijccrl-news-card{
  position: relative;
  display: grid;
  gap: 12px;
  padding: 23px;
  border-radius: 24px;
  border: 1px solid var(--ijccrl-line);
  background: linear-gradient(180deg, rgba(28,37,48,.80) 0%, rgba(18,24,31,.98) 100%);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.ijccrl-news-card:hover{
  border-color: rgba(199,161,90,.20);
  box-shadow: var(--ijccrl-shadow-soft);
}

.ijccrl-news-card time{
  color: var(--ijccrl-gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ijccrl-news-card p{
  font-size: .94rem;
}

.ijccrl-news-empty{
  padding: 22px;
  border-radius: 22px;
  border: 1px dashed rgba(255,255,255,.12);
  background: rgba(255,255,255,.02);
}

.ijccrl-footer{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 18px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--ijccrl-line-strong);
  background: linear-gradient(180deg, rgba(16,22,30,.99) 0%, rgba(11,15,20,.99) 100%);
}

.ijccrl-footer-links{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.ijccrl-footer-links a{
  color: var(--ijccrl-text-soft);
  font-weight: 600;
}

.ijccrl-footer-links a:hover{
  color: var(--ijccrl-blue);
}

.ijccrl-footer-meta{
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.024);
}

.ijccrl-muted{
  color: var(--ijccrl-text-soft);
}

.ijccrl-home .screen-reader-text{
  position: absolute !important;
  left: -9999px !important;
}


.ijccrl-hero-panel::before{
  height: 0;
  background: none;
}

.ijccrl-hero-panel .ijccrl-button{
  min-height: 40px;
  padding: 0 15px;
  font-size: .92rem;
}

.ijccrl-hero-panel p{
  line-height: 1.56;
}

.ijccrl-home-section--lifted .ijccrl-section-header{
  margin-bottom: 18px;
}

@media (max-width: 1180px){
  .ijccrl-nav-band{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ijccrl-grid-3,
  .ijccrl-link-grid,
  .ijccrl-news-grid,
  .ijccrl-panel-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px){
  .ijccrl-home{
    width: min(calc(100% - 24px), var(--ijccrl-width));
  }
  .ijccrl-hero-grid,
  .ijccrl-grid-2,
  .ijccrl-grid-3,
  .ijccrl-link-grid,
  .ijccrl-news-grid,
  .ijccrl-footer,
  .ijccrl-split-feature,
  .ijccrl-hero-trust,
  .ijccrl-panel-grid{
    grid-template-columns: 1fr;
  }
  .ijccrl-nav-band{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px){
  .ijccrl-home{
    width: min(calc(100% - 18px), var(--ijccrl-width));
    padding: 20px 0 46px;
  }
  .ijccrl-hero,
  .ijccrl-home-section,
  .ijccrl-footer{
    padding: 20px;
    border-radius: 24px;
  }
  .ijccrl-nav-band,
  .ijccrl-grid-3,
  .ijccrl-grid-2,
  .ijccrl-link-grid,
  .ijccrl-news-grid,
  .ijccrl-panel-grid{
    grid-template-columns: 1fr;
  }
  .ijccrl-section-header{
    display: grid;
    gap: 10px;
  }
  .ijccrl-home h1{
    font-size: clamp(1.95rem, 9vw, 2.9rem);
  }
  .ijccrl-hero-kicker,
  .ijccrl-hero-actions,
  .ijccrl-status-badges{
    gap: 8px;
  }
}

body.home .site-main{
  margin: 0;
}

body.home.separate-containers .inside-article,
body.home.one-container .site-content,
body.home .content-area{
  background: transparent;
}

body.home .entry-content{
  margin: 0;
}
