/* elektrikdom.com — modern layer over Reboot. Scoped to body.edd (mu-plugin ed-design.php) */
body.edd{
  --navy:#0b1324; --navy-2:#13213d; --ink:#0f172a; --text:#273244; --muted:#64748b; --line:#e5e9f0; --bg:#f4f6fa;
  --amber:#f59e0b; --amber-2:#d97706; --amber-soft:#fff7e6; --blue:#1d4ed8; --blue-soft:#eef3ff;
  --r:16px; --shadow:0 1px 2px rgba(15,23,42,.05),0 8px 24px rgba(15,23,42,.07); --shadow-h:0 2px 4px rgba(15,23,42,.06),0 16px 36px rgba(15,23,42,.12);
  background:var(--bg)!important; color:var(--text); font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;
  -webkit-font-smoothing:antialiased;
}
body.edd h1,body.edd h2,body.edd h3,body.edd h4,body.edd .site-title,body.edd .post-card__title,body.edd .widget-header,body.edd .related-posts__header,body.edd .rating-box__header,body.edd .comment-reply-title{
  font-family:Manrope,Inter,system-ui,sans-serif!important;letter-spacing:-.015em;color:var(--ink)}
body.edd a{transition:color .15s,background-color .15s,border-color .15s}
body.edd .site-content{background:transparent!important}

