/*
Theme Name: Ai Samurai
Theme URI: https://aisamurai.co.il
Author: Ai Samurai
Description: תבנית עברית RTL לאתר חדשות בינה מלאכותית. ללא תלות בתוספים חיצוניים.
Version: 1.5.1
License: GPL-2.0-or-later
Text Domain: aisamurai
Tags: rtl-language-support, news, blog, custom-logo, right-sidebar
*/

/* ============================================================ tokens */
:root{
  --red:#e02820;
  --red-dark:#b81f18;
  --cream:#f5e3d0;
  --ink:#16181d;
  --muted:#6f7680;
  --line:#e4e6ea;
  --bg:#f1f1f1;
  --card:#fff;
  --radius:10px;
  --shadow:0 1px 3px rgba(16,18,22,.08), 0 1px 2px rgba(16,18,22,.04);
  --shadow-lg:0 6px 20px rgba(16,18,22,.10);
  --wrap:1180px;
  --header-h:64px;
}

/* ============================================================= reset */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:"Heebo",-apple-system,"Segoe UI",Arial,sans-serif;
  font-size:16px;line-height:1.65;direction:rtl;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--red)}
button{font:inherit}
h1,h2,h3,h4{margin:0 0 .5em;line-height:1.25;font-weight:700;letter-spacing:-.01em}

.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:16px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;inset-inline-start:-9999px;top:0;z-index:200;background:#fff;padding:10px 16px}
.skip-link:focus{inset-inline-start:0}

