/*
 Theme Name:  EventPros
 Theme URI:   https://eventprofs.online
 Description: Lightweight, SEO-first blog theme for event professionals. EEAT-optimised with expert author sections, opinion panels and schema markup.
 Author:      EventPros Online
 Author URI:  https://eventprofs.online
 Version:     1.0.0
 License:     GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: eventprofs
 Tags:        blog, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ── Design tokens ──────────────────────────────────────── */
:root {
  --ep-brand:       #1a4fba;
  --ep-brand-dark:  #123490;
  --ep-accent:      #f5a623;
  --ep-text:        #1a1a2e;
  --ep-text-muted:  #5a6072;
  --ep-border:      #e2e6ef;
  --ep-bg:          #ffffff;
  --ep-bg-subtle:   #f7f9fc;
  --ep-success:     #1e8a4c;

  --ep-font-body:   'Georgia', 'Times New Roman', serif;
  --ep-font-ui:     system-ui, -apple-system, sans-serif;
  --ep-font-mono:   'Courier New', monospace;

  --ep-radius:      6px;
  --ep-radius-lg:   12px;
  --ep-shadow-sm:   0 1px 3px rgb(0 0 0 / .08);
  --ep-shadow-md:   0 4px 16px rgb(0 0 0 / .10);
  --ep-max-w:       1160px;
  --ep-prose-w:     700px;
}

/* ── Reset & base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 100%; }
body {
  font-family: var(--ep-font-ui);
  color: var(--ep-text);
  background: var(--ep-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: var(--ep-brand); }
a:hover { color: var(--ep-brand-dark); }

/* ── Layout ─────────────────────────────────────────────── */
.ep-container {
  max-width: var(--ep-max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ── Skip link ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--ep-brand);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 var(--ep-radius) var(--ep-radius);
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

/* ── Site header ────────────────────────────────────────── */
.ep-site-header {
  background: var(--ep-bg);
  border-bottom: 1px solid var(--ep-border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--ep-shadow-sm);
}
.ep-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .85rem;
}

/* Logo */
.ep-logo { text-decoration: none; display: flex; align-items: center; gap: .65rem; }
.ep-logo__img { height: 36px; width: auto; }
.ep-logo__text {
  font-family: var(--ep-font-body);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ep-text);
  line-height: 1.1;
}
.ep-logo__text span { color: var(--ep-brand); }
.ep-logo__tagline { font-size: .7rem; color: var(--ep-text-muted); letter-spacing: .04em; }

/* Primary nav */
.ep-nav { display: flex; align-items: center; gap: .25rem; }
.ep-nav__link {
  padding: .45rem .85rem;
  border-radius: var(--ep-radius);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ep-text-muted);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.ep-nav__link:hover,
.ep-nav__link.current-menu-item { background: var(--ep-bg-subtle); color: var(--ep-brand); }
.ep-nav__link--cta {
  background: var(--ep-brand);
  color: #fff !important;
  margin-left: .5rem;
}
.ep-nav__link--cta:hover { background: var(--ep-brand-dark); }

/* Mobile menu toggle */
.ep-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius);
  background: var(--ep-bg);
  cursor: pointer;
  padding: 0;
}
.ep-nav-toggle svg { pointer-events: none; }

@media (max-width: 768px) {
  .ep-nav-toggle { display: flex; }
  .ep-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ep-bg);
    border-bottom: 1px solid var(--ep-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: .15rem;
    box-shadow: var(--ep-shadow-md);
  }
  .ep-nav.is-open { display: flex; }
  .ep-nav__link { width: 100%; padding: .6rem .85rem; }
  .ep-nav__link--cta { margin-left: 0; margin-top: .5rem; text-align: center; justify-content: center; display: flex; }
}

/* ── Site footer ────────────────────────────────────────── */
.ep-site-footer {
  border-top: 1px solid var(--ep-border);
  background: var(--ep-bg-subtle);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.ep-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) { .ep-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ep-footer__grid { grid-template-columns: 1fr; } }

.ep-footer__brand .ep-logo__text { font-size: 1.15rem; }
.ep-footer__desc { font-size: .85rem; color: var(--ep-text-muted); margin-top: .75rem; line-height: 1.6; max-width: 280px; }
.ep-footer__col-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ep-text-muted); margin-bottom: .85rem; }
.ep-footer__links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.ep-footer__links a { font-size: .88rem; color: var(--ep-text-muted); text-decoration: none; }
.ep-footer__links a:hover { color: var(--ep-brand); }

