/*
Theme Name: Alex Baum
Description: Personal web development and digital marketing portfolio. Ollie child theme.
Template: ollie
Version: 0.1.0
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: alex-baum
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > *, .ab-main, .ab-main > .entry-content { margin-block-start: 0; }
.ab-shell { width: min(1240px, calc(100% - 100px)); margin-inline: auto; }
.ab-header { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; border-bottom: 1px solid #d9ded3; gap: 24px; }
.ab-wordmark { margin: 0; font-size: 29px; font-weight: 650; letter-spacing: -1.6px; white-space: nowrap; }
.ab-wordmark a { text-decoration: none; color: #172c25; }
.ab-wordmark span { color: #5e7d30; }
.ab-navigation { margin: 0; font-size: 14px; font-weight: 500; }
.ab-navigation .wp-block-navigation__container { gap: 32px; }
.ab-navigation a { text-decoration: none; }
.ab-hero { padding-block: 76px 64px; display: grid; grid-template-columns: 1.55fr 1fr; gap: 70px; align-items: center; }
.ab-hero > *, .ab-about > *, .ab-project-grid > *, .ab-skills-grid > *, .ab-certs-grid > * { min-width: 0; margin-block-start: 0; }
.ab-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: #516b5d; margin: 0 0 23px; }
.ab-hero h1 { font-size: clamp(42px, 5.1vw, 72px); margin: 0 0 26px; font-weight: 550; letter-spacing: -.052em; line-height: 1.06; }
.ab-intro { font-size: 18px; line-height: 1.7; color: #57655d; max-width: 580px; }
.ab-hero .wp-block-buttons { margin-top: 30px; gap: 12px; }
.wp-block-button.is-style-outline .wp-block-button__link { border: 1px solid #bec8bb; padding: 14px 22px; }
.wp-block-button__link { transition: background .2s, transform .2s; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.ab-location { margin-top: 36px; font-size: 10px; letter-spacing: .1em; color: #68746b; }
.ab-portrait-wrap { position: relative; padding: 20px 20px 0; background: #e9ede2; border-radius: 150px 150px 8px 8px; }
.ab-portrait { margin: 0; }
.ab-portrait img { display: block; width: 100%; aspect-ratio: 4/4.8; object-fit: cover; object-position: center; border-radius: 135px 135px 0 0; }
.ab-portrait-caption { padding: 20px 0; margin: 0; }
.ab-portrait-caption p { margin: 0; font-size: 12px; color: #57655d; }
.ab-portrait-caption .ab-portrait-name { color: #172c25; font-size: 17px; font-weight: 600; }
.ab-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; padding: 24px 0; border-block: 1px solid #d9ded3; }
.ab-strip p { margin: 0; font-size: 13px; color: #57655d; }
.ab-strip p:first-child { font-weight: 600; color: #172c25; }
.ab-section { padding-block: 88px; }
.ab-section h2, .ab-contact h2 { font-size: clamp(32px, 3.6vw, 48px); margin: 0 0 24px; }
.ab-section-intro { max-width: 650px; color: #57655d; }
.ab-section-head { margin-bottom: 42px; }
.ab-project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.ab-project { background: #fff; border: 1px solid #e1e5db; border-radius: 8px; overflow: hidden; }
.ab-project-image { margin: 0; padding: 16px; background: #e7eade; }
.ab-project-image img { width: 100%; aspect-ratio: 16/9; object-fit: contain; object-position: top left; display: block; border-radius: 3px; }
.ab-project-body { padding: 25px; margin: 0; }
.ab-project-body .ab-label { font-size: 9px; margin-bottom: 17px; }
.ab-project h3 { font-size: 26px; margin: 0 0 10px; }
.ab-project p { font-size: 14px; line-height: 1.7; color: #57655d; }
.ab-project .ab-project-subtitle { color: #172c25; font-weight: 500; }
.ab-tags { font-size: 10px!important; letter-spacing: .055em; color: #516b5d; margin-top: 24px; }
.ab-project-link { border-top: 1px solid #e1e5db; padding-top: 18px; margin-top: 24px; }
.ab-project-link a { text-decoration: none; font-weight: 600; }
.ab-project-link span { float: right; }
#kompetenzen { border-top: 1px solid #d9ded3; }
.ab-skills-grid, .ab-certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.ab-skill { border-top: 1px solid #c6d1c2; padding-top: 25px; }
.ab-skill h3 { font-size: 25px; margin-top: 20px; }
.ab-skill p:not(.ab-label) { font-size: 15px; color: #57655d; }
.ab-about { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; border-block: 1px solid #d9ded3; }
.ab-about-copy > p:not(.ab-label) { color: #57655d; font-size: 16px; }
.ab-about .ab-education { border-top: 1px solid #d9ded3; padding-top: 25px; margin-top: 32px; }
.ab-about .ab-language { font-size: 12px!important; }
.ab-timeline-row { border-top: 1px solid #d9ded3; padding-block: 19px; }
.ab-timeline-row p { font-size: 14px; margin: 8px 0 0; color: #57655d; }
.ab-timeline-row h3 { font-size: 23px; margin: 6px 0 12px; }
.ab-certs-grid { gap: 18px; margin-top: 34px; }
.ab-cert { background: #eef0e8; padding: 26px; border-radius: 6px; }
.ab-cert h3 { font-size: 21px; line-height: 1.2; }
.ab-cert .ab-label { font-size: 10px; }
.ab-cert p:not(.ab-label) { font-size: 14px; color: #57655d; }
.ab-contact { padding: 65px; background: #1e4437; border-radius: 8px; color: #f7f9ef; }
.ab-contact h2 { color: #f7f9ef; }
.ab-contact .ab-label { color: #cbe88a; }
.ab-contact .ab-intro { color: #dae4da; }
.ab-contact .wp-block-button__link { background: #daf18d; color: #183729; }
.ab-contact-email a { color: #e1ebdc; font-size: 14px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.ab-footer { padding: 34px 0; display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between; }
.ab-footer p { font-size: 11px; margin: 0; color: #647267; }
.ab-footer a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #64832a; outline-offset: 5px; }
@media (max-width: 1000px) {
  .ab-shell { width: calc(100% - 56px); }
  .ab-hero { gap: 35px; }
  .ab-project-grid { gap: 16px; }
  .ab-project-body { padding: 20px; }
  .ab-about { gap: 40px; }
}
@media (max-width: 760px) {
  .ab-hero { grid-template-columns: 1fr; padding-block: 45px; }
  .ab-hero h1 { font-size: clamp(40px, 7.6vw, 58px); }
  .ab-portrait-wrap { max-width: 380px; width: 100%; }
  .ab-project-grid, .ab-skills-grid, .ab-certs-grid, .ab-about { grid-template-columns: 1fr; }
  .ab-section { padding-block: 55px; }
  .ab-strip { justify-content: flex-start; column-gap: 25px; }
  .ab-strip p:first-child { width: 100%; }
  .ab-project-image img { aspect-ratio: 16/9; }
  .ab-contact { padding: 35px 26px; }
  .ab-about { gap: 30px; }
}
@media (max-width: 480px) {
  .ab-shell { width: calc(100% - 36px); }
  .ab-header { padding-block: 20px; }
  .ab-label { font-size: 9px; letter-spacing: .1em; }
  .ab-intro { font-size: 16px; }
  .ab-hero .wp-block-button__link { font-size: 13px; padding: 14px 16px; }
  .ab-location { font-size: 9px; }
  .ab-navigation .wp-block-navigation__responsive-container.is-menu-open { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wp-block-button__link { transition: none; }
}

.ab-cert .wp-block-buttons { gap: 10px; margin-top: 20px; }
.ab-cert .wp-block-button__link { font-size: 12px; padding: 10px 12px; }
.ab-certificate-preview { margin: 20px 0 0; }
.ab-certificate-preview img { display: block; width: auto; height: 180px; max-width: 100%; object-fit: contain; border: 1px solid #d9ded3; border-radius: 3px; }

.ab-publisher { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 42px; padding: 40px; margin-block: 0 80px; background: #e6ede5; border: 1px solid #d9ded3; border-radius: 8px; box-sizing: border-box; }
.ab-publisher > * { min-width: 0; margin-block: 0; }
.ab-publisher h2 { font-size: clamp(30px, 3vw, 42px); margin-top: 0; }
.ab-publisher-image { margin-inline: 0; }
.ab-publisher-image img { width: 100%; height: auto; display: block; border: 1px solid #d9ded3; border-radius: 6px; }
.ab-case-study { max-width: 1000px; padding-block: 55px 80px; }
.ab-case-study h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.1; }
.ab-case-study h2 { margin-top: 52px; font-size: 30px; }
.ab-case-study h3 { margin-top: 30px; font-size: 22px; }
.ab-case-study .ab-publisher-image { margin-block: 35px; }
@media (max-width: 760px) { .ab-publisher { grid-template-columns: 1fr; padding: 25px; gap: 25px; margin-bottom: 45px; } }
