:root {
  --navy: #071949;
  --orange: #ff4d00;
  --orange-dark: #d94200;
  --ink: #1e2a43;
  --muted: #535353;
  --line: #e3e3e3;
  --soft: #f7f8f9;
  --blue-soft: #e6f2ff;
  --white: #fff;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.9;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration: none; }
a:hover, a:focus { color: var(--navy); }
button, input { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 .65em; color: var(--navy); line-height: 1.2; letter-spacing: 0; }
h1 { font-size: 36px; font-weight: 900; text-transform: capitalize; }
h2 { color: var(--orange); font-size: 28px; font-weight: 700; text-transform: capitalize; }
h3 { font-size: 25px; font-weight: 500; text-transform: capitalize; }
h4 { font-size: 20px; font-weight: 500; text-transform: capitalize; }
p { margin: 0 0 1.3em; }
.section-inner { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { max-width: 900px; }
.screen-reader-text, .skip-link { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { top: 16px; left: 16px; z-index: 99; width: auto; height: auto; padding: 10px 14px; background: #fff; color: var(--navy); box-shadow: 0 4px 18px rgba(0,0,0,.2); }

/* Header */
.site-header { position: relative; z-index: 10; background: #fff; }
.header-inner {
  position: relative;
  width: min(calc(100% - 20px), var(--max));
  min-height: 135px;
  margin: auto;
  padding-left: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.site-logo { display: block; margin-right: auto; flex: 0 0 auto; }
.site-logo img { width: 260px; height: auto; }
.primary-nav ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: block; padding: 0 20px; color: var(--navy); font-size: 17px; font-weight: 700; line-height: 41px; text-transform: capitalize; }
.primary-nav a:hover, .primary-nav a:focus { color: #f7f8f9; background: var(--orange); }
.menu-toggle { display: none; padding: 9px 14px; border: 0; background: var(--navy); color: #fff; font-weight: 700; cursor: pointer; }
.header-search-toggle { width: 41px; height: 41px; padding: 0; border: 0; background: transparent; color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.header-search-toggle:hover, .header-search-toggle:focus { background: var(--orange); color: #fff; }
.header-search-toggle svg { display: block; width: 17px; height: 17px; fill: currentColor; }
.header-search-toggle .search-close-icon { display: none; }
.header-search-toggle.is-open .search-open-icon { display: none; }
.header-search-toggle.is-open .search-close-icon { display: block; }
.header-search { position: absolute; right: 51px; left: 300px; display: none; z-index: 2; }
.header-search.is-open { display: block; }
.header-search input { width: 100%; height: 41px; padding: 0 16px; border: 0; outline: 0; background: var(--orange); color: #fff; }
.header-search input::placeholder { color: #fff; opacity: .9; }

/* Archived homepage composition */
.hero { overflow: hidden; background: #fff; }
.hero-inner { width: min(calc(100% - 20px), var(--max)); min-height: 0; margin: auto; padding: 60px 10px; display: flex; align-items: center; }
.hero-copy { width: 55%; padding: 0; }
.hero-copy .subtitle, .subtitle { margin: 0 0 8px; color: var(--orange); font-size: 16px; font-weight: 600; }
.hero-copy h1 { max-width: 650px; margin-bottom: 25px; font-size: 50px; font-weight: 600; text-transform: none; }
.hero-copy > p:not(.subtitle) { max-width: 620px; color: var(--muted); font-size: 18px; font-weight: 300; }
.hero-image { width: 45%; align-self: center; }
.hero-image img { width: 100%; max-height: 500px; object-fit: contain; }
.hero-search { display: flex; width: min(80%, 570px); margin-top: 28px; border: 1px solid #d9d9d9; background: #fff; }
.hero-search input { min-width: 0; flex: 1; padding: 13px 16px; border: 0; outline: 0; color: var(--navy); }
.hero-search button { width: 52px; border: 0; background: var(--orange); color: #fff; cursor: pointer; }
.hero-search button svg { width: 24px; height: 24px; fill: currentColor; vertical-align: middle; }
.topic-directory { padding: 40px 20px; background: #efefef; }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 30px; }
.topic-grid a { display: flex; align-items: center; gap: 10px; color: #414141; font-size: 16px; font-weight: 500; line-height: 1.35; }
.topic-grid a:hover { color: var(--orange); }
.topic-icon { width: 20px; height: 20px; flex: 0 0 20px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.topic-icon::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: currentColor; }
.topic-blue { color: #1cb0f6; }.topic-yellow { color: #ffc800; }.topic-purple { color: #9069cd; }
.topic-pink { color: #ff385c; }.topic-green { color: #00a86b; }.topic-cyan { color: #02a3ee; }
.topic-red { color: #e3000b; }.topic-orange { color: #ff9900; }.topic-violet { color: #7257c7; }

.leadership-resources { padding: 90px 20px; background: #fff; }
.better-leader { padding: 50px 30px; border: 1px solid #efefef; border-radius: 20px; display: flex; align-items: center; gap: 30px; }
.better-leader-copy, .quality-pills { width: 50%; }
.better-leader h2 { font-size: 22px; font-weight: 500; }
.better-leader p { color: var(--muted); font-size: 18px; font-weight: 300; }
.outline-button { display: inline-flex; padding: 12px 30px; border: 1px solid var(--orange); border-radius: 50px; color: #000; font-size: 16px; }
.outline-button:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.quality-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.quality-pills span { padding: 6px 12px; border: 1px solid #000; border-radius: 50px; background: #d7d7d7; color: #000; font-size: 13px; line-height: 1.4; }
.quality-pills span:nth-child(2) { border-color: #ff385c; background: #f8adbb; }
.quality-pills span:nth-child(3) { border-color: #1877f2; background: #a0c6f8; }
.quality-pills span:nth-child(4) { border-color: #e3000b; background: #f0b4b7; }
.quality-pills span:nth-child(5) { border-color: #ffd600; background: #fbf0b7; }
.quality-pills span:nth-child(6), .quality-pills span:nth-child(14) { background: #fff; }
.quality-pills span:nth-child(7) { border-color: #ea0b8c; background: #f2acd5; }
.quality-pills span:nth-child(8), .quality-pills span:nth-child(13) { border-color: #006f46; background: #9aebcd; }
.quality-pills span:nth-child(9) { border-color: #02a3ee; background: #cadce5; }
.quality-pills span:nth-child(10) { border-color: #fa0c00; background: #ffdddb; }
.quality-pills span:nth-child(11) { border-color: #ff9900; background: #f9e9d2; }
.quality-pills span:nth-child(12) { border-color: #4285f4; background: #99bcf4; }

.resource-grid { margin-top: 80px; padding: 50px 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.resource-card { min-height: 330px; position: relative; padding: 40px; border: 1px solid #dfdfdf; border-radius: 20px; background: #fff; color: var(--navy); }
.resource-card:hover { border-color: var(--orange); color: var(--navy); }
.resource-icon { display: block; width: 60px; height: 60px; margin: 0 auto 34px; position: relative; border-radius: 50%; background: #e8f7fe; }
.resource-icon::before, .resource-icon::after { content: ""; position: absolute; box-sizing: border-box; }
.resource-directory::before { width: 28px; height: 20px; top: 22px; left: 16px; border: 2px solid var(--navy); border-radius: 3px; }
.resource-directory::after { width: 8px; height: 8px; top: 14px; left: 26px; border: 2px solid var(--orange); border-radius: 50%; background: #fff; }
.resource-styles { background-color: #fff4bf; }
.resource-styles::before { width: 28px; height: 3px; top: 19px; left: 16px; border-radius: 3px; background: var(--navy); box-shadow: 0 9px 0 var(--orange), 0 18px 0 var(--navy); }
.resource-styles::after { width: 5px; height: 5px; top: 18px; left: 21px; border-radius: 50%; background: #fff; box-shadow: 9px 9px 0 #fff, -2px 18px 0 #fff; }
.resource-tools { background-color: #ffede6; }
.resource-tools::before { width: 24px; height: 24px; top: 18px; left: 18px; border: 3px solid var(--orange); border-radius: 50%; }
.resource-tools::after { width: 8px; height: 8px; top: 26px; left: 26px; border-radius: 50%; background: var(--navy); }
.resource-card strong { display: block; margin-bottom: 5px; font-size: 20px; font-weight: 500; }
.resource-card small { display: block; color: var(--muted); font-size: 16px; font-weight: 300; line-height: 1.7; }
.resource-card i { position: absolute; right: 30px; bottom: 25px; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff; font-style: normal; line-height: 38px; text-align: center; }

.home-post-section { position: relative; padding: 80px 20px; }
.guide-band { background: #ffede6; }
.popular-band { background: #e8f7fe; }
.floating-heading { display: inline-flex; margin: 0 0 34px; padding: 11px 48px 11px 28px; border: 1px solid #dfdfdf; border-radius: 50px; background: #fff; color: var(--navy); font-size: 16px; font-weight: 500; text-transform: none; }
.home-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-guide-card { min-width: 0; padding: 8px 8px 30px; border-radius: 20px; background: #fafafa; }
.home-guide-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; }
.home-guide-card h3 { padding: 0 10px 5px; margin: 12px 0 5px; font-size: 16px; font-weight: 500; line-height: 1.35; }
.home-guide-card h3 a { color: #000; }
.home-guide-card h3 a:hover { color: var(--orange); }
.home-guide-card time { padding: 0 10px; color: #717171; font-size: 14px; }

.leadership-tools-section { padding: 90px 20px; background: #fff; }
.tools-panel { padding: 30px 50px; border: 1px solid #efefef; border-radius: 20px; display: grid; grid-template-columns: 3fr 2fr; gap: 50px; align-items: center; }
.tools-panel h2 { font-size: 26px; font-weight: 500; }
.tools-panel p { color: var(--muted); font-weight: 300; }
.tool-links { display: grid; gap: 10px; }
.tool-links a { padding: 13px 18px; border: 1px solid #dfdfdf; color: var(--navy); font-size: 16px; font-weight: 600; }
.tool-links a:hover { border-color: var(--orange); color: var(--orange); }

.popular-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.popular-card { min-width: 0; min-height: 112px; padding: 6px; border-radius: 8px; background: #fafafa; display: flex; align-items: center; }
.popular-image { width: 120px; aspect-ratio: 4 / 3; flex: 0 0 120px; overflow: hidden; border-radius: 4px; }
.popular-image img { width: 100%; height: 100%; object-fit: cover; }
.popular-card h3 { margin: 0; padding: 0 10px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.popular-card h3 a { color: #000; }
.popular-card h3 a:hover { color: var(--orange); }

.newsletter-section { padding: 90px 20px; background: #fff; }
.newsletter-panel { padding: 50px 30px; border: 1px solid #efefef; border-radius: 20px; background: var(--orange); color: #fff; display: grid; grid-template-columns: 40% 60%; align-items: center; gap: 30px; }
.newsletter-mark { width: 170px; height: 170px; margin: auto; border: 5px solid #fff; border-radius: 50%; font-size: 48px; font-weight: 800; line-height: 160px; text-align: center; }
.newsletter-panel h2 { color: #fff; font-size: 22px; font-weight: 500; }
.newsletter-panel p { max-width: 650px; font-size: 15px; font-weight: 300; }
.newsletter-button { display: inline-flex; padding: 10px 24px; border-radius: 50px; background: #fff; color: #000; font-size: 16px; }
.newsletter-button:hover { background: var(--navy); color: #fff; }

/* Blog, pages and articles */
.eyebrow { margin-bottom: 10px; color: var(--orange); font-size: 14px; font-weight: 800; text-transform: uppercase; }
.guides-section, .archive-content { padding: 82px 0; }
.section-heading { margin-bottom: 34px; display: flex; justify-content: space-between; align-items: end; gap: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 0; background: var(--orange); color: #fff; font-weight: 800; }
.button:hover { background: var(--navy); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { min-width: 0; border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 24px rgba(7,25,73,.07); display: flex; flex-direction: column; }
.post-card-image { aspect-ratio: 1.33/1; overflow: hidden; background: var(--blue-soft); display: block; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.post-card:hover .post-card-image img { transform: scale(1.025); }
.post-card-body { padding: 20px 21px 23px; }
.post-card-category { margin-bottom: 8px; color: var(--orange); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.post-card h3 { font-size: 21px; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--orange); }
.post-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.58; }
.archive-navigation { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }
.pagination-label { margin-bottom: 14px; color: var(--navy); font-size: 16px; font-weight: 800; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.page-numbers { min-width: 42px; height: 42px; padding: 0 13px; border: 1px solid var(--line); color: var(--navy); font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
a.page-numbers:hover, .page-numbers.current { border-color: var(--orange); background: var(--orange); color: #fff; }
.page-numbers.dots { min-width: 25px; padding: 0 3px; border-color: transparent; }
.page-numbers.prev, .page-numbers.next { padding-right: 17px; padding-left: 17px; }
.archive-hero { padding: 70px 0 64px; background: var(--blue-soft); }
.archive-hero h1 { font-size: clamp(2.35rem, 5vw, 4rem); }
.archive-hero p { max-width: 760px; color: var(--muted); }
.single-post { padding-top: 58px; }
.post-header h1 { max-width: 900px; font-size: clamp(2.2rem, 5vw, 4rem); text-transform: capitalize; }
.breadcrumbs { margin-bottom: 28px; color: #778094; font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs a { color: #778094; }
.post-meta { color: var(--muted); font-size: 14px; display: flex; gap: 20px; }
.post-meta span + span, .post-meta time + span { padding-left: 20px; border-left: 1px solid var(--line); }
.post-layout { padding-top: 48px; display: grid; grid-template-columns: minmax(0, 820px) minmax(230px, 1fr); gap: 60px; }
.entry-content { min-width: 0; color: #25314a; }
.entry-content h1 { font-size: 2rem; }
.entry-content h2 { margin-top: 1.55em; color: var(--orange); font-size: 1.75rem; }
.entry-content h3 { margin-top: 1.45em; font-size: 1.4rem; }
.entry-content h4 { margin-top: 1.35em; }
.entry-content ul, .entry-content ol { padding-left: 1.35em; }
.entry-content li { margin-bottom: .45em; }
.entry-content figure { margin: 32px 0; }
.entry-content figure img, .entry-content > img { max-height: 800px; margin: auto; object-fit: contain; }
.entry-content figcaption { color: var(--muted); font-size: 13px; text-align: center; }
.entry-content .wp-block-spacer { height: 18px !important; }
.entry-content iframe { max-width: 100%; }
.entry-content table { max-width: 100%; overflow-x: auto; border-collapse: collapse; display: block; }
.entry-content th, .entry-content td { padding: 10px; border: 1px solid var(--line); }
.entry-content a { font-weight: 600; }
.post-sidebar { padding-top: 10px; }
.sidebar-box { position: sticky; top: 25px; padding: 28px; background: var(--navy); color: #fff; }
.sidebar-box strong { display: block; margin-bottom: 10px; font-size: 22px; }
.sidebar-box p { color: #d6dceb; font-size: 15px; }
.sidebar-box a { font-weight: 800; }
.related { padding-top: 75px; padding-bottom: 85px; }
.related-grid { grid-template-columns: repeat(3, 1fr); }
#ez-toc-container { margin: 30px 0; padding: 19px 22px; border: 1px solid var(--line); background: var(--soft); }
#ez-toc-container .ez-toc-title-container { display: flex; justify-content: space-between; align-items: center; }
#ez-toc-container .ez-toc-title { margin: 0; font-weight: 800; }
#ez-toc-container .ez-toc-title-toggle svg { display: none; }
#ez-toc-container .ez-toc-title-toggle a::after { content: "−"; font-size: 24px; }
#ez-toc-container.is-collapsed .ez-toc-title-toggle a::after { content: "+"; }
#ez-toc-container.is-collapsed nav { display: none; }
#ez-toc-container ul { margin: 12px 0 0; padding-left: 22px; }
#ez-toc-container li { margin: .25em 0; font-size: 14px; }
#ez-toc-container a { color: var(--navy); font-weight: 600; }
.basic-page .page-content { padding-top: 60px; padding-bottom: 80px; }
.page-content form { display: grid; gap: 16px; }
.page-content input, .page-content textarea { width: 100%; padding: 12px; border: 1px solid #ccd1dc; }
.not-found { min-height: 55vh; padding-top: 100px; padding-bottom: 100px; }
.empty-state { padding: 30px; background: var(--soft); }

/* Archived footer structure */
.site-footer { background: var(--soft); color: var(--navy); }
.footer-widgets { padding: 58px 0; background: var(--soft); }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 70px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-column h2 { margin-bottom: 14px; color: var(--navy); font-size: 22px; font-weight: 700; text-transform: uppercase; }
.footer-column a { color: var(--navy); font-size: 16px; line-height: 1.55; }
.footer-column a:hover { color: var(--orange); }
.footer-column p { color: var(--muted); font-size: 16px; }
.footer-recent a { margin-bottom: 5px; }
.site-info { padding: 19px 0; background: var(--navy); color: #fff; font-size: 14px; }
.site-info-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-info nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-info a { color: #fff; }
.site-info a:hover { color: #d3d3d3; }

@media (max-width: 900px) {
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
  .resource-grid { gap: 20px; padding-right: 0; padding-left: 0; }
  .resource-card { padding: 28px 22px; }
  .home-guide-grid { grid-template-columns: repeat(2, 1fr); }
  .popular-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 735px) {
  body { font-size: 17px; }
  h1 { font-size: 38px; }
  h2 { font-size: 27px; }
  .header-inner { min-height: 95px; padding: 10px; flex-wrap: wrap; gap: 10px; }
  .site-logo img { width: 205px; }
  .menu-toggle { display: block; }
  .header-search-toggle { margin-left: 0; }
  .primary-nav { display: none; order: 4; flex-basis: 100%; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: block; padding-bottom: 12px; }
  .primary-nav a { padding: 0 10px; }
  .header-search { right: 10px; left: 10px; bottom: -41px; }
  .hero-inner { width: min(calc(100% - 30px), var(--max)); padding: 48px 0 38px; flex-wrap: wrap; }
  .hero-copy, .hero-image { width: 100%; }
  .hero-copy h1 { font-size: 40px; }
  .hero-search { width: 100%; }
  .hero-image { margin-top: 30px; }
  .topic-directory { padding: 35px 15px; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
  .leadership-resources { padding: 60px 15px; }
  .better-leader { padding: 24px 18px; flex-wrap: wrap; }
  .better-leader-copy, .quality-pills { width: 100%; }
  .resource-grid { margin-top: 30px; padding: 20px 0 0; grid-template-columns: 1fr; }
  .resource-card { min-height: 285px; }
  .home-post-section { padding: 60px 15px; }
  .home-guide-grid, .popular-grid { grid-template-columns: 1fr; }
  .leadership-tools-section, .newsletter-section { padding: 60px 15px; }
  .tools-panel { padding: 25px 18px; grid-template-columns: 1fr; gap: 25px; }
  .newsletter-panel { padding: 30px 20px; grid-template-columns: 1fr; }
  .newsletter-mark { width: 120px; height: 120px; font-size: 36px; line-height: 110px; }
  .post-grid, .related-grid { grid-template-columns: 1fr; }
  .archive-content { padding: 58px 0; }
  .archive-navigation { margin-top: 38px; }
  .nav-links { gap: 6px; }
  .page-numbers { min-width: 39px; height: 39px; padding: 0 11px; }
  .page-numbers.prev, .page-numbers.next { padding-right: 13px; padding-left: 13px; }
  .post-header, .post-layout { width: min(calc(100% - 30px), var(--max)); }
  .post-layout { padding-top: 32px; }
  .single-post { padding-top: 38px; }
  .entry-content h2 { font-size: 1.55rem; }
  .footer-columns { grid-template-columns: 1fr; gap: 35px; }
  .site-info-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
}