.ep-footer__bottom {
  border-top: 1px solid var(--ep-border);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--ep-text-muted);
}
.ep-footer__legal { display: flex; gap: 1rem; flex-wrap: wrap; }
.ep-footer__legal a { color: var(--ep-text-muted); text-decoration: none; }
.ep-footer__legal a:hover { color: var(--ep-brand); }

/* ── Buttons ────────────────────────────────────────────── */
.ep-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.35rem;
  border-radius: var(--ep-radius);
  font-family: var(--ep-font-ui);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background .18s, transform .12s;
}
.ep-btn--primary { background: var(--ep-brand); color: #fff; }
.ep-btn--primary:hover { background: var(--ep-brand-dark); color: #fff; }
.ep-btn--full { width: 100%; justify-content: center; }

/* ── Tags ───────────────────────────────────────────────── */
.ep-tag {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--ep-bg-subtle);
  color: var(--ep-text-muted);
  border: 1px solid var(--ep-border);
  transition: border-color .15s;
}
.ep-tag:hover { border-color: var(--ep-brand); color: var(--ep-brand); }
.ep-tag--category { background: var(--ep-brand); color: #fff; border-color: transparent; }
.ep-tag__count { font-weight: 400; }

/* ── Byline ─────────────────────────────────────────────── */
.ep-byline { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-size: .85rem; color: var(--ep-text-muted); }
.ep-byline__avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ep-byline__meta { display: flex; flex-direction: column; gap: .1rem; }
.ep-byline__name { font-weight: 700; color: var(--ep-text); font-size: .9rem; }
.ep-byline__title { font-size: .8rem; }
.ep-byline__stats { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-left: auto; }
.ep-byline--compact .ep-byline__name { font-size: .85rem; }
.ep-byline--hero { margin-top: 1.25rem; }

/* ── Forms ──────────────────────────────────────────────── */
.ep-form { display: flex; flex-direction: column; gap: .6rem; }
.ep-form__input {
  width: 100%;
  padding: .65rem .9rem;
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius);
  font-size: .9rem;
  font-family: var(--ep-font-ui);
  background: var(--ep-bg);
  color: var(--ep-text);
  transition: border-color .15s;
}
.ep-form__input:focus { outline: none; border-color: var(--ep-brand); box-shadow: 0 0 0 3px rgb(26 79 186 / .12); }

/* ── Widgets ─────────────────────────────────────────────── */
.ep-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.ep-widget { padding: 1.5rem; border: 1px solid var(--ep-border); border-radius: var(--ep-radius-lg); background: var(--ep-bg); }
.ep-widget--sticky-toc { position: sticky; top: 5rem; }
.ep-widget__eyebrow { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ep-brand); margin-bottom: .3rem; }
.ep-widget__title { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.ep-widget__intro { font-size: .85rem; color: var(--ep-text-muted); margin-bottom: 1rem; line-height: 1.55; }

/* Experts list */
.ep-experts-list { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.ep-expert-card { display: flex; align-items: flex-start; gap: .75rem; }
.ep-expert-card__avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ep-expert-card__info { display: flex; flex-direction: column; gap: .1rem; }
.ep-expert-card__name { font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--ep-text); }
.ep-expert-card__name:hover { color: var(--ep-brand); }
.ep-expert-card__title, .ep-expert-card__company { font-size: .78rem; color: var(--ep-text-muted); }
.ep-expert-card__count { font-size: .75rem; color: var(--ep-brand); font-weight: 600; }

/* Tag cloud */
.ep-tag-cloud { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; }

/* Related posts */
.ep-related-list { list-style: none; display: flex; flex-direction: column; gap: .9rem; }
.ep-related-item { display: flex; gap: .75rem; align-items: flex-start; }
.ep-related-item__thumb { width: 68px; height: 52px; border-radius: var(--ep-radius); overflow: hidden; flex-shrink: 0; }
.ep-related-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-related-item__title { font-size: .87rem; font-weight: 700; line-height: 1.35; }
.ep-related-item__title a { text-decoration: none; color: var(--ep-text); }
.ep-related-item__title a:hover { color: var(--ep-brand); }
.ep-related-item__date { font-size: .75rem; color: var(--ep-text-muted); }

/* ── HOME styles ─────────────────────────────────────────── */
.ep-hero { padding: 4rem 0 3rem; background: linear-gradient(160deg, var(--ep-bg) 55%, var(--ep-bg-subtle) 100%); border-bottom: 1px solid var(--ep-border); }
.ep-hero__eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ep-brand); margin-bottom: .75rem; }
.ep-hero__heading { font-family: var(--ep-font-body); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.ep-hero__heading em { font-style: normal; color: var(--ep-brand); }
.ep-hero__sub { max-width: 600px; color: var(--ep-text-muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.ep-trust-bar { display: flex; flex-wrap: wrap; gap: 1rem 2rem; list-style: none; font-size: .85rem; font-weight: 600; color: var(--ep-text-muted); }
.ep-trust-bar li { display: flex; align-items: center; gap: .4rem; }
.ep-trust-bar svg { color: var(--ep-success); flex-shrink: 0; }

.ep-featured { padding: 3rem 0; border-bottom: 1px solid var(--ep-border); }
.ep-featured__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 700px) { .ep-featured__inner { grid-template-columns: 1fr; } }
.ep-featured__media { position: relative; border-radius: var(--ep-radius-lg); overflow: hidden; }
.ep-featured__media .ep-tag { position: absolute; top: .85rem; left: .85rem; }
.ep-featured__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ep-featured__label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ep-accent); margin-bottom: .6rem; }
.ep-featured__title { font-family: var(--ep-font-body); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; margin-bottom: 1rem; }
.ep-featured__title a { text-decoration: none; color: inherit; }
.ep-featured__title a:hover { color: var(--ep-brand); }
.ep-featured__excerpt { color: var(--ep-text-muted); margin-bottom: 1.25rem; }

