/*
Theme Name: Creed Business
Theme URI: https://creedbusiness.com
Description: Creed Business — Purpose, principles, and values behind America's most respected companies. Bold magazine style.
Version: 1.0.0
Author: PR Launch Network
Text Domain: creed
*/

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

/* Override GeneratePress container width */
body { max-width: none !important; }
.site, #page, .site-content, .content-area, main { max-width: none !important; width: 100% !important; }
.creed-archive-hero, .creed-archive-body, .creed-home, .creed-single-hero, .creed-single-body, .creed-page-hero, .creed-page-body { width: 100% !important; max-width: none !important; }


*,*::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 !important;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;}

/* ── CONTAINERS ── */
.creed-wrap{max-width:1120px;margin:0 auto;padding:0 36px;}
.creed-wrap--narrow{max-width:740px;margin:0 auto;padding:0 36px;}

/* ════════════════════
   HEADER
════════════════════ */
.creed-header{
  background:#fff;
  border-bottom:3px solid #111;
  position:sticky;
  top:0;
  z-index:200;
}
.creed-header__top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
  border-bottom:1px solid #f0f0f0;
}
.creed-logo{display:flex;flex-direction:column;gap:3px;}
.creed-logo__name{
  font-family:'Oswald',sans-serif;
  font-size:30px;
  font-weight:700;
  color:#111;
  letter-spacing:.5px;
  line-height:1;
  text-transform:uppercase;
}
.creed-logo__name span{color:#2E7D52;}
.creed-logo__sub{display:none;}
.creed-header__date{
  font-size:11px;
  color:#bbb;
  letter-spacing:.5px;
  text-transform:uppercase;
  font-weight:500;
}

/* Nav */
.creed-nav{
  overflow-x:auto;
  scrollbar-width:none;
  margin-bottom:-3px;
}
.creed-nav::-webkit-scrollbar{display:none;}
.creed-nav ul{display:flex;gap:0;white-space:nowrap;}
.creed-nav ul li a{
  display:block;
  font-size:11px;
  font-weight:600;
  letter-spacing:.8px;
  text-transform:uppercase;
  color:#888;
  padding:11px 20px 11px 0;
  border-bottom:2px solid transparent;
  margin-bottom:0;
  transition:all .15s;
}
.creed-nav ul li a:hover,
.creed-nav ul li.current-menu-item a{color:#111;border-bottom-color:#2E7D52;}
.creed-nav ul li.creed-nav-legacy a{color:#2E7D52;}

/* ════════════════════
   HERO — split layout
════════════════════ */
.creed-hero{
  display:grid;
  grid-template-columns:1fr 420px;
  border-bottom:2px solid #111;
  min-height:460px;
}
.creed-hero__img-side{
  position:relative;
  overflow:hidden;
  background:#111;
}
.creed-hero__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}
.creed-hero__img-placeholder{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.creed-hero__img-side:hover .creed-hero__img{transform:scale(1.03);}
.creed-hero__badge{
  position:absolute;
  top:20px;
  left:20px;
  background:#2E7D52;
  color:#fff;
  font-size:9px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  padding:5px 14px;
  z-index:2;
}
.creed-hero__body{
  padding:40px 36px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-left:2px solid #111;
  background:#fff;
}
.creed-hero__cat{
  font-size:9px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#2E7D52;
  margin-bottom:14px;
  display:flex;
  align-items:center;
  gap:8px;
}
.creed-hero__cat::before{
  content:'';
  width:20px;height:2px;
  background:#2E7D52;
  display:block;
}
.creed-hero__title{
  font-family:'Oswald',sans-serif;
  font-size:34px;
  font-weight:700;
  line-height:1.1;
  color:#111;
  letter-spacing:.2px;
  display:block;
  margin-bottom:14px;
  transition:color .15s;
}
.creed-hero__title:hover{color:#2E7D52;}
.creed-hero__excerpt{
  font-size:15px;
  line-height:1.7;
  color:#777;
  margin-bottom:24px;
  font-weight:300;
}
.creed-hero__meta{
  display:flex;
  align-items:center;
  gap:10px;
  padding-top:18px;
  border-top:1px solid #f0f0f0;
}
.creed-avatar{
  width:30px;height:30px;
  border-radius:50%;
  background:#111;
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:11px;font-weight:700;
  flex-shrink:0;
}
.creed-avatar--sm{width:24px;height:24px;font-size:9px;}
.creed-author-name{font-size:12px;font-weight:600;color:#333;}
.creed-author-role{font-size:10px;color:#bbb;display:block;}
.creed-meta-sep{color:#ddd;font-size:12px;}
.creed-date{font-size:11px;color:#bbb;}
.creed-read-btn{
  margin-left:auto;
  background:#111;
  color:#fff;
  font-size:10px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  padding:9px 20px;
  white-space:nowrap;
  transition:background .15s;
  flex-shrink:0;
}
.creed-read-btn:hover{background:#2E7D52;}

/* ════════════════════
   HOME BODY
════════════════════ */
.creed-home-body{padding:44px 0 80px;}

/* Section label */
.creed-section-label{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:28px;
}
.creed-section-label::before{
  content:'';
  width:4px;height:20px;
  background:#2E7D52;
  display:block;
  flex-shrink:0;
}
.creed-section-label span{
  font-size:10px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#111;
  white-space:nowrap;
}
.creed-section-label::after{
  content:'';
  flex:1;
  height:1px;
  background:#e8e8e8;
}

/* ── HORIZONTAL CARD LIST ── */
.creed-card-list{display:flex;flex-direction:column;}
.creed-hcard{
  display:grid;
  grid-template-columns:240px 1fr;
  border-bottom:1px solid #f0f0f0;
  padding:24px 0;
}
.creed-hcard:first-child{border-top:1px solid #f0f0f0;}
.creed-hcard__img-wrap{
  display:block;
  width:100%;
  height:152px;
  overflow:hidden;
  background:#f5f5f5;
  flex-shrink:0;
}
.creed-hcard__img-wrap img{
  width:100%;height:100%;
  object-fit:cover;
  transition:transform .45s cubic-bezier(.25,.46,.45,.94);
}
.creed-hcard:hover .creed-hcard__img-wrap img{transform:scale(1.06);}
.creed-hcard__img-placeholder{width:100%;height:100%;display:block;}
.creed-hcard__body{
  padding:0 0 0 28px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.creed-hcard__cat{
  font-size:9px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#2E7D52;
  margin-bottom:8px;
  display:flex;
  align-items:center;
  gap:8px;
}
.creed-hcard__cat::before{width:16px;height:2px;background:#2E7D52;content:'';display:block;}
.creed-hcard__title{
  font-family:'Oswald',sans-serif;
  font-size:21px;
  font-weight:700;
  line-height:1.2;
  color:#111;
  display:block;
  margin-bottom:8px;
  transition:color .15s;
}
.creed-hcard:hover .creed-hcard__title{color:#2E7D52;}
.creed-hcard__excerpt{
  font-size:13px;
  line-height:1.65;
  color:#999;
  margin-bottom:12px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.creed-hcard__meta{display:flex;align-items:center;gap:8px;}
.creed-hcard__author{font-size:11px;color:#aaa;font-weight:500;}
.creed-hcard__dot{color:#ddd;font-size:10px;}
.creed-hcard__date{font-size:11px;color:#ccc;}

/* ── 3-COL GRID ── */
.creed-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px 20px;}
.creed-vcard{
  border-top:3px solid #efefef;
  padding-top:16px;
  transition:border-color .15s;
}
.creed-vcard:hover{border-top-color:#2E7D52;}
.creed-vcard__img-wrap{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#f5f5f5;
  margin-bottom:12px;
}
.creed-vcard__img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease;}
.creed-vcard:hover .creed-vcard__img-wrap img{transform:scale(1.05);}
.creed-vcard__img-placeholder{width:100%;height:100%;display:block;}
.creed-vcard__cat{
  font-size:9px;font-weight:700;letter-spacing:2px;
  text-transform:uppercase;color:#2E7D52;margin-bottom:6px;
}
.creed-vcard__title{
  font-family:'Oswald',sans-serif;
  font-size:17px;font-weight:700;line-height:1.25;
  color:#111;display:block;transition:color .15s;
}
.creed-vcard:hover .creed-vcard__title{color:#2E7D52;}
.creed-vcard__meta{font-size:10px;color:#ccc;margin-top:10px;display:flex;gap:6px;align-items:center;}

/* ════════════════════
   SINGLE POST
════════════════════ */
.creed-single-hero{
  background:#fff;
  border-bottom:3px solid #111;
}
.creed-single-hero::after{display:none;}
.creed-single-hero__overlay{display:none;}

/* Header text section */
.creed-single-hero__content{
  position:static;
  padding:36px 0 28px;
  max-width:860px;
}
.creed-single-hero__cat{
  font-size:9px;font-weight:700;letter-spacing:2px;text-transform:uppercase;
  color:#fff;background:#2E7D52;padding:4px 12px;display:inline-block;margin-bottom:14px;
}
.creed-single-hero__title{
  font-family:'Oswald',sans-serif;
  font-size:44px;font-weight:700;
  line-height:1.08;color:#111;letter-spacing:.3px;margin-bottom:16px;
}
.creed-single-hero__meta{
  display:flex;align-items:center;gap:12px;
  padding-top:14px;border-top:1px solid #e8e8e8;
}
.creed-single-hero__author{font-size:13px;font-weight:600;color:#111;}
.creed-single-hero__role{font-size:10px;color:#999;display:block;}
.creed-single-hero__date{font-size:11px;color:#aaa;}

/* Image — contained below header, not full-screen */
.creed-single-hero__img{
  display:block;
  max-width:860px;
  width:100%;
  height:420px;
  margin:0 auto 0;
  object-fit:cover;
  object-position:center center;
  opacity:1;
}
.creed-single-hero__img-div{
  max-width:860px;width:100%;height:380px;
  display:block;margin:0 auto;
}

.creed-single-body{padding:52px 0 80px;}
.creed-single-layout{
  display:grid;
  grid-template-columns:1fr 272px;
  gap:56px;
  align-items:start;
}

/* Article content */
.creed-content{
  font-family:'Merriweather',Georgia,serif;
  font-size:17px;line-height:1.9;color:#222;
}
.creed-content p{margin-bottom:1.5em;}
.creed-content h2{
  font-family:'Oswald',sans-serif;
  font-size:26px;font-weight:700;color:#111;
  margin:2.2em 0 .6em;letter-spacing:.2px;
  border-left:4px solid #2E7D52;padding-left:14px;
}
.creed-content h3{font-family:'Oswald',sans-serif;font-size:20px;font-weight:600;color:#111;margin:1.8em 0 .5em;}
.creed-content blockquote{
  border-left:3px solid #2E7D52;
  padding:12px 22px;margin:2em 0;
  font-size:19px;font-style:italic;color:#555;
}
.creed-content a{color:#2E7D52;text-decoration:underline;}
.creed-content img{width:100%;margin:2em 0;}
.creed-content .ebd-lead,
.creed-content p.ebd-lead{
  font-size:19px;font-style:italic;
  color:#555;margin-bottom:2em;font-weight:300;line-height:1.8;
}
.creed-content strong{color:#111;font-weight:700;}

/* Author box */
/* SHARE BUTTONS */
.creed-share{margin-top:48px;padding:24px 0;border-top:1px solid #e8e8e8;}
.creed-share__label{display:block;font-size:9px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#bbb;margin-bottom:14px;}
.creed-share__buttons{display:flex;gap:10px;flex-wrap:wrap;}
.creed-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;}
.creed-share__btn--linkedin{background:#0A66C2;color:#fff;}
.creed-share__btn--linkedin:hover{background:#004182;}
.creed-share__btn--x{background:#000;color:#fff;}
.creed-share__btn--x:hover{background:#333;}
.creed-share__btn--fb{background:#1877F2;color:#fff;}
.creed-share__btn--fb:hover{background:#0d5fc2;}
.creed-share__btn--copy{background:#f4f4f0;color:#111;border:1px solid #e5e5e5;}
.creed-share__btn--copy:hover{background:#e8e8e4;}

/* AUTHOR BOX */
.creed-author-box{
  background:#f9f9f9;
  border-left:4px solid #2E7D52;
  padding:24px 28px;
  display:flex;gap:18px;align-items:flex-start;
  margin-top:24px;
}
.creed-author-box__avatar{flex-shrink:0;}
.creed-author-box__avatar .creed-avatar{width:72px!important;height:72px!important;font-size:26px!important;border-radius:50%;overflow:hidden;}
.creed-author-box__body{flex:1;min-width:0;}
.creed-author-box__label{font-size:9px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#2E7D52;margin-bottom:5px;display:block;}
.creed-author-box__header{display:flex;align-items:center;gap:7px;margin-bottom:3px;}
.creed-author-box__name{font-family:'Oswald',sans-serif;font-size:20px;font-weight:700;color:#111;}
.creed-author-box__verified{display:inline-flex;align-items:center;flex-shrink:0;}
.creed-author-box__role{font-size:10px;color:#2E7D52;font-weight:700;letter-spacing:1px;text-transform:uppercase;margin-bottom:10px;display:block;}
.creed-author-box__bio{font-size:13px;line-height:1.65;color:#666;}
/* Avatar img fix */
.creed-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block;}
.creed-avatar--img{padding:0;background:transparent;}

/* Sidebar */
.creed-sidebar__section{
  border:1px solid #f0f0f0;
  padding:20px;
  margin-bottom:20px;
}
.creed-sidebar__label{
  font-family:'Oswald',sans-serif;
  font-size:13px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#111;
  margin-bottom:14px;padding-bottom:8px;border-bottom:2px solid #2E7D52;
}

.creed-sidebar-item:last-child{border-bottom:none;padding-bottom:0;}
.creed-sidebar-item__title{
  font-family:'Oswald',sans-serif;font-size:14px;font-weight:600;
  line-height:1.3;color:#111;display:block;transition:color .15s;
}
.creed-sidebar-item__title:hover{color:#2E7D52;}
.creed-sidebar-item__meta{font-size:10px;color:#bbb;margin-top:3px;}

/* ════════════════════
   ARCHIVE
════════════════════ */
.creed-archive-hero{
  background:#111;
  padding:56px 0 44px;
  position:relative;
}
.creed-archive-hero::after{
  content:'';
  position:absolute;
  bottom:0;left:0;right:0;
  height:4px;background:#2E7D52;
}
.creed-archive-hero__label{font-size:9px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:#2E7D52;margin-bottom:10px;}
.creed-archive-hero__title{font-family:'Oswald',sans-serif;font-size:42px;font-weight:700;color:#fff;letter-spacing:.3px;}
.creed-archive-hero__count{font-size:11px;color:#555;margin-top:8px;}
.creed-archive-body{padding:44px 0 80px;}

.creed-pagination{display:flex;gap:4px;justify-content:center;padding:48px 0 0;}
.creed-pagination a,.creed-pagination span{
  display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;font-size:12px;font-weight:600;
  border:1px solid #e8e8e8;color:#888;transition:all .15s;
}
.creed-pagination a:hover,.creed-pagination span.current{background:#111;color:#fff;border-color:#111;}

/* ════════════════════
   PAGE
════════════════════ */
.creed-page-hero{background:#111;padding:56px 0 44px;position:relative;}
.creed-page-hero::after{content:'';position:absolute;bottom:0;left:0;right:0;height:4px;background:#2E7D52;}
.creed-page-hero__label{font-size:9px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:#2E7D52;margin-bottom:10px;}
.creed-page-hero__title{font-family:'Oswald',sans-serif;font-size:40px;font-weight:700;color:#fff;}
.creed-page-body{padding:52px 0 100px;}
.creed-page-content{font-size:16px;line-height:1.85;color:#444;}
.creed-page-content p{margin-bottom:1.4em;}
.creed-page-content h2{
  font-family:'Oswald',sans-serif;font-size:22px;font-weight:700;color:#111;
  margin:2.2em 0 .7em;padding-left:12px;border-left:4px solid #2E7D52;
}
.creed-page-content h3{font-size:17px;font-weight:600;color:#111;margin:1.5em 0 .4em;}
.creed-page-content strong{color:#111;font-weight:600;}
.creed-page-content a{color:#2E7D52;text-decoration:underline;}
.creed-page-content ul{margin:.8em 0 1.4em 1.4em;list-style:disc;}
.creed-page-content ul li{margin-bottom:.5em;color:#555;}
.creed-page-content .creed-highlight,
.creed-page-content .ebd-highlight{background:#F0FBF4;border-left:4px solid #2E7D52;padding:18px 22px;margin:2em 0;}
.creed-page-content .creed-highlight p,
.creed-page-content .ebd-highlight p{margin-bottom:0;}

/* ════════════════════
   FOOTER
════════════════════ */
.creed-footer{background:#111;padding:40px 0 28px;}
.creed-footer__inner{
  display:flex;justify-content:space-between;align-items:flex-start;
  flex-wrap:wrap;gap:20px;
  padding-bottom:22px;border-bottom:1px solid #1e1e1e;margin-bottom:18px;
}
.creed-footer__logo{font-family:'Oswald',sans-serif;font-size:22px;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:.5px;}
.creed-footer__logo span{color:#2E7D52;}
.creed-footer__tagline{font-size:11px;color:#333;margin-top:5px;}
.creed-footer__links{display:flex;gap:16px;align-items:center;}
.creed-footer__links a{font-size:11px;color:#444;transition:color .15s;}
.creed-footer__links a:hover{color:#2E7D52;}
.creed-footer__links span{color:#222;}
.creed-footer__copy{font-size:11px;color:#2a2a2a;}

/* ════════════════════
   RESPONSIVE — TABLET
════════════════════ */
@media(max-width:1100px){
  .creed-wrap{padding:0 24px;}
  .creed-wrap--narrow{padding:0 24px;}
  .creed-hero{grid-template-columns:1fr 360px;}
  .creed-hero__title{font-size:28px;}
  .creed-single-layout{grid-template-columns:1fr 240px;gap:36px;}
  .creed-grid-3{grid-template-columns:repeat(2,1fr);}
}

@media(max-width:900px){
  .creed-hero{grid-template-columns:1fr;}
  .creed-hero__img-side{height:280px;position:relative;}
  .creed-hero__body{border-left:none;border-top:2px solid #111;}
  .creed-single-layout{grid-template-columns:1fr;}
  .creed-single-hero__title{font-size:34px;}
}

/* ════════════════════
   RESPONSIVE — MOBILE
════════════════════ */
@media(max-width:768px){
  .creed-wrap{padding:0 16px;}
  .creed-wrap--narrow{padding:0 16px;}

  /* Header */
  .creed-header__top{padding:12px 0;}
  .creed-logo__name{font-size:22px;}
  .creed-logo__sub{display:none;}
  .creed-header__date{display:none;}
  .creed-nav ul li a{font-size:10px;padding:10px 14px 10px 0;}

  /* Hero */
  .creed-hero__img-side{height:220px;}
  .creed-hero__body{padding:24px 20px;}
  .creed-hero__title{font-size:22px;}
  .creed-hero__excerpt{font-size:13px;display:none;}
  .creed-read-btn{display:none;}

  /* Cards */
  .creed-hcard{grid-template-columns:1fr;gap:0;}
  .creed-hcard__img-wrap{height:180px;margin-bottom:14px;}
  .creed-hcard__body{padding:0;}
  .creed-hcard__title{font-size:18px;}
  .creed-hcard__excerpt{display:none;}

  /* Grid */
  .creed-grid-3{grid-template-columns:1fr 1fr;gap:20px 12px;}
  .creed-vcard__title{font-size:14px;}
  .creed-vcard__meta{display:none;}

  /* Single */
  .creed-single-hero__title{font-size:26px;}
  .creed-single-hero__content{padding:28px 0 32px;}
  .creed-single-body{padding:32px 0 60px;}
  .creed-content{font-size:16px;}
  .creed-share__btn span{display:none;}
  .creed-share__btn--copy span{display:inline;}
  .creed-share__btn{padding:9px 13px;}
  .creed-author-box{flex-direction:row;align-items:center;gap:14px;padding:18px;}
  .creed-author-box__avatar .creed-avatar{width:52px!important;height:52px!important;font-size:18px!important;}

  /* Archive / Page */
  .creed-archive-hero{padding:40px 0 32px;}
  .creed-archive-hero__title{font-size:28px;}
  .creed-page-hero{padding:40px 0 32px;}
  .creed-page-hero__title{font-size:26px;}

  /* Footer */
  .creed-footer__inner{flex-direction:column;gap:12px;}
  .creed-footer__links{flex-wrap:wrap;gap:10px;}
  .creed-home-body{padding:32px 0 60px;}
}


/* SIDEBAR ITEMS — clean layout */
.creed-sidebar-item {
  display:grid;
  grid-template-columns:96px 1fr;
  gap:14px;
  padding:14px 0;
  border-bottom:1px solid #f1f5f9;
  align-items:start;
}
.creed-sidebar-item:last-child { border-bottom:none; }
.creed-sidebar-item__img {
  display:block;
  width:96px;
  height:66px;
  overflow:hidden;
  background:#e2e8f0;
  flex-shrink:0;
}
.creed-sidebar-item__img img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .3s;
}
.creed-sidebar-item:hover .creed-sidebar-item__img img { transform:scale(1.05); }
@media(max-width:480px){
  .creed-logo__name{font-size:18px;}
  .creed-hero__title{font-size:20px;}
  .creed-grid-3{grid-template-columns:1fr;}
  .creed-hcard__title{font-size:16px;}
  .creed-single-hero__title{font-size:22px;}
  .creed-archive-hero__title{font-size:24px;}
}