/* ---------- header ---------- */
body.edd .site-header{background:#fff!important;border-bottom:0!important;box-shadow:0 1px 0 var(--line)}
body.edd .site-header-inner{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:0 18px!important;padding:12px 0 0!important;min-height:0}
body.edd .site-branding{flex:1 1 auto;margin:0!important;min-width:0;order:1;padding:0 0 12px}
body.edd .site-branding__body{position:relative;padding-left:56px;min-height:44px;display:flex;flex-direction:column;justify-content:center;max-width:none!important}
body.edd .site-branding__body::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:12px;
  background:linear-gradient(140deg,#16264a 0%,var(--navy) 100%);box-shadow:0 6px 16px rgba(11,19,36,.28),inset 0 0 0 1px rgba(255,255,255,.06)}
body.edd .site-branding__body::after{content:"";position:absolute;left:11px;top:50%;transform:translateY(-50%);width:22px;height:22px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fde68a'/%3E%3Cstop offset='1' stop-color='%23f59e0b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M13.5 1.5 4 14h7l-1.5 8.5L20 9.5h-7.2z'/%3E%3C/svg%3E") center/contain no-repeat}
body.edd .site-title,body.edd .site-title a{font-size:19px!important;line-height:1.25!important;font-weight:800!important;margin:0!important;color:var(--ink)!important;text-transform:none!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
body.edd .site-title a:hover{color:var(--amber-2)!important}
body.edd .site-description{font-size:13px!important;line-height:1.35!important;color:var(--muted)!important;margin:2px 0 0!important;max-width:620px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block!important;-webkit-line-clamp:unset}
body.edd .header-search{order:2;flex:0 0 auto;margin:0 0 12px!important}
body.edd .search-icon{width:42px!important;height:42px!important;border-radius:12px;background-color:var(--bg)!important;border:1px solid var(--line);display:inline-flex!important;align-items:center;justify-content:center;cursor:pointer}
body.edd .search-icon:hover{background-color:var(--amber-soft)!important;border-color:#fcd9a0}
/* menu bar: dark strip under the brand row */
body.edd .site-header-inner>.top-menu{order:3;flex:1 1 100%!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;position:relative}
body.edd .site-header-inner>.top-menu::before{content:"";position:absolute;left:50%;transform:translateX(-50%);top:0;bottom:0;width:100vw;background:var(--navy);z-index:-1}
body.edd .site-header{position:relative;z-index:20}
body.edd .site-header-inner{position:relative;z-index:1}
body.edd .top-menu>ul.menu{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:2px;margin:0!important;padding:6px 0!important;float:none!important;width:100%!important;list-style:none}
body.edd .top-menu .menu-item{float:none!important;margin:0!important;padding:0!important;position:relative}
body.edd .top-menu>ul>.menu-item>a{display:block;white-space:nowrap;padding:10px 13px!important;border-radius:10px;color:#e2e8f0!important;
  font:600 14.5px/1.2 Inter,sans-serif!important;text-transform:none!important;letter-spacing:0!important;background:transparent!important;border:0!important}
body.edd .top-menu>ul>.menu-item>a:hover,body.edd .top-menu>ul>.menu-item.current-menu-item>a,body.edd .top-menu>ul>.menu-item.current-category-ancestor>a,
body.edd .top-menu>ul>.menu-item.current-post-ancestor>a,body.edd .top-menu>ul>.menu-item.current-menu-ancestor>a{background:rgba(255,255,255,.08)!important;color:#fff!important}
body.edd .top-menu>ul>.menu-item.current-menu-item>a,body.edd .top-menu>ul>.menu-item.current-category-ancestor>a,body.edd .top-menu>ul>.menu-item.current-post-ancestor>a{box-shadow:inset 0 -2px 0 var(--amber)}
body.edd .top-menu>ul>.menu-item-has-children>a::after{border-color:#94a3b8!important}
body.edd .top-menu>ul>li.edd-more{margin-left:auto!important}
body.edd .top-menu>ul>li.edd-more>a{color:#fcd34d!important}
body.edd .top-menu .sub-menu{background:#fff!important;border:1px solid var(--line)!important;border-radius:14px!important;box-shadow:var(--shadow-h)!important;padding:8px!important;min-width:220px;top:100%!important}
body.edd .top-menu>ul>li.edd-more>.sub-menu{left:auto!important;right:0!important}
body.edd .top-menu .sub-menu a{display:block;padding:9px 12px!important;border-radius:9px;color:var(--text)!important;font:500 14.5px/1.3 Inter,sans-serif!important;text-transform:none!important;background:transparent!important}
body.edd .top-menu .sub-menu a:hover{background:var(--amber-soft)!important;color:var(--ink)!important}
body.edd .main-navigation:not(#site-navigation-mobile),body.edd .header-separator{display:none!important}
body.edd #site-navigation-mobile{background:#fff!important;border-bottom:1px solid var(--line);box-shadow:0 12px 24px rgba(15,23,42,.08)}
body.edd #site-navigation-mobile ul{padding:8px 12px!important}
body.edd #site-navigation-mobile .menu-item{border:0!important}
body.edd #site-navigation-mobile a{display:block;padding:12px 10px!important;border-radius:10px;color:var(--ink)!important;font:600 15.5px/1.3 Inter,sans-serif!important;text-transform:none!important;border-bottom:1px solid var(--line)}
body.edd #site-navigation-mobile a:hover{background:var(--amber-soft)!important}
body.edd .humburger span{background:var(--ink)!important}

/* ---------- front: hero + tiles ---------- */
body.edd.home .card-slider-container{display:none!important}
body.edd .edd-front{padding-top:26px}
body.edd .edd-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;align-items:center;
  background:radial-gradient(900px 380px at 85% 20%,rgba(37,99,235,.35),transparent 60%),radial-gradient(600px 300px at 10% 110%,rgba(245,158,11,.18),transparent 60%),linear-gradient(135deg,#0b1324 0%,#13213d 60%,#0f2a5a 100%);
  color:#e2e8f0;border-radius:22px;padding:40px 44px;box-shadow:0 18px 40px rgba(11,19,36,.25)}
body.edd .edd-hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:28px 28px;pointer-events:none}
body.edd .edd-hero-text{position:relative}
body.edd .edd-eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;color:#fcd34d;font:700 12.5px/1 Inter,sans-serif;letter-spacing:.09em;text-transform:uppercase}
body.edd .edd-eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--amber);box-shadow:0 0 0 4px rgba(245,158,11,.25)}
body.edd .edd-hero-title{color:#fff!important;font-size:clamp(26px,3vw,38px)!important;line-height:1.15!important;margin:0 0 14px!important;font-weight:800!important;letter-spacing:-.02em}
body.edd .edd-hero-title span{background:linear-gradient(90deg,#fde68a,#f59e0b);-webkit-background-clip:text;background-clip:text;color:transparent}
body.edd .edd-hero-sub{margin:0 0 22px;color:#cbd5e1;font-size:16px;line-height:1.6;max-width:56ch}
body.edd .edd-search{display:flex;gap:8px;background:#fff;border-radius:14px;padding:6px;box-shadow:0 10px 30px rgba(0,0,0,.25);max-width:560px}
body.edd .edd-search input{flex:1;min-width:0;border:0!important;outline:0;background:transparent!important;height:48px;padding:0 14px!important;font:15.5px Inter,sans-serif;color:var(--ink);box-shadow:none!important}
body.edd .edd-search button{border:0;border-radius:10px;background:linear-gradient(180deg,#fbbf24,#f59e0b);color:#1f1300;font:800 15px Inter,sans-serif;padding:0 24px;cursor:pointer;box-shadow:0 4px 12px rgba(245,158,11,.35)}
body.edd .edd-search button:hover{background:linear-gradient(180deg,#f59e0b,#d97706)}
body.edd .edd-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:16px}
body.edd .edd-chips span{color:#94a3b8;font-size:13.5px;margin-right:2px}
body.edd .edd-chips a{color:#e2e8f0!important;text-decoration:none!important;font:600 13.5px/1 Inter,sans-serif;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
body.edd .edd-chips a:hover{background:rgba(245,158,11,.18);border-color:rgba(245,158,11,.5);color:#fff!important}
body.edd .edd-hero-art{position:relative;display:flex;justify-content:center}
body.edd .edd-hero-art svg{width:100%;max-width:330px;height:auto;filter:drop-shadow(0 20px 30px rgba(0,0,0,.35))}
body.edd .edd-h{font-size:24px!important;font-weight:800!important;margin:34px 0 16px!important;display:flex;align-items:center;gap:12px;line-height:1.2!important}
body.edd .edd-h::before{content:"";width:6px;height:24px;border-radius:3px;background:linear-gradient(180deg,#fbbf24,#f59e0b)}
body.edd .edd-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.edd .edd-tile{position:relative;display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 16px 16px 16px;text-decoration:none!important;
  transition:transform .16s,border-color .16s,box-shadow .16s}
body.edd .edd-tile:hover{transform:translateY(-3px);border-color:#fcd9a0;box-shadow:0 14px 30px rgba(245,158,11,.14)}
body.edd .edd-tile-ico{flex:0 0 46px;width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--blue-soft);color:var(--blue);transition:background .16s,color .16s}
body.edd .edd-tile:hover .edd-tile-ico{background:var(--amber-soft);color:var(--amber-2)}
body.edd .edd-tile-txt{display:flex;flex-direction:column;line-height:1.3;min-width:0;padding-right:26px}
body.edd .edd-tile b{color:var(--ink);font:800 15.5px/1.3 Manrope,sans-serif}
body.edd .edd-tile small{color:var(--muted);font-size:13px;line-height:1.4;margin-top:4px}
body.edd .edd-tile-n{position:absolute;top:12px;right:12px;font:700 11.5px/1 Inter,sans-serif;color:var(--muted);background:var(--bg);border-radius:999px;padding:5px 8px}
body.edd .edd-tile--forum{background:linear-gradient(135deg,#fffaf0,#fff);border-color:#fde3b4}
body.edd .edd-tile--forum .edd-tile-ico{background:var(--amber-soft);color:var(--amber-2)}
body.edd .edd-safety{margin:18px 0 0;padding:14px 18px 14px 50px;position:relative;background:#fff;border:1px solid var(--line);border-left:4px solid var(--amber);border-radius:12px;color:var(--text);font-size:14.5px;line-height:1.55}
body.edd .edd-safety::before{content:"!";position:absolute;left:16px;top:50%;transform:translateY(-50%);width:22px;height:22px;border-radius:50%;background:var(--amber);color:#1f1300;font:800 14px/22px Inter,sans-serif;text-align:center}
body.edd .edd-safety b{color:var(--ink)}
body.edd.home .site-content{padding-top:8px}
body.edd.home .section-posts::before{content:"Новые статьи";display:block;font:800 24px/1.2 Manrope,sans-serif;color:var(--ink);margin:6px 0 18px;padding-left:18px;letter-spacing:-.015em;
  background:linear-gradient(180deg,#fbbf24,#f59e0b) left center/6px 24px no-repeat}

/* ---------- post cards (home grid / archives) ---------- */
body.edd .post-cards--grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0!important}
body.edd .post-card--grid{max-width:none!important;width:auto!important;flex:none!important;margin:0!important;padding:0!important;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s;opacity:1!important;animation:none!important;transform:none}
body.edd .post-card--grid:hover{transform:translateY(-3px);box-shadow:var(--shadow-h)}
body.edd .post-card--grid .post-card__thumbnail{position:relative;margin:0!important;aspect-ratio:16/10;overflow:hidden;background:#e8edf5;border-radius:0!important}
body.edd .post-card--grid .post-card__thumbnail img{width:100%!important;height:100%!important;object-fit:cover;display:block;transition:transform .35s;border-radius:0!important;max-width:none}
body.edd .post-card--grid:hover .post-card__thumbnail img{transform:scale(1.04)}
body.edd .post-card--grid .post-card__thumbnail::after{display:none!important}
body.edd .post-card--grid .post-card__body{position:static!important;background:none!important;padding:16px 18px 18px!important;color:var(--text)!important;display:flex;flex-direction:column;flex:1;min-height:0}
body.edd .post-card--grid .post-card__title{order:1;margin:0 0 8px!important;font-size:17px!important;line-height:1.35!important;font-weight:800!important}
body.edd .post-card--grid .post-card__title a{color:var(--ink)!important;text-decoration:none!important}
body.edd .post-card--grid:hover .post-card__title a{color:var(--blue)!important}
body.edd .post-card--grid .post-card__description{order:2;color:var(--muted)!important;font-size:14px!important;line-height:1.55!important;margin:0 0 12px!important}
body.edd .post-card--grid .post-card__meta{order:3;margin-top:auto!important;color:#94a3b8!important;font-size:12.5px!important}
body.edd .post-card__category{background:rgba(11,19,36,.78)!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff!important;border-radius:999px!important;
  font:700 11px/1 Inter,sans-serif!important;letter-spacing:.04em;padding:6px 10px!important;text-transform:uppercase}
body.edd .post-card__category a{color:#fff!important}
/* Reboot makes every 6n/6n+1 card an overlay card — keep all cards uniform */
body.edd .post-card--grid:nth-child(6n),body.edd .post-card--grid:nth-child(6n+1){justify-content:flex-start!important;padding:0!important}
body.edd .post-card--grid:nth-child(6n) .post-card__thumbnail,body.edd .post-card--grid:nth-child(6n+1) .post-card__thumbnail{position:relative!important;inset:auto!important;z-index:1}
body.edd .post-card--grid:nth-child(6n) .post-card__thumbnail img,body.edd .post-card--grid:nth-child(6n+1) .post-card__thumbnail img{position:static!important;transform:none!important;min-width:0!important;min-height:0!important}
body.edd .post-card--grid:nth-child(6n):hover .post-card__thumbnail img,body.edd .post-card--grid:nth-child(6n+1):hover .post-card__thumbnail img{transform:scale(1.04)!important}
body.edd .post-card--grid .post-card__thumbnail::before{display:none!important}
body.edd .post-card--grid .post-card__title{font-size:17px!important}
body.edd .post-card--grid .post-card__meta,body.edd .post-card--grid .post-card__meta span{color:#94a3b8!important;pointer-events:auto}
/* card without image: amber placeholder */
body.edd .post-card--grid.post-card--thumbnail-no{padding-top:0!important}
body.edd .post-card--grid.post-card--thumbnail-no::before{content:"";display:block;aspect-ratio:16/10;background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f59e0b' d='M13.5 1.5 4 14h7l-1.5 8.5L20 9.5h-7.2z'/%3E%3C/svg%3E") center/54px no-repeat,
  radial-gradient(circle at 70% 30%,rgba(37,99,235,.35),transparent 60%),linear-gradient(135deg,#0b1324,#13213d)}
body.edd .post-card--grid.post-card--thumbnail-no .post-card__category{position:absolute;top:12px;left:12px}
body.edd .post-card--grid.post-card--thumbnail-no{position:relative}
/* meta icons in neutral color */
body.edd .post-card__comments::before,body.edd .post-card__views::before,body.edd .post-card__date::before{filter:grayscale(1) opacity(.55)}

/* standard (archive list) cards */
body.edd .post-card--standard{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);padding:0 0 4px!important;margin-bottom:26px!important}
body.edd .post-card--standard .post-card__thumbnail{margin:0 0 16px!important;border-radius:0!important}
body.edd .post-card--standard .post-card__thumbnail img{width:100%;aspect-ratio:16/8;object-fit:cover;border-radius:0!important}
body.edd .post-card--standard .post-card__title,body.edd .post-card--standard .post-card__meta,body.edd .post-card--standard .post-card__description{padding:0 24px!important}
body.edd .post-card--standard .post-card__title{font-size:24px!important;line-height:1.3!important}
body.edd .post-card--standard .post-card__title a{color:var(--ink)!important}
body.edd .post-card--standard .post-card__title a:hover{color:var(--blue)!important}
body.edd .post-card--standard .post-card__description{color:var(--muted)!important}
body.edd .post-card--standard::after,body.edd .post-card--standard+hr{display:none!important}
body.edd .post-card-separator,body.edd .post-card--standard .post-card__separator{display:none!important}

/* home text at the bottom: "О сайте" card */
body.edd .home-content{margin:34px 0 10px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:26px 28px;box-shadow:var(--shadow)}
body.edd .home-header{font-size:22px!important;line-height:1.3!important;margin:0 0 10px!important;font-weight:800!important}
body.edd .home-header::before{content:"О сайте";display:block;font:700 12px/1 Inter,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:var(--amber-2);margin-bottom:10px}
body.edd .home-text{color:var(--muted);font-size:15px;line-height:1.65}

/* ---------- sidebar ---------- */
body.edd .widget-area .widget{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px!important;box-shadow:var(--shadow);margin-bottom:22px}
body.edd .widget-area .widget_custom_html{background:transparent;border:0;box-shadow:none;padding:0!important}
body.edd .widget-header{font-size:17px!important;font-weight:800!important;margin:0 0 14px!important;padding:0 0 12px!important;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px;text-transform:none!important}
body.edd .widget-header::before{content:"";width:5px;height:18px;border-radius:3px;background:linear-gradient(180deg,#fbbf24,#f59e0b)}
body.edd .widget-articles .post-card--vertical{display:grid!important;grid-template-columns:84px minmax(0,1fr);gap:12px;align-items:center;margin:0 0 12px!important;padding:0 0 12px!important;border-bottom:1px solid var(--line);max-width:none!important}
body.edd .widget-articles .post-card--vertical:last-child{border-bottom:0;margin-bottom:0!important;padding-bottom:0!important}
body.edd .widget-articles .post-card__thumbnail{margin:0!important;width:84px;height:64px;border-radius:10px;overflow:hidden;background:#eef2f7}
body.edd .widget-articles .post-card__thumbnail img{width:84px!important;height:64px!important;object-fit:cover;display:block;border-radius:10px!important;max-width:none}
body.edd .widget-articles .post-card__category,body.edd .widget-articles .post-card__description,body.edd .widget-articles .post-card__meta{display:none!important}
body.edd .widget-articles .post-card__body{padding:0!important}
body.edd .widget-articles .post-card__title{margin:0!important;font-size:14.5px!important;line-height:1.35!important;font-weight:700!important}
body.edd .widget-articles .post-card__title a{color:var(--ink)!important;text-decoration:none!important}
body.edd .widget-articles .post-card__title a:hover{color:var(--blue)!important}
body.edd .widget-articles .post-card--vertical.post-card--thumbnail-no{grid-template-columns:minmax(0,1fr)}

/* ---------- single article ---------- */
body.edd .article-card,body.edd.page .site-main{background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px 34px 34px!important;box-shadow:var(--shadow)}
body.edd .breadcrumb{font:600 12.5px/1.4 Inter,sans-serif!important;text-transform:none!important;letter-spacing:0!important;color:var(--muted)!important;margin-bottom:14px!important}
body.edd .breadcrumb a,body.edd .breadcrumb span{color:var(--blue)!important;text-decoration:none!important;text-transform:none!important;font-weight:600!important}
body.edd .breadcrumb .breadcrumb-separator{color:#cbd5e1!important}
body.edd .breadcrumb{opacity:1!important}
body.edd .breadcrumb-separator{color:#cbd5e1!important;margin:0 6px}
body.edd .entry-title{font-size:clamp(26px,3vw,36px)!important;line-height:1.2!important;font-weight:800!important;letter-spacing:-.02em;margin-bottom:16px!important}
body.edd .entry-image{border-radius:16px!important;overflow:hidden;margin-bottom:18px!important}
body.edd .entry-image img{border-radius:16px!important;width:100%}
body.edd.edd-dup-thumb .entry-image{display:none!important}
body.edd .entry-meta{display:flex!important;flex-wrap:wrap;justify-content:flex-start!important;gap:10px!important;border:0!important;padding:0!important;margin:0 0 22px!important}
body.edd .entry-meta>span{display:inline-flex!important;align-items:center;gap:6px;background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:7px 12px 7px 12px!important;margin:0!important;font-size:13px!important;color:var(--text)!important;width:auto!important}
body.edd .entry-meta>span::before{display:none!important}
body.edd .entry-meta .entry-label{display:inline!important;color:var(--muted)!important;text-transform:none!important;font-size:13px!important;letter-spacing:0!important;margin:0!important}
body.edd .entry-meta time,body.edd .entry-meta .js-views-count{font-weight:700;color:var(--ink)}
body.edd .entry-content{font-size:17px!important;line-height:1.75!important;color:var(--text)!important}
body.edd .entry-content p{margin-bottom:1.1em}
body.edd .entry-content a{color:var(--blue)!important;text-decoration:underline;text-decoration-color:rgba(29,78,216,.3);text-underline-offset:3px}
body.edd .entry-content a:hover{text-decoration-color:var(--blue)}
body.edd .entry-content h2{font-size:26px!important;line-height:1.3!important;font-weight:800!important;margin:1.8em 0 .7em!important;padding-left:16px;position:relative}
body.edd .entry-content h2::before{content:"";position:absolute;left:0;top:.18em;bottom:.18em;width:5px;border-radius:3px;background:linear-gradient(180deg,#fbbf24,#f59e0b)}
body.edd .entry-content h3{font-size:20px!important;line-height:1.35!important;font-weight:800!important;margin:1.5em 0 .6em!important}
body.edd .entry-content img{border-radius:14px}
body.edd .entry-content ul:not([class])>li::before,body.edd .home-text ul:not([class])>li::before{border-color:var(--amber)!important;background:var(--amber-soft)}
body.edd .table-of-contents ol li::before{opacity:1!important;color:var(--amber-2)!important;font-weight:700}
body.edd .entry-content blockquote{background:var(--amber-soft)!important;border-left:4px solid var(--amber)!important;border-radius:12px;padding:16px 20px!important;font-style:normal!important;color:var(--text)!important}
body.edd .entry-content blockquote::before{display:none!important}
body.edd .entry-content table{border-collapse:separate!important;border-spacing:0;width:100%;border:1px solid var(--line);border-radius:12px;overflow:hidden;font-size:15px}
body.edd .entry-content table th{background:var(--navy)!important;color:#fff!important;font-weight:700;padding:11px 13px!important;border:0!important;text-align:left}
body.edd .entry-content table td{padding:10px 13px!important;border:0!important;border-top:1px solid var(--line)!important}
body.edd .entry-content table tr:nth-child(even) td{background:#f8fafc}
body.edd .table-of-contents{background:linear-gradient(135deg,#f8fafc,#f1f5fb)!important;border:1px solid var(--line)!important;border-radius:16px!important;padding:20px 24px!important}
body.edd .table-of-contents__header{font:800 17px/1.3 Manrope,sans-serif!important;color:var(--ink)!important}
body.edd .table-of-contents__list a{color:var(--text)!important;text-decoration:none!important}
body.edd .table-of-contents__list a:hover{color:var(--blue)!important}
body.edd .table-of-contents__list li::before{color:var(--amber-2)!important}
body.edd .social-buttons{margin:0 0 18px!important}
body.edd .social-button{border-radius:10px!important}
body.edd .rating-box{background:var(--bg);border-radius:16px;padding:18px 22px!important;border:1px solid var(--line)}
body.edd .rating-box__header{font-size:17px!important;font-weight:800!important}
body.edd .star-rating-item{color:var(--amber)!important}
body.edd .b-r{margin:22px 0!important}

/* related */
body.edd .related-posts{margin-top:34px!important}
body.edd .related-posts__header{font-size:24px!important;font-weight:800!important;margin:0 0 18px!important;display:flex;align-items:center;gap:12px}
body.edd .related-posts__header::before{content:"";width:6px;height:24px;border-radius:3px;background:linear-gradient(180deg,#fbbf24,#f59e0b)}
body.edd .post-cards--vertical{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0!important}
body.edd .post-card--related{max-width:none!important;width:auto!important;flex:none!important;margin:0!important;padding:0!important;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow);transition:transform .18s,box-shadow .18s}
body.edd .post-card--related:hover{transform:translateY(-3px);box-shadow:var(--shadow-h)}
body.edd .post-card--related .post-card__thumbnail{margin:0!important;aspect-ratio:16/10;overflow:hidden}
body.edd .post-card--related .post-card__thumbnail img{width:100%!important;height:100%!important;object-fit:cover;border-radius:0!important}
body.edd .post-card--related .post-card__title{padding:12px 14px 14px!important;margin:0!important;font-size:15px!important;line-height:1.35!important;font-weight:700!important}
body.edd .post-card--related .post-card__title a{color:var(--ink)!important;text-decoration:none!important}
body.edd .post-card--related .post-card__title a:hover{color:var(--blue)!important}
body.edd .post-card--related .post-card__meta,body.edd .post-card--related .post-card__description{padding:0 14px!important}

/* comments */
body.edd .comments-area{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px 30px!important;box-shadow:var(--shadow);margin-top:30px}
body.edd .comment-form input[type=text],body.edd .comment-form input[type=email],body.edd .comment-form input[type=url],body.edd .comment-form textarea{border:1px solid var(--line)!important;border-radius:12px!important;background:var(--bg)!important;padding:12px 14px!important}
body.edd .comment-form input:focus,body.edd .comment-form textarea:focus{border-color:var(--amber)!important;background:#fff!important;outline:0;box-shadow:0 0 0 4px rgba(245,158,11,.15)}
body.edd .comment-form .submit,body.edd .btn,body.edd button.submit{background:linear-gradient(180deg,#fbbf24,#f59e0b)!important;color:#1f1300!important;border:0!important;border-radius:12px!important;font:800 15px Inter,sans-serif!important;padding:13px 24px!important;box-shadow:0 4px 12px rgba(245,158,11,.3)}

/* search screen + pagination */
body.edd .search-screen .search-field{border-radius:14px!important}
body.edd .pagination .page-numbers,body.edd .nav-links .page-numbers{border-radius:10px!important;border:1px solid var(--line)!important;background:#fff!important;color:var(--ink)!important;min-width:42px;text-align:center}
body.edd .pagination .page-numbers.current,body.edd .nav-links .page-numbers.current{background:var(--navy)!important;color:#fff!important;border-color:var(--navy)!important}
body.edd .pagination .page-numbers:hover,body.edd .nav-links a.page-numbers:hover{border-color:var(--amber)!important;color:var(--amber-2)!important}
body.edd .page-title,body.edd .archive-title{font-size:clamp(26px,3vw,34px)!important;font-weight:800!important}

/* ---------- footer ---------- */
body.edd .footer-navigation{background:var(--navy)!important;border:0!important;margin-top:40px!important;padding:6px 0!important;max-width:none!important;width:100%!important}
body.edd .footer-navigation .main-navigation-inner{max-width:1170px;margin:0 auto}
body.edd .footer-navigation ul{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}
body.edd .footer-navigation a{color:#cbd5e1!important;text-transform:none!important;font:500 14px/1.3 Inter,sans-serif!important;letter-spacing:0!important;padding:12px 14px!important;background:transparent!important}
body.edd .footer-navigation a:hover{color:#fcd34d!important}
body.edd .site-footer{background:#070d19!important;color:#94a3b8!important;border:0!important}
body.edd .site-footer .footer-info{color:#94a3b8!important;font-size:13.5px}
body.edd .scrolltop{background:var(--amber)!important;border-radius:12px!important;box-shadow:0 6px 16px rgba(245,158,11,.35)}

/* ---------- responsive ---------- */
@media (max-width:1199px){
  body.edd .top-menu>ul>.menu-item>a{padding:10px 9px!important;font-size:14px!important}
  body.edd .edd-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:991px){
  /* mobile header: hamburger (theme, absolute left) | title | search */
  body.edd .site-header-inner{padding:10px 0!important;min-height:60px;flex-wrap:nowrap!important}
  body.edd .site-branding{padding:0 6px 0 46px!important;order:1;flex:1 1 0;min-width:0;text-align:left}
  body.edd .site-branding__body{padding-left:0;min-height:40px}
  body.edd .site-branding__body::before,body.edd .site-branding__body::after{display:none}
  body.edd .header-search{margin:0!important;order:2}
  body.edd .search-icon{width:40px!important;height:40px!important}
  body.edd .site-description{display:none!important}
  body.edd .site-title,body.edd .site-title a{white-space:normal;font-size:15px!important;line-height:1.3!important;text-align:left!important;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  body.edd .humburger{left:4px!important;width:26px;height:18px}
  body.edd .humburger::before{content:"";position:absolute;left:-9px;top:-11px;width:44px;height:40px;border-radius:11px;background:var(--navy);z-index:-1}
  body.edd .humburger span{background:#fcd34d!important}
  body.edd .site-header-inner>.top-menu{display:none!important}
  body.edd .edd-hero{grid-template-columns:1fr;padding:28px 22px;border-radius:18px}
  body.edd .edd-hero-art{display:none}
  body.edd .edd-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.edd .post-cards--grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.edd .post-cards--vertical{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.edd .article-card,body.edd.page .site-main{padding:22px 20px!important;border-radius:16px}
}
@media (max-width:600px){
  body.edd .edd-front{padding-top:14px}
  body.edd .edd-hero{padding:24px 18px;margin:0 -4px}
  body.edd .edd-hero-title{font-size:25px!important}
  body.edd .edd-hero-sub{font-size:15px}
  body.edd .edd-search button{padding:0 16px}
  body.edd .edd-tiles{grid-template-columns:1fr;gap:10px}
  body.edd .edd-tile{padding:13px 14px}
  body.edd .edd-tile small{font-size:12.5px}
  body.edd .post-cards--grid{grid-template-columns:1fr;gap:16px}
  body.edd .post-cards--vertical{grid-template-columns:1fr 1fr;gap:12px}
  body.edd .post-card--related .post-card__title{font-size:14px!important;padding:10px 10px 12px!important}
  body.edd .entry-content{font-size:16.5px!important}
  body.edd .entry-content h2{font-size:22px!important}
  body.edd .article-card,body.edd.page .site-main{padding:18px 14px!important;margin:0 -6px}
  body.edd .entry-meta>span{font-size:12px!important;padding:6px 10px!important}
}

/* fixes: card body aligned to top; mobile menu drops down right under the header (theme inserts it after the front hero) */
body.edd .post-card--grid>*{flex:none!important}
body.edd .post-card--grid>.post-card__body{flex:1 1 auto!important;justify-content:flex-start!important}
@media (max-width:991px){
  body.edd .js-mobile-menu-placeholder.open{position:absolute;top:100px;left:0;right:0;z-index:600;max-height:calc(100vh - 70px);overflow:auto}
}
body.edd .post-card--grid:nth-child(n) .post-card__title{padding-top:0!important}
body.edd .post-card--grid:nth-child(n) .post-card__title a::before{content:none!important}
body.edd .post-card--grid:nth-child(n) .post-card__description{display:block!important;color:var(--muted)!important}
body.edd .post-card--grid:nth-child(n) .post-card__meta{opacity:1!important;color:#94a3b8!important}
body.edd .post-card--grid:nth-child(n) .post-card__meta span::before{color:#94a3b8!important}
/* current item is printed by the theme as <span> instead of <a> */
body.edd .top-menu>ul>.menu-item>span{display:block;white-space:nowrap;padding:10px 13px!important;border-radius:10px;color:#fff!important;background:rgba(255,255,255,.08)!important;
  font:600 14.5px/1.2 Inter,sans-serif!important;text-transform:none!important;letter-spacing:0!important;box-shadow:inset 0 -2px 0 var(--amber);opacity:1!important}
body.edd .top-menu .sub-menu .menu-item>span{display:block;padding:9px 12px!important;border-radius:9px;background:var(--amber-soft);color:var(--ink)!important;font:600 14.5px/1.3 Inter,sans-serif!important;text-transform:none!important}
@media (max-width:1199px){body.edd .top-menu>ul>.menu-item>span{padding:10px 9px!important;font-size:14px!important}}
@media (max-width:991px){
  body.edd .site-branding{padding-right:52px!important}
  body.edd .site-branding__body,body.edd .site-title{width:100%;max-width:100%!important}
  body.edd .site-title a{display:inline!important;-webkit-line-clamp:unset;word-break:normal;overflow-wrap:anywhere}
  body.edd #site-navigation-mobile .menu-item>span{display:block;padding:12px 10px!important;border-radius:10px;background:var(--amber-soft);color:var(--ink)!important;font:700 15.5px/1.3 Inter,sans-serif!important;text-transform:none!important}
}
