/*
Theme Name: English4life Studio
Version: 1.1.0
Text Domain: english4life-studio
*/
:root{--ink:#182b26;--muted:#40554c;--forest:#174d3c;--cream:#f8f6ef;--line:#d8e1d8}
*{box-sizing:border-box} body{margin:0;background:var(--cream);color:var(--ink);font:1.05rem/1.65 system-ui,sans-serif} a{color:var(--forest);text-underline-offset:.19em} a:focus-visible,button:focus-visible{outline:3px solid #b25635;outline-offset:4px} h1,h2,h3{font-family:Georgia,serif;line-height:1.12;letter-spacing:-.035em;margin:0 0 .55em} h1{font-size:clamp(2.2rem,5.4vw,4.75rem)} h2{font-size:clamp(1.7rem,3.3vw,2.8rem)} h3{font-size:1.45rem} p{margin:0 0 1em} .eyebrow{color:var(--forest);font-size:.77rem;font-weight:750;letter-spacing:.13em;text-transform:uppercase;margin:0 0 1.15rem} .lead{font-size:clamp(1rem,2vw,1.24rem);color:var(--muted);max-width:66ch} .site-head,.site-foot{padding:1.15rem max(5vw,1.2rem);background:#fffdf8;border-bottom:1px solid var(--line)} .site-head{display:flex;justify-content:space-between;align-items:center;gap:1.5rem} .site-head .wp-block-site-title{font-family:Georgia,serif;font-size:1.65rem;letter-spacing:-.045em;margin:0}.site-head .wp-block-site-title a{text-decoration:none}.site-head .wp-block-navigation{font-size:1rem;font-weight:600}.site-foot{border-top:1px solid var(--line);margin-top:3rem;font-size:.92rem}.site-foot p{margin:0}.section,.hero{width:min(1160px,90%);margin:0 auto;padding:clamp(2.25rem,6vw,5rem) 0}.hero .wp-block-columns{align-items:center;gap:clamp(1.6rem,5vw,5rem);margin:0}.hero .wp-block-image{margin:0}.hero img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:1.5rem}.intro{padding-bottom:1.25rem}.reading{width:min(850px,90%);margin-left:max(5%,calc((100% - 1160px)/2));padding-top:1.7rem}.reading h2:not(:first-child){margin-top:1.7em}.card{background:#fffdf8;padding:clamp(1.25rem,2.8vw,2rem);border:1px solid var(--line);border-radius:1rem;height:100%}.card .eyebrow{margin-bottom:.7rem}.split,.callout{padding:clamp(1.35rem,4vw,3rem);background:#e7efe7;border-radius:1rem;margin-bottom:2rem}.split .wp-block-columns{margin:0}.bio img{max-height:460px;width:100%;object-fit:cover;object-position:center 35%;aspect-ratio:4/5;border-radius:1rem}.wp-block-button__link{border-radius:2rem;background:var(--forest);color:white;font-weight:650;padding:.65em 1.15em}.wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:var(--forest);border:1px solid var(--forest)} .wp-block-table{overflow-x:auto;margin:0 0 1.5rem}.wp-block-table table{min-width:475px;border-collapse:collapse;text-align:left;font-size:.94rem}.wp-block-table th,.wp-block-table td{padding:.6rem .55rem;border:1px solid var(--line);overflow-wrap:anywhere}.wp-block-table th{background:#e7efe7}.wp-block-table th:first-child{width:35%}.wp-block-table th:nth-child(2),.wp-block-table th:nth-child(3){width:16%}.wp-block-table tbody tr:nth-child(even){background:#fffdf8}.wp-block-navigation__responsive-container.is-menu-open{background:#fffdf8!important;color:var(--ink)!important}
@media(max-width:781px){.site-head{padding:.85rem 5%}.hero{padding-top:2.6rem}.hero h1{font-size:clamp(2.25rem,8vw,3.4rem)}.card{height:auto}.section .wp-block-columns{gap:1rem}.hero .wp-block-columns{gap:1.3rem}.section .wp-block-column{min-width:0}}

/* English4life: Akzente aus dem bestehenden Logo */
:root {
  --brand-red: #cf252b;
  --brand-yellow: #f4ce28;
  --brand-blue: #54b5d8;
  --brand-navy: #153b55;
  --ink: #192c38;
  --muted: #405360;
  --forest: var(--brand-navy);
  --line: #d7e1e6;
  --brand-stripe: linear-gradient(90deg, var(--brand-yellow) 0 33.33%, var(--brand-red) 33.33% 66.66%, var(--brand-blue) 66.66%);
}
.site-head { border-top: 4px solid transparent; border-image: var(--brand-stripe) 1; }
.site-head .wp-block-site-title a { display: inline-flex; align-items: center; gap: .55rem; }
.site-head .wp-block-site-title a::before {
  content: ''; display: inline-block; width: 1.15rem; height: 1.15rem; flex: none;
  border-radius: .2rem;
  background: linear-gradient(var(--brand-yellow), var(--brand-yellow)) left top / 48% 48% no-repeat,
              linear-gradient(var(--brand-red), var(--brand-red)) right top / 48% 48% no-repeat,
              linear-gradient(var(--brand-blue), var(--brand-blue)) right bottom / 48% 48% no-repeat;
}
.eyebrow::before { content: ''; display: inline-block; width: 1.25rem; height: .2rem; margin-right: .55rem; vertical-align: .18em; border-radius: 1rem; background: var(--brand-red); }
.hero .wp-block-image { position: relative; isolation: isolate; margin-inline-end: .7rem; }
.hero .wp-block-image::before { content: ''; position: absolute; inset: .65rem -.65rem -.65rem .65rem; border-radius: 1.5rem; background: linear-gradient(145deg, #ffe9a0, #ffe9a0 62%, #bfe4f2 62%); z-index: -1; }
.hero img { display: block; }
.wp-block-button__link:hover { background: #245473; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: #e5f2f8; }
.section .wp-block-column:nth-child(1) > .card { --card-mark: var(--brand-yellow); background: #fff8dc; }
.section .wp-block-column:nth-child(2) > .card { --card-mark: var(--brand-blue); background: #edf7fb; }
.section .wp-block-column:nth-child(3) > .card { --card-mark: var(--brand-red); background: #fff0eb; }
.card { border-top: .3rem solid var(--card-mark, var(--brand-blue)); }
.card .eyebrow::before { display: none; }
.split, .callout { position: relative; background: #e7f2f7; }
.callout::after { content: ''; position: absolute; inset: auto auto .85rem clamp(1.35rem,4vw,3rem); width: 3.75rem; height: .18rem; border-radius: 1rem; background: var(--brand-stripe); }
.callout { padding-bottom: max(2.15rem, 4vw); }
.wp-block-table th { color: var(--brand-navy); background: #e7f2f7; }
.site-foot { border-top: 3px solid var(--brand-blue); }
@media(max-width: 600px) {
  .site-head .wp-block-site-title { font-size: 1.4rem; }
  .hero .wp-block-image { margin-inline-end: .35rem; margin-bottom: .35rem; }
  .hero .wp-block-image::before { inset: .35rem -.35rem -.35rem .35rem; }
  .wp-block-table table { min-width: 0; width: 100%; font-size: .77rem; }
  .wp-block-table th, .wp-block-table td { padding: .42rem .28rem; }
}