/* ============================================================ header */
.site-header{
  position:sticky;top:0;z-index:100;background:var(--red);color:#fff;
  box-shadow:0 1px 0 rgba(0,0,0,.08);
}
.header-inner{
  max-width:var(--wrap);margin-inline:auto;padding:0 16px;
  height:var(--header-h);display:flex;align-items:center;gap:12px;
}
.brand{display:flex;align-items:center;flex:0 0 auto;margin-inline-end:auto}
.brand img{max-height:44px;width:auto}
.brand .brand-text{font-weight:900;font-size:20px;color:#fff}

.hdr-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  height:38px;padding:0 14px;border-radius:8px;border:0;cursor:pointer;
  background:var(--cream);color:#3b2f27;font-weight:700;font-size:14px;
  transition:filter .15s;
}
.hdr-btn:hover{filter:brightness(.95);color:#3b2f27}
.hdr-btn.icon{width:38px;padding:0}
.hdr-icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:8px;background:transparent;color:#fff;border:0;cursor:pointer;
}
.hdr-icon:hover{background:rgba(255,255,255,.15);color:#fff}
.hdr-icon svg,.hdr-btn svg{width:20px;height:20px;fill:currentColor}

/* nav */
.nav-toggle{display:inline-flex}
.main-nav{
  display:none;position:absolute;inset-inline:0;top:var(--header-h);
  background:#fff;color:var(--ink);box-shadow:var(--shadow-lg);
  border-top:1px solid rgba(0,0,0,.06);
}
.main-nav.open{display:block}
.main-nav ul{list-style:none;margin:0;padding:8px 0;max-width:var(--wrap);margin-inline:auto}
.main-nav li{border-bottom:1px solid var(--line)}
.main-nav li:last-child{border-bottom:0}
.main-nav a{display:block;padding:13px 20px;font-weight:600}

/* search drawer */
.search-drawer{display:none;background:#fff;border-top:1px solid var(--line);padding:14px 0}
.search-drawer.open{display:block}
.search-form{display:flex;gap:8px;max-width:var(--wrap);margin-inline:auto;padding-inline:16px}
.search-form input[type=search]{
  flex:1;height:44px;padding:0 14px;border:1px solid var(--line);border-radius:8px;
  font:inherit;background:#fafafa;
}
.search-form button{
  height:44px;padding:0 20px;border:0;border-radius:8px;background:var(--red);
  color:#fff;font-weight:700;cursor:pointer;
}

/* =========================================================== layout */
.site-main{padding:22px 0 40px}
.section{margin-bottom:34px}
.section-head{
  display:flex;align-items:center;gap:14px;margin:0 0 16px;
}
.section-head h2{
  margin:0;font-size:22px;font-weight:900;white-space:nowrap;
  color:var(--ink)!important;   /* guard against global h2 colour rules from other plugins */
}
.section-head::after{content:"";flex:1;height:1px;background:var(--line)}
.section-head .more{font-size:14px;font-weight:700;color:var(--muted);white-space:nowrap}
.section-head .more:hover{color:var(--red)}

/* ============================================================= badge */
/* badges sit on the start (right) edge in RTL, matching the live design */
.badge{
  position:absolute;z-index:2;inset-block-start:10px;inset-inline-start:10px;
  padding:4px 11px;border-radius:6px;font-size:12px;font-weight:700;line-height:1.6;
  background:rgba(22,24,29,.78);color:#fff;backdrop-filter:blur(2px);
}
.badge.cream{background:var(--cream);color:#3b2f27}
.badge.bottom{inset-block-start:auto;inset-block-end:8px}

/* ============================================================== hero */
.hero{position:relative;border-radius:var(--radius);overflow:hidden;background:#0b0d10;box-shadow:var(--shadow)}
.hero-track{
  display:flex;overflow-x:auto;scroll-snap-type:x mandatory;
  scrollbar-width:none;-ms-overflow-style:none;
}
.hero-track::-webkit-scrollbar{display:none}
.hero-track:focus-visible{outline:3px solid var(--red);outline-offset:-3px}
.hero-slide{position:relative;flex:0 0 100%;scroll-snap-align:center;display:block}
.hero-slide img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}

.hero-cap{
  position:absolute;inset-inline:0;inset-block-end:0;padding:64px 22px 20px;
  background:linear-gradient(to top,rgba(6,8,11,.92) 0%,rgba(6,8,11,.72) 42%,rgba(6,8,11,0) 100%);
  display:block;
}
/* Deliberately high specificity + !important: other plugins on the site set a
   global h2/heading colour that would otherwise tint this text unreadable. */
.hero .hero-cap .hero-title{
  display:block;margin:0 0 6px;
  font-size:clamp(17px,2.3vw,29px);font-weight:900;line-height:1.28;
  color:#fff!important;text-shadow:0 2px 14px rgba(0,0,0,.75);
}
.hero .hero-cap .hero-meta{
  display:block;font-size:13.5px;color:#e8eaee!important;text-shadow:0 1px 8px rgba(0,0,0,.7);
}

/* arrows */
.hero-arrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  width:42px;height:42px;border:0;border-radius:50%;cursor:pointer;
  background:rgba(10,12,15,.55);color:#fff;
  display:flex;align-items:center;justify-content:center;
  backdrop-filter:blur(3px);transition:background .15s,transform .15s;
}
.hero-arrow:hover{background:rgba(10,12,15,.8);color:#fff}
.hero-arrow:focus-visible{outline:3px solid #fff;outline-offset:2px}
.hero-arrow svg{width:22px;height:22px}
.hero-arrow--prev{inset-inline-start:12px}
.hero-arrow--next{inset-inline-end:12px}
@media (hover:none){ .hero-arrow{display:none} }

/* dots — real buttons, centred on a flex row so none can sit off-axis */
.hero-dots{
  display:flex;align-items:center;justify-content:center;gap:9px;
  padding:12px 0 0;line-height:0;
}
.hero-dot{
  flex:0 0 auto;width:9px;height:9px;padding:0;border:0;border-radius:50%;
  background:#c4c8ce;cursor:pointer;appearance:none;
  transition:background .15s,transform .15s;
}
.hero-dot:hover{background:#9aa0a8}
.hero-dot.is-on{background:var(--red)}
.hero-dot:focus-visible{outline:2px solid var(--red);outline-offset:3px}

/* ============================================================= cards */
.card-list{display:grid;gap:12px}

/* horizontal card: text on the start (right) side, image on the end (left) — as on the live site */
.card-h{
  display:grid;grid-template-columns:1fr 148px;gap:0;align-items:stretch;min-height:104px;
  background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);
  overflow:hidden;transition:box-shadow .18s,transform .18s;
}
.card-h:hover{box-shadow:var(--shadow-lg);transform:translateY(-1px)}
.card-h .body{grid-column:1;grid-row:1;padding:12px 16px;display:flex;flex-direction:column;justify-content:center;min-width:0}
/* the thumb is its own grid cell and stretches to the full row height */
.card-h .thumb{
  grid-column:2;grid-row:1;position:relative;overflow:hidden;
  align-self:stretch;height:100%;min-height:104px;
}
.card-h .thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-width:none}
.card-h .date{font-size:13px;color:var(--muted);margin-bottom:3px}
.card-h h3{
  margin:0;font-size:16.5px;font-weight:700;line-height:1.4;color:var(--ink)!important;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.card-h .dek{margin:7px 0 0;font-size:14px;color:var(--muted);display:none}

/* vertical card grid */
.grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.card-v{
  background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;
  display:flex;flex-direction:column;transition:box-shadow .18s,transform .18s;
}
.card-v:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.card-v .thumb{position:relative}
.card-v .thumb img{width:100%;aspect-ratio:16/9;object-fit:cover}
.card-v .body{padding:14px 16px 18px}
.card-v .date{font-size:13px;color:var(--muted);margin-bottom:5px}
.card-v h3{margin:0;font-size:17px;line-height:1.4;color:var(--ink)!important}

/* portrait cards ("כוכבי ה-Ai של ישראל") */
.portrait-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
.star{
  position:relative;display:block;border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow);background:#dfe2e6;transition:box-shadow .18s,transform .18s;
}
.star:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.star img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}
.star-noimg{
  display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;
  font-size:56px;font-weight:900;color:#fff;background:linear-gradient(160deg,var(--red),#8f1811);
}
.star-tag{
  position:absolute;inset-inline:10px;inset-block-end:12px;text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:5px;
}
.star-tag b{
  background:var(--red);color:#fff;font-size:15px;font-weight:900;
  padding:5px 14px;border-radius:6px;line-height:1.35;
}
.star-tag i{
  background:var(--cream);color:#3b2f27;font-style:normal;font-size:12.5px;font-weight:600;
  padding:3px 11px;border-radius:6px;line-height:1.4;
}
.stars-head{margin-bottom:6px}

/* ========================================================= single post */
.single-wrap{max-width:760px;margin-inline:auto}
.post-hero{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);margin-bottom:18px}
.post-hero img{width:100%;aspect-ratio:16/9;object-fit:cover}
.entry-header h1{font-size:clamp(24px,3.6vw,36px);font-weight:900;line-height:1.25;margin-bottom:10px;color:var(--ink)!important}
.entry-meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:var(--muted);font-size:14px;margin-bottom:18px}
.entry-meta .cat{background:var(--cream);color:#3b2f27;font-weight:700;padding:3px 11px;border-radius:6px}

.entry-content{background:#fff;padding:26px 26px 30px;border-radius:var(--radius);box-shadow:var(--shadow);font-size:17.5px}
.entry-content h2{font-size:24px;font-weight:900;margin:1.6em 0 .5em}
.entry-content h2:first-child{margin-top:0}
.entry-content h3{font-size:20px;margin:1.4em 0 .4em}
.entry-content p{margin:0 0 1.1em}
.entry-content a{color:var(--red);text-decoration:underline;text-underline-offset:3px}
.entry-content a:hover{text-decoration-thickness:2px}
.entry-content img{border-radius:8px;margin:1.2em 0}
.entry-content blockquote{
  margin:1.4em 0;padding:14px 18px;background:#faf7f3;border-inline-start:4px solid var(--cream);
  border-radius:8px;font-size:17px;
}
.entry-content ul,.entry-content ol{padding-inline-start:1.4em;margin:0 0 1.1em}
.entry-content li{margin-bottom:.45em}

/* headings get ids for search-engine jump links; no visible TOC is rendered */
.entry-content h2[id]{scroll-margin-top:calc(var(--header-h) + 12px)}

/* related */
.related{margin-top:34px}

/* ========================================================== pagination */
.pagination{display:flex;gap:8px;justify-content:center;margin-top:26px;flex-wrap:wrap}
.pagination .page-numbers{
  min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;
  padding:0 12px;background:#fff;border-radius:8px;box-shadow:var(--shadow);font-weight:700;
}
.pagination .page-numbers.current{background:var(--red);color:#fff}

/* ============================================================== footer */
.site-footer{background:#16181d;color:#c8ccd2;margin-top:36px;padding:34px 0 26px;font-size:14.5px}
.site-footer a{color:#fff}
.site-footer a:hover{color:var(--cream)}
.footer-grid{display:grid;gap:26px;grid-template-columns:1fr}
.site-footer h4{color:#fff;font-size:16px;margin-bottom:10px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:7px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:24px;padding-top:16px;
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#8d939c;font-size:13.5px}

/* ============================================================ archive */
.page-title{font-size:26px;font-weight:900;margin:6px 0 18px;color:var(--ink)!important}
.archive-desc{color:var(--muted);margin:-8px 0 18px}

/* ============================================================ 404 */
.nf{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:44px 24px;text-align:center}
.nf h1{font-size:64px;color:var(--red);margin-bottom:4px}

/* =========================================================== desktop */
@media (min-width:768px){
  :root{--header-h:72px}
  .card-h{grid-template-columns:1fr 230px}
  .card-h h3{font-size:19px}
  .card-h .dek{display:block}
  .footer-grid{grid-template-columns:2fr 1fr 1fr}
  .hero-slide img{aspect-ratio:21/9}
}
@media (min-width:1024px){
  .nav-toggle{display:none}
  .main-nav{
    display:block;position:static;background:transparent;box-shadow:none;border:0;
    margin-inline-end:auto;
  }
  .main-nav ul{display:flex;gap:2px;padding:0}
  .main-nav li{border:0}
  .main-nav a{padding:8px 11px;color:#fff;font-size:14.5px;font-weight:600;border-radius:6px}
  .main-nav a:hover{background:rgba(255,255,255,.16);color:#fff}
  .brand{margin-inline-end:18px}
  .home-cols{display:grid;grid-template-columns:1fr 320px;gap:26px;align-items:start}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* ============================================================== ads */
/* Empty slots print nothing at all, so no blank space is reserved. */
.ad-slot{margin:18px 0;text-align:center;min-width:0;overflow:hidden}
.ad-slot .widget{margin:0}
.ad-slot ins,.ad-slot iframe,.ad-slot img{max-width:100%!important;margin-inline:auto}
.ad-slot--in-feed{margin:4px 0}
.entry-content + .ad-slot{margin-top:22px}

/* ============================================================= forms */
.ais-form-wrap{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:22px 20px 24px;margin-top:26px}
.ais-form-title{margin:0 0 14px;font-size:20px;font-weight:900;color:var(--ink)!important}
.ais-form .f{margin:0 0 14px}
.ais-form label{display:block;font-weight:600;font-size:14.5px;margin-bottom:5px}
.ais-form label span{color:var(--red)}
.ais-form input[type=text],.ais-form input[type=email],.ais-form input[type=tel],
.ais-form input[type=url],.ais-form select,.ais-form textarea{
  width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:8px;
  font:inherit;background:#fbfbfc;color:var(--ink);
}
.ais-form input:focus,.ais-form select:focus,.ais-form textarea:focus{
  outline:none;border-color:var(--red);background:#fff;box-shadow:0 0 0 3px rgba(224,40,32,.12)
}
.ais-form textarea{resize:vertical;min-height:110px}
.ais-form .f-checks{border:0;padding:0;margin:0 0 14px}
.ais-form .f-checks legend{font-weight:600;font-size:14.5px;margin-bottom:7px;padding:0}
.ais-form .chk{display:flex;align-items:flex-start;gap:8px;font-weight:400;margin-bottom:7px;cursor:pointer}
.ais-form .chk input{margin-top:3px;flex:0 0 auto;accent-color:var(--red)}
.ais-form .f-terms{margin:4px 0 16px}
.ais-form .f-terms a{color:var(--red);text-decoration:underline}
.ais-form .f-submit{margin:0}
.ais-form button{
  background:var(--red);color:#fff;border:0;border-radius:8px;padding:12px 30px;
  font-weight:700;font-size:16px;cursor:pointer;transition:filter .15s
}
.ais-form button:hover{filter:brightness(.92)}
.ais-hp{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.form-note{padding:11px 14px;border-radius:8px;margin-bottom:14px;font-weight:600;font-size:15px}
.form-note--ok{background:#e8f6ec;color:#18642f;border:1px solid #bde3c8}
.form-note--err{background:#fdeceb;color:#8f1c15;border:1px solid #f3c6c3}

/* ========================================================== profile */
.profile{max-width:820px;margin-inline:auto}
.profile-head{position:relative;margin-bottom:56px}
.profile-cover{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:#dfe2e6}
.profile-cover img{width:100%;aspect-ratio:16/8;object-fit:cover;object-position:50% 12%}
.profile-avatar{
  position:absolute;inset-block-end:-46px;inset-inline-start:26px;
  width:104px;height:104px;border-radius:50%;object-fit:cover;
  border:4px solid #fff;box-shadow:var(--shadow-lg);background:#fff
}
.profile-body{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:22px 22px 26px}
.profile-name{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-size:clamp(22px,3vw,30px);font-weight:900;color:var(--ink)!important}
.profile-name .verified{width:22px;height:22px;flex:0 0 auto}
.profile-role{margin:0 0 12px;color:#4a5058;font-size:16px;line-height:1.6}
.profile-tags{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px;color:#5a6068}
.profile-tags li{display:flex;align-items:center;gap:7px;font-size:14.5px;color:#5a6068}
.profile-tags .ic{font-size:15px}
.profile-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 0 4px;border-top:1px solid var(--line)}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border-radius:8px;font-weight:700;font-size:15px}
.btn--cream{background:var(--cream);color:#3b2f27}
.btn--cream:hover{filter:brightness(.95);color:#3b2f27}
.btn--grey{background:#eceef1;color:#31363d}
.btn--grey:hover{background:#e2e5e9;color:#31363d}
.profile-socials{display:flex;gap:6px;margin-inline-start:auto}
.profile-socials a{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:var(--red)}
.profile-socials a:hover{background:#fdeceb}
.profile-socials svg{width:19px;height:19px;fill:currentColor}
.profile-bio{margin-top:16px;font-size:16.5px;line-height:1.75}
.admin-hint{margin-top:18px;padding:12px 14px;background:#fffbe8;border:1px solid #f0e2a8;border-radius:8px;font-size:13.5px}
.admin-hint code{display:block;margin-top:6px;font-size:12.5px;word-break:break-all;color:#5a4a00}

/* ================================================== footer + extras */
.hdr-contact{background:#fff;color:var(--red)}
.hdr-contact:hover{background:#fff;color:var(--red-dark);filter:brightness(.97)}
/* מובייל: "צור קשר" נשאר תמיד. כפתור הקבוצה יורד לתפריט, וואטסאפ יורד רק במסך צר מאוד. */
@media (max-width:640px){
  .hdr-btn:not(.hdr-contact):not(.icon){display:none}
  .hdr-contact{padding:0 12px;font-size:13.5px}
  .header-inner{gap:8px;padding:0 12px}
}
@media (max-width:360px){
  .hdr-btn.icon{display:none}
  .brand img{max-height:38px}
}
.nav-extra{display:none;gap:8px;flex-wrap:wrap;padding:12px 20px;border-top:1px solid var(--line)}
.nav-extra a{
  display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 14px;
  border-radius:8px;background:var(--cream);color:#3b2f27;font-weight:700;font-size:14px;
}
.nav-extra a:hover{color:#3b2f27;filter:brightness(.95)}
.nav-extra svg{width:18px;height:18px;fill:currentColor}
@media (max-width:640px){ .nav-extra:not(:empty){display:flex} }

.footer-about p{margin:0 0 10px}
.footer-personal a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.footer-cta{margin-top:14px!important}
.footer-cta .btn--cream{color:#3b2f27}

.footer-tags{margin-top:26px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12)}
.footer-tags h4{margin-bottom:10px}
.footer-tags ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.footer-tags li{margin:0}
.footer-tags a{
  display:inline-block;padding:5px 12px;border-radius:999px;
  background:rgba(255,255,255,.08);color:#dfe3e8;font-size:13.5px;
}
.footer-tags a:hover{background:var(--red);color:#fff}
.footer-bottom a{text-decoration:underline;text-underline-offset:3px}

/* ========================================================= comments */
.comments-area{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:22px 20px;margin-top:26px}
.comments-area .comments-title,.comments-area .comment-reply-title{font-size:20px;font-weight:900;margin:0 0 14px;color:var(--ink)!important}
.comment-list{list-style:none;margin:0 0 20px;padding:0}
.comment-list li{margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.comment-list li:last-child{border-bottom:0}
.comment-author{font-weight:700}
.comment-meta{font-size:13px;color:var(--muted);margin-bottom:6px}
.comment-form label{display:block;font-weight:600;font-size:14.5px;margin-bottom:5px}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{
  width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:8px;font:inherit;background:#fbfbfc
}
.comment-form input:focus,.comment-form textarea:focus{outline:none;border-color:var(--red);background:#fff;box-shadow:0 0 0 3px rgba(224,40,32,.12)}
.comment-form .submit{background:var(--red);color:#fff;border:0;border-radius:8px;padding:12px 30px;font-weight:700;font-size:16px;cursor:pointer}
.comment-form .comment-form-cookies-consent{display:flex;gap:8px;align-items:flex-start}
.comment-form .comment-form-cookies-consent label{font-weight:400}

/* ================================================ profile extras */
.profile-name-en{margin:0 0 8px;color:var(--muted);font-size:15px;letter-spacing:.01em}
.profile-cover video{width:100%;aspect-ratio:16/8;object-fit:cover;object-position:50% 12%;display:block}
.profile-gpt,.profile-quotes,.profile-videos{margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}
.profile-gpt h2,.profile-quotes h2,.profile-videos h2{font-size:20px;font-weight:900;margin:0 0 12px;color:var(--ink)!important}
.profile-gpt p{font-size:16.5px;line-height:1.75;margin:0 0 1em}
.profile-quotes blockquote{
  margin:0 0 14px;padding:14px 18px;background:#faf7f3;border-inline-start:4px solid var(--cream);border-radius:8px
}
.profile-quotes blockquote p{margin:0 0 6px;font-size:16px;line-height:1.7}
.profile-quotes cite{font-style:normal;font-weight:700;font-size:14.5px;color:#5a6068}
.video-grid{display:grid;gap:14px;grid-template-columns:1fr}
@media (min-width:700px){ .video-grid{grid-template-columns:1fr 1fr} }
.video iframe,.video video{width:100%;aspect-ratio:16/9;border:0;border-radius:8px;display:block}
.profile-head.no-cover{margin-bottom:14px}
.profile-head.no-cover .profile-avatar{position:static;inset:auto;margin:0 0 6px}

/* ============================================================ comments */
.comments-area{
  margin-top:26px;background:#fff;border-radius:var(--radius);
  box-shadow:var(--shadow);padding:22px
}
.comments-title{font-size:20px;font-weight:900;margin:0 0 16px;color:var(--ink)!important}
.comment-list{list-style:none;margin:0 0 22px;padding:0}
.comment-list ol.children{list-style:none;margin:14px 0 0;padding-inline-start:22px;border-inline-start:2px solid var(--line)}
.comment-list li.comment{margin:0 0 16px}
.comment-body{padding:14px 16px;background:#faf9f8;border:1px solid var(--line);border-radius:10px}
.comment-meta{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-size:14px}
.comment-author{display:flex;align-items:center;gap:8px;font-weight:700}
.comment-author img{width:36px;height:36px;border-radius:50%}
.comment-author .says{display:none}
.comment-metadata{color:var(--muted);font-size:13px}
.comment-metadata a{color:var(--muted)}
.comment-content p{margin:0 0 .7em;font-size:16px;line-height:1.7}
.comment-content p:last-child{margin-bottom:0}
.comment-awaiting-moderation{display:block;margin-top:6px;font-size:13.5px;color:#8a6d00}
.reply{margin-top:8px}
.comment-reply-link{
  display:inline-block;padding:4px 12px;border-radius:999px;background:var(--cream);
  color:#3b2f27;font-size:13.5px;font-weight:700
}
.comment-reply-link:hover{color:#3b2f27;filter:brightness(.95)}
.comment-respond{border-top:1px solid var(--line);padding-top:20px}
.comment-reply-title{font-size:19px;font-weight:900;margin:0 0 12px;color:var(--ink)!important}
.comment-reply-title small{font-size:14px;font-weight:600;margin-inline-start:8px}
.comment-notes,.comment-form .logged-in-as{font-size:14px;color:var(--muted);margin:0 0 14px}
.comment-form-cookies-consent{display:flex;align-items:flex-start;gap:8px;font-size:14px;margin:0 0 14px}
.comment-form-cookies-consent label{color:var(--muted)}
.form-submit{margin:0}
.comment-form .submit{
  height:46px;padding:0 26px;border:0;border-radius:8px;background:var(--red);
  color:#fff;font-weight:800;font-size:16px;cursor:pointer
}
.comment-form .submit:hover{background:var(--red-dark)}
.no-comments{color:var(--muted);font-size:15px}
.comments-area .navigation{display:flex;gap:10px;margin-bottom:18px}