.ep-cat-nav { border-bottom: 1px solid var(--ep-border); background: var(--ep-bg); }
.ep-cat-nav__list { display: flex; gap: .25rem; list-style: none; overflow-x: auto; padding: .6rem 0; scrollbar-width: none; }
.ep-cat-nav__list::-webkit-scrollbar { display: none; }
.ep-cat-nav__link { display: block; padding: .4rem .9rem; border-radius: var(--ep-radius); font-size: .85rem; font-weight: 600; white-space: nowrap; text-decoration: none; color: var(--ep-text-muted); transition: background .15s, color .15s; }
.ep-cat-nav__link:hover, .ep-cat-nav__link.is-active { background: var(--ep-brand); color: #fff; }

.ep-posts { padding: 3rem 0 4rem; }
.ep-posts__layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .ep-posts__layout { grid-template-columns: 1fr; } }

.ep-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; margin-bottom: 2.5rem; }
@media (max-width: 600px) { .ep-card-grid { grid-template-columns: 1fr; } }

.ep-card { border: 1px solid var(--ep-border); border-radius: var(--ep-radius-lg); overflow: hidden; background: var(--ep-bg); box-shadow: var(--ep-shadow-sm); transition: box-shadow .2s, transform .2s; }
.ep-card:hover { box-shadow: var(--ep-shadow-md); transform: translateY(-2px); }
.ep-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
@media (max-width: 600px) { .ep-card--wide { grid-template-columns: 1fr; } }
.ep-card__media { position: relative; overflow: hidden; }
.ep-card__media .ep-tag { position: absolute; top: .75rem; left: .75rem; }
.ep-card__img { width: 100%; height: 220px; object-fit: cover; }
.ep-card--wide .ep-card__img { height: 100%; min-height: 240px; }
.ep-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.ep-card__title { font-family: var(--ep-font-body); font-size: 1.1rem; line-height: 1.35; }
.ep-card--wide .ep-card__title { font-size: 1.45rem; }
.ep-card__title a { text-decoration: none; color: inherit; }
.ep-card__title a:hover { color: var(--ep-brand); }
.ep-card__excerpt { font-size: .9rem; color: var(--ep-text-muted); }

.ep-pagination { display: flex; justify-content: center; margin-top: 1rem; }
.ep-pagination .page-numbers { display: flex; gap: .4rem; list-style: none; flex-wrap: wrap; padding: 0; }
.ep-pagination .page-numbers li a,
.ep-pagination .page-numbers li span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.2rem; height: 2.2rem; padding-inline: .5rem; border-radius: var(--ep-radius); border: 1px solid var(--ep-border); text-decoration: none; font-size: .875rem; font-weight: 600; color: var(--ep-text-muted); transition: background .15s; }
.ep-pagination .page-numbers li .current,
.ep-pagination .page-numbers li a:hover { background: var(--ep-brand); color: #fff; border-color: var(--ep-brand); }

/* ── SINGULAR styles ─────────────────────────────────────── */
.ep-single__container { display: grid; grid-template-columns: 1fr 300px; gap: 3.5rem; align-items: start; padding-top: 2rem; padding-bottom: 4rem; }
@media (max-width: 900px) { .ep-single__container { grid-template-columns: 1fr; } }

.ep-breadcrumb { margin-bottom: 1.5rem; }
.ep-breadcrumb__list { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; font-size: .8rem; color: var(--ep-text-muted); }
.ep-breadcrumb__list li + li::before { content: '›'; margin-right: .35rem; }
.ep-breadcrumb__list a { color: var(--ep-text-muted); text-decoration: none; }
.ep-breadcrumb__list a:hover { color: var(--ep-brand); }

.ep-article__header { margin-bottom: 2rem; }
.ep-article__title { font-family: var(--ep-font-body); font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.2; margin: .75rem 0 1rem; }
.ep-article__subtitle { font-size: 1.15rem; color: var(--ep-text-muted); line-height: 1.5; margin-bottom: 1rem; }

.ep-review-badge { display: flex; align-items: flex-start; gap: .75rem; margin-top: 1.25rem; padding: .85rem 1rem; background: var(--ep-bg-subtle); border: 1px solid var(--ep-border); border-left: 3px solid var(--ep-brand); border-radius: var(--ep-radius); font-size: .82rem; color: var(--ep-text-muted); line-height: 1.5; }
.ep-review-badge__avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; margin-top: .1rem; }
.ep-review-badge strong { color: var(--ep-text); }

