/*
Theme Name: Elite Biz Daily
Theme URI: https://elitebizdaily.com
Description: Exact Framer The-News style for Elite Biz Daily. Clean editorial magazine.
Version: 2.0.0
Author: PR Launch Network
Text Domain: ebd
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: #fff; color: #111; -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

/* ── CONTAINER ── */
.ebd-wrap { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* ════════════════════════════════════
   HEADER — exact Framer style
════════════════════════════════════ */
.ebd-header { background: #fff; position: sticky; top: 0; z-index: 200; }

.ebd-header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 18px;
  border-bottom: 1px solid #111;
}
.ebd-logo-link { display: flex; align-items: center; line-height: 1; text-decoration: none; }
.ebd-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -1px;
  color: #0E1F3D;
  line-height: 1;
  display: block;
}
.ebd-logo-text:hover { color: #0E1F3D; }
.ebd-header__date { font-size: 12px; color: #999; letter-spacing: .2px; }
.ebd-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.ebd-hamburger span { display: block; width: 22px; height: 1.5px; background: #111; transition: all .2s; }

/* ── NAV ── */
.ebd-nav { border-bottom: 1px solid #e8e8e8; }
.ebd-nav__list {
  display: flex;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
  padding: 0;
  margin: 0;
}
.ebd-nav__list::-webkit-scrollbar { display: none; }
.ebd-nav__list li a {
  display: block;
  padding: 13px 22px 13px 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .3px;
  color: #aaa;
  border-bottom: 1.5px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.ebd-nav__list li a:hover,
.ebd-nav__list li.current-menu-item a { color: #111; border-bottom-color: #111; }
.ebd-nav__list li.ebd-nav-features a { color: #B8962E; }
.ebd-nav__list li.ebd-nav-features a:hover { color: #B8962E; border-bottom-color: #B8962E; }

/* ════════════════════════════════════
   HOMEPAGE LAYOUT
════════════════════════════════════ */

/* ── HERO ── */
.ebd-hero { padding: 44px 0 0; }
.ebd-hero__img-wrap { display: block; width: 100%; overflow: hidden; }
.ebd-hero__img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.ebd-hero__img-wrap:hover .ebd-hero__img { transform: scale(1.02); }
.ebd-hero__placeholder {
  width: 100%;
  height: 520px;
  display: block;
}
.ebd-hero__body { padding: 24px 0 0; max-width: 860px; }
.ebd-hero__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ebd-hero__date { font-size: 12px; color: #aaa; }
.ebd-hero__dot { color: #ddd; font-size: 10px; }
.ebd-hero__cat {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #aaa;
  text-transform: lowercase;
}
.ebd-hero__cat:hover { color: #B8962E; }
.ebd-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.5px;
  color: #111;
  display: block;
  margin-bottom: 18px;
}
.ebd-hero__title:hover { color: #222; }
.ebd-hero__excerpt {
  font-size: 17px;
  line-height: 1.75;
  color: #666;
  margin-bottom: 22px;
  max-width: 680px;
}
.ebd-hero__byline { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.ebd-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
  flex-shrink: 0;
  overflow: hidden;
}
.ebd-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ebd-avatar--sm { width: 26px; height: 26px; font-size: 10px; }
.ebd-avatar--img { padding: 0; background: transparent; }
.ebd-avatar--img { display: block; }
.ebd-author-name { font-size: 13px; font-weight: 500; color: #333; }
.ebd-author-role { font-size: 11px; color: #bbb; display: block; }
.ebd-read-more {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #111;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.ebd-read-more:hover { color: #B8962E; border-bottom-color: #B8962E; }

/* ── DIVIDERS ── */
.ebd-hr { border: none; border-top: 1px solid #e8e8e8; margin: 48px 0; }
.ebd-section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 28px;
  display: block;
}

/* ── CARD GRID 3-COL ── */
.ebd-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }

.ebd-card { display: flex; flex-direction: column; }
.ebd-card__img-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 14px;
  background: #f5f5f5;
}
.ebd-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.ebd-card__img-wrap:hover img { transform: scale(1.04); }
.ebd-card__img-placeholder { width: 100%; height: 100%; display: block; }
.ebd-card__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ebd-card__date { font-size: 11px; color: #bbb; }
.ebd-card__dot { color: #ddd; font-size: 10px; }
.ebd-card__cat { font-size: 11px; color: #aaa; text-transform: lowercase; }
.ebd-card__cat:hover { color: #B8962E; }
.ebd-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.3;
  color: #111;
  display: block;
  flex: 1;
}
.ebd-card__title:hover { color: #444; }
.ebd-card__byline {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}
.ebd-card__author { font-size: 12px; color: #999; }

/* ── FEATURE FULL (editor's pick) ── */
.ebd-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.ebd-feature__img-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f5f5f5;
}
.ebd-feature__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ebd-feature__img-wrap:hover img { transform: scale(1.03); }
.ebd-feature__img-placeholder { width: 100%; height: 100%; display: block; }
.ebd-feature__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  color: #111;
  display: block;
  margin: 10px 0 12px;
}
.ebd-feature__title:hover { color: #444; }
.ebd-feature__excerpt { font-size: 14px; line-height: 1.75; color: #888; margin-bottom: 16px; }

/* ── 2-COL GRID ── */
.ebd-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 28px; }
.ebd-card--wide .ebd-card__img-wrap { aspect-ratio: 16/9; }

/* ════════════════════════════════════
   SINGLE POST
════════════════════════════════════ */
.ebd-single { padding: 52px 0 80px; }
.ebd-single__header { max-width: 780px; margin: 0 auto 40px; }
.ebd-single__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.ebd-single__cat { font-size: 11px; color: #aaa; text-transform: lowercase; }
.ebd-single__cat:hover { color: #B8962E; }
.ebd-single__date-sep { color: #ddd; }
.ebd-single__date { font-size: 11px; color: #aaa; }
.ebd-single__read-time { font-size: 11px; color: #bbb; }
.ebd-single__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.5px;
  color: #111;
  margin-bottom: 22px;
}
.ebd-single__excerpt {
  font-size: 20px;
  line-height: 1.65;
  color: #555;
  font-weight: 300;
  margin-bottom: 28px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}
.ebd-single__byline {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 0;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}
.ebd-single__byline-name { font-size: 14px; font-weight: 500; }
.ebd-single__byline-role { font-size: 12px; color: #bbb; display: block; }
.ebd-single__hero {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  margin: 44px 0;
}
/* SVG/div placeholder in single hero */
div.ebd-single__hero {
  background: #1a1a2e;
}

/* ── ARTICLE LEAD PARAGRAPH ── */
.ebd-lead, p.ebd-lead {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.7;
  color: #444;
  margin-bottom: 2em !important;
}
.ebd-single__content {
  max-width: 680px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.85;
  color: #2a2a2a;
}
.ebd-single__content p { margin-bottom: 1.6em; }
.ebd-single__content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 600;
  color: #111; margin: 2em 0 .6em;
}
.ebd-single__content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 600;
  color: #111; margin: 1.8em 0 .5em;
}
.ebd-single__content blockquote {
  border-left: 3px solid #B8962E;
  padding: 14px 24px;
  margin: 2em 0;
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-style: italic; color: #333;
}
.ebd-single__content a { color: #B8962E; text-decoration: underline; }
.ebd-single__content img { width: 100%; margin: 2em 0; }

/* Author bio box */
/* ── SHARE BUTTONS ── */
.ebd-share {
  max-width: 680px;
  margin: 48px auto 0;
  padding: 24px 0;
  border-top: 1px solid #e8e8e8;
}
.ebd-share__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 14px;
}
.ebd-share__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ebd-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  border: none;
  font-family: inherit;
  letter-spacing: .3px;
}
.ebd-share__btn--linkedin { background: #0A66C2; color: #fff; }
.ebd-share__btn--linkedin:hover { background: #004182; }
.ebd-share__btn--x { background: #000; color: #fff; }
.ebd-share__btn--x:hover { background: #333; }
.ebd-share__btn--fb { background: #1877F2; color: #fff; }
.ebd-share__btn--fb:hover { background: #0d5fc2; }
.ebd-share__btn--copy { background: #f4f4f0; color: #111; border: 1px solid #e5e5e5; }
.ebd-share__btn--copy:hover { background: #e8e8e4; }

/* ── AUTHOR BOX ── */
.ebd-author-box {
  background: #f9f8f5;
  border-left: 3px solid #B8962E;
  padding: 28px 28px 28px 24px;
  margin-top: 32px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.ebd-author-box__avatar { flex-shrink: 0; }
.ebd-author-box__avatar .ebd-avatar {
  width: 72px !important;
  height: 72px !important;
  font-size: 26px !important;
  border-radius: 50%;
}
.ebd-author-box__body { flex: 1; min-width: 0; }
.ebd-author-box__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #B8962E;
  display: block;
  margin-bottom: 6px;
}
.ebd-author-box__header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
}
.ebd-author-box__name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: #111;
}
.ebd-author-box__verified { display: inline-flex; align-items: center; flex-shrink: 0; }
.ebd-author-box__role {
  font-size: 10px;
  color: #999;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.ebd-author-box__bio { font-size: 14px; line-height: 1.75; color: #666; }

/* ════════════════════════════════════
   ARCHIVE PAGE
════════════════════════════════════ */
.ebd-archive { padding: 48px 0 80px; }
.ebd-archive__header {
  border-bottom: 1.5px solid #111;
  padding-bottom: 20px; margin-bottom: 48px;
}
.ebd-archive__label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #bbb; margin-bottom: 8px; display: block; }
.ebd-archive__title { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 400; color: #111; }
.ebd-archive__count { font-size: 13px; color: #bbb; margin-top: 6px; }

/* Pagination */
.ebd-pagination { display: flex; gap: 6px; justify-content: center; padding: 52px 0 0; }
.ebd-pagination a, .ebd-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  font-size: 13px; font-weight: 400;
  border: 1px solid #e5e5e5; color: #888;
  transition: all .15s;
}
.ebd-pagination a:hover, .ebd-pagination span.current {
  background: #111; color: #fff; border-color: #111;
}

/* ════════════════════════════════════
   PAGE (About / Privacy / Terms)
════════════════════════════════════ */
.ebd-page { padding: 60px 0 100px; }
.ebd-page__inner { max-width: 720px; margin: 0 auto; }
.ebd-page__label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #bbb; margin-bottom: 14px; display: block; }
.ebd-page__title {
  font-family: 'Playfair Display', serif;
  font-size: 44px; font-weight: 400; color: #111;
  line-height: 1.1; margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8e8e8;
}
.ebd-page__content { font-size: 17px; line-height: 1.85; color: #333; }
.ebd-page__content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 400; color: #111;
  margin: 2.2em 0 .7em;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.ebd-page__content h3 { font-size: 18px; font-weight: 600; color: #111; margin: 1.8em 0 .5em; }
.ebd-page__content p { margin-bottom: 1.4em; color: #444; }
.ebd-page__content ul { margin: .8em 0 1.4em 1.4em; list-style: disc; }
.ebd-page__content ul li { margin-bottom: .4em; color: #444; }
.ebd-page__content a { color: #B8962E; text-decoration: underline; }
.ebd-page__content strong { color: #111; font-weight: 600; }
.ebd-page__content .ebd-highlight {
  background: #f9f8f5;
  border-left: 3px solid #B8962E;
  padding: 20px 24px;
  margin: 1.8em 0;
  border-radius: 0;
}
.ebd-page__content .ebd-highlight p { margin-bottom: 0; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.ebd-footer {
  border-top: 1px solid #111;
  padding: 32px 0;
  margin-top: 60px;
}
.ebd-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.ebd-footer__logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 400; color: #111;
}
.ebd-footer__copy { font-size: 11px; color: #ccc; margin-top: 3px; }
.ebd-footer__links { display: flex; gap: 20px; align-items: center; }
.ebd-footer__links a { font-size: 11px; color: #aaa; transition: color .15s; letter-spacing: .2px; }
.ebd-footer__links a:hover { color: #111; }
.ebd-footer__links span { color: #e0e0e0; font-size: 10px; }

/* ════════════════════════════════════
   RESPONSIVE — DESKTOP MEDIUM
════════════════════════════════════ */
@media (max-width: 1100px) {
  .ebd-wrap { padding: 0 28px; }
  .ebd-hero__title { font-size: 42px; }
}

@media (max-width: 960px) {
  .ebd-wrap { padding: 0 24px; }
  .ebd-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .ebd-hero__title { font-size: 38px; }
  .ebd-feature { grid-template-columns: 1fr; gap: 20px; }
  .ebd-single__title { font-size: 42px; }
}

/* ════════════════════════════════════
   RESPONSIVE — TABLET + MOBILE
════════════════════════════════════ */
@media (max-width: 768px) {
  .ebd-wrap { padding: 0 18px; }

  /* Header */
  .ebd-header__top { padding: 14px 0; }
  .ebd-logo-text { font-size: 30px; letter-spacing: -.5px; }
  .ebd-header__date { display: none; }

  /* Nav always visible as horizontal scroll */
  .ebd-hamburger { display: none; }
  .ebd-nav__list li a { padding: 11px 16px 11px 0; font-size: 11px; }

  /* Hero */
  .ebd-hero { padding: 24px 0 0; }
  .ebd-hero__img { height: 240px; }
  .ebd-hero__placeholder { height: 240px; }
  .ebd-hero__body { padding: 18px 0 0; }
  .ebd-hero__title { font-size: 26px; letter-spacing: -.2px; margin-bottom: 12px; }
  .ebd-hero__excerpt { font-size: 14px; margin-bottom: 16px; }

  /* Card grid */
  .ebd-grid-3 { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .ebd-card__title { font-size: 15px; }
  .ebd-card__byline { display: none; }
  .ebd-card__date { display: none; }
  .ebd-card__dot { display: none; }

  /* Feature */
  .ebd-feature { grid-template-columns: 1fr; gap: 16px; }
  .ebd-feature__title { font-size: 22px; }

  /* 2-col */
  .ebd-grid-2 { grid-template-columns: 1fr; }

  /* Dividers */
  .ebd-hr { margin: 32px 0; }

  /* Single */
  .ebd-single { padding: 32px 0 60px; }
  .ebd-single__title { font-size: 30px; }
  .ebd-single__excerpt { font-size: 17px; }
  .ebd-single__content { font-size: 16px; }
  .ebd-single__hero { height: 260px; max-height: 260px; margin: 28px 0; }
  /* Share buttons mobile */
  .ebd-share__buttons { gap: 8px; }
  .ebd-share__btn { padding: 8px 14px; font-size: 11px; }
  .ebd-share__btn span { display: none; }
  .ebd-share__btn--copy span { display: inline; }

  /* Author box mobile */
  .ebd-author-box { flex-direction: row; align-items: center; gap: 16px; padding: 20px; }
  .ebd-author-box__avatar .ebd-avatar { width: 56px !important; height: 56px !important; font-size: 20px !important; }
  .ebd-author-box__name { font-size: 16px; }
  .ebd-author-box__bio { font-size: 13px; }

  /* Archive */
  .ebd-archive__title { font-size: 30px; }

  /* Page */
  .ebd-page__title { font-size: 32px; }
  .ebd-page__content { font-size: 16px; }

  /* Footer */
  .ebd-footer { padding: 24px 0; }
  .ebd-footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ebd-footer__links { flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 480px) {
  .ebd-wrap { padding: 0 14px; }
  .ebd-hero__img { height: 200px; }
  .ebd-hero__placeholder { height: 200px; }
  .ebd-hero__title { font-size: 22px; }
  .ebd-hero__excerpt { display: none; }
  .ebd-grid-3 { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
  .ebd-card__title { font-size: 14px; }
  .ebd-card__cat { display: none; }
  .ebd-nav__list li a { padding: 11px 12px 11px 0; font-size: 10px; }
  .ebd-single__title { font-size: 26px; }
}