.ep-article__hero-img { margin-bottom: 2rem; border-radius: var(--ep-radius-lg); overflow: hidden; }
.ep-article__hero-img-el { width: 100%; max-height: 520px; object-fit: cover; }
.ep-article__caption { font-size: .8rem; color: var(--ep-text-muted); padding: .5rem .75rem 0; }

.ep-takeaways { margin: 2rem 0; padding: 1.25rem 1.5rem; background: #eef4ff; border: 1px solid #c2d5fa; border-radius: var(--ep-radius-lg); }
.ep-takeaways__heading { display: flex; align-items: center; gap: .5rem; font-size: 1rem; font-weight: 700; color: var(--ep-brand-dark); margin-bottom: .85rem; }
.ep-takeaways__list { padding-left: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.ep-takeaways__list li { font-size: .95rem; }

.ep-toc { margin: 2rem 0; padding: 1.25rem 1.5rem; border: 1px solid var(--ep-border); border-radius: var(--ep-radius-lg); background: var(--ep-bg-subtle); }
.ep-toc__heading { font-size: .95rem; font-weight: 700; margin-bottom: .75rem; }
.ep-toc__list { padding-left: 1.25rem; display: flex; flex-direction: column; gap: .4rem; font-size: .88rem; }
.ep-toc__list a { color: var(--ep-brand); text-decoration: none; }
.ep-toc__list a:hover { text-decoration: underline; }
.ep-toc__list a[aria-current="true"] { font-weight: 700; }

.ep-prose { font-family: var(--ep-font-body); font-size: 1.05rem; line-height: 1.75; color: var(--ep-text); max-width: var(--ep-prose-w); }
.ep-prose h2 { font-size: 1.55rem; margin: 2.25rem 0 .85rem; line-height: 1.25; }
.ep-prose h3 { font-size: 1.2rem; margin: 1.75rem 0 .65rem; }
.ep-prose p  { margin-bottom: 1.25rem; }
.ep-prose ul, .ep-prose ol { margin: 1rem 0 1.25rem 1.5rem; }
.ep-prose li { margin-bottom: .4rem; }
.ep-prose blockquote { border-left: 4px solid var(--ep-brand); padding: .75rem 1.25rem; margin: 1.75rem 0; background: var(--ep-bg-subtle); border-radius: 0 var(--ep-radius) var(--ep-radius) 0; font-style: italic; color: var(--ep-text-muted); }
.ep-prose code { font-family: var(--ep-font-mono); font-size: .87em; background: var(--ep-bg-subtle); padding: .1em .35em; border-radius: 3px; }
.ep-prose pre { background: #1a1a2e; color: #e6e6f0; border-radius: var(--ep-radius); padding: 1.25rem; overflow-x: auto; margin: 1.5rem 0; }
.ep-prose pre code { background: none; padding: 0; font-size: .88rem; }
.ep-prose img { border-radius: var(--ep-radius); margin: 1.5rem auto; }
.ep-prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.ep-prose th { background: var(--ep-bg-subtle); font-weight: 700; text-align: left; padding: .65rem .9rem; border: 1px solid var(--ep-border); }
.ep-prose td { padding: .6rem .9rem; border: 1px solid var(--ep-border); }

.ep-sources { margin: 2.5rem 0; padding: 1.25rem 1.5rem; border: 1px solid var(--ep-border); border-radius: var(--ep-radius); background: var(--ep-bg-subtle); }
.ep-sources__heading { font-size: .95rem; font-weight: 700; margin-bottom: .75rem; }
.ep-sources__list { padding-left: 1.25rem; font-size: .85rem; display: flex; flex-direction: column; gap: .4rem; }
.ep-sources__list a { color: var(--ep-brand); }

.ep-article__tags { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: 2rem 0 1.5rem; }
.ep-article__tags-label { font-weight: 700; font-size: .85rem; margin-right: .25rem; }

.ep-share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: 1.25rem 0; border-top: 1px solid var(--ep-border); border-bottom: 1px solid var(--ep-border); margin-bottom: 2.5rem; }
.ep-share__label { font-weight: 700; font-size: .85rem; }
.ep-share__btn { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; border-radius: var(--ep-radius); font-size: .83rem; font-weight: 600; text-decoration: none; border: 1px solid var(--ep-border); cursor: pointer; background: var(--ep-bg); color: var(--ep-text); transition: background .15s; font-family: var(--ep-font-ui); }
.ep-share__btn:hover { background: var(--ep-bg-subtle); }
.ep-share__btn--linkedin { color: #0077b5; }

.ep-author-box { padding: 2rem; border: 1px solid var(--ep-border); border-radius: var(--ep-radius-lg); background: var(--ep-bg-subtle); margin-bottom: 2.5rem; }
.ep-author-box__header { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 1rem; }
.ep-author-box__avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ep-author-box__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ep-text-muted); margin-bottom: .25rem; }
.ep-author-box__name { font-size: 1.15rem; font-weight: 700; text-decoration: none; color: var(--ep-text); display: block; }
.ep-author-box__name:hover { color: var(--ep-brand); }
.ep-author-box__title { font-size: .85rem; color: var(--ep-text-muted); margin-top: .25rem; }
.ep-author-box__linkedin { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; color: #0077b5; text-decoration: none; margin-top: .5rem; font-weight: 600; }
.ep-author-box__bio { font-size: .9rem; color: var(--ep-text-muted); line-height: 1.6; margin-bottom: 1rem; }
.ep-author-box__all-posts { font-size: .88rem; font-weight: 600; color: var(--ep-brand); text-decoration: none; }
.ep-author-box__all-posts:hover { text-decoration: underline; }

.ep-opinions { margin: 3rem 0; }
.ep-opinions__heading { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.25rem; }
.ep-opinions__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.ep-opinion-card { padding: 1.5rem; border: 1px solid var(--ep-border); border-radius: var(--ep-radius-lg); background: var(--ep-bg); display: flex; flex-direction: column; gap: 1rem; }
.ep-opinion-card__avatar { border-radius: 50%; object-fit: cover; }
.ep-opinion-card__quote p { font-family: var(--ep-font-body); font-style: italic; font-size: .95rem; line-height: 1.6; color: var(--ep-text); }
.ep-opinion-card__attribution { display: flex; flex-direction: column; gap: .15rem; }
.ep-opinion-card__name { font-weight: 700; font-size: .9rem; }
.ep-opinion-card__title, .ep-opinion-card__company { font-size: .8rem; color: var(--ep-text-muted); }

.ep-freshness-notice { display: flex; align-items: flex-start; gap: .6rem; margin: 2rem 0; padding: 1rem 1.25rem; background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--ep-radius); font-size: .85rem; color: #78610a; line-height: 1.55; }
.ep-freshness-notice svg { flex-shrink: 0; margin-top: .1rem; }

.ep-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--ep-border); margin-top: 2rem; }
@media (max-width: 560px) { .ep-post-nav { grid-template-columns: 1fr; } }
.ep-post-nav__item--next { text-align: right; }
.ep-post-nav__dir { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--ep-text-muted); margin-bottom: .35rem; }
.ep-post-nav__title { font-size: .95rem; font-weight: 700; color: var(--ep-text); text-decoration: none; line-height: 1.35; }
.ep-post-nav__title:hover { color: var(--ep-brand); }

/* ── Utility ─────────────────────────────────────────────── */
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; white-space: nowrap; }
.ep-no-results { color: var(--ep-text-muted); font-style: italic; }

/* ── WordPress defaults (keeps block editor happy) ────────── */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; display: block; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .82rem; color: var(--ep-text-muted); margin-top: .4rem; }
.gallery { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ── Print ───────────────────────────────────────────────── */
@media print {
  .ep-site-header, .ep-sidebar, .ep-cat-nav, .ep-share, .ep-post-nav, .ep-pagination, .ep-site-footer { display: none; }
  .ep-single__container { grid-template-columns: 1fr; }
  .ep-prose { max-width: 100%; }
}
