/* shared.css - sitewide header/footer + basic utilities */

* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #1a1a1a; }

.site-header {
  background: #154061;
  padding: 14px 18px;
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.92;
  font-weight: 600;
}

.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

.nav a.active {
  opacity: 1;
  color: #ff6a2a;
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.45);
  color: #ffffff;
  background: transparent;
}

.btn-primary {
  background: #F04B2B;
  color: #ffffff;
}

.site-footer {
  background: #154061;
  color: #ffffff;
  padding: 34px 18px;
  margin-top: 56px;
}

.footer-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-title { font-weight: 800; margin-bottom: 8px; }
.footer-sub { opacity: 0.92; margin-bottom: 14px; }
.footer-copy { opacity: 0.9; }

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.92;
  margin-right: 12px;
  white-space: nowrap;
}

.footer-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

/* Header logo sizing */
.site-logo img,
header img {
  max-height: 70px;
  width: auto;
}

/* ===== SmartBizManager header tighten ===== */
.site-header {
  padding: 10px 0 !important;   /* reduce vertical space */
}

.site-header .nav-wrap {
  align-items: center !important;
  min-height: 72px !important;  /* keeps it consistent but not huge */
}

/* Logo image size */
.site-header .brand img {
  max-height: 60px !important;  /* adjust to 50px if you want tighter */
  width: auto !important;
  display: block;
}

/* Brand text spacing */
.site-header .brand {
  gap: 12px !important;
  align-items: center !important;
}

.site-header .brand-name {
  font-size: 18px !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Nav links often add height via padding/line-height */
.site-header .nav-links a {
  padding: 6px 10px !important;
  line-height: 1.1 !important;
}

/* CTA buttons: tighten */
.site-header .nav-cta .btn {
  padding: 8px 12px !important;
  line-height: 1.1 !important;
}
/* =========================
   RESOURCES PAGE STYLES
   ========================= */

body[data-page="resources"] .resources-container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 20px;
}

body[data-page="resources"] .resources-hero-section{
  padding-top: 44px;
  padding-bottom: 18px;
}

body[data-page="resources"] .resources-hero-heading{
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 14px 0;
  color: #0f2f44;
}

body[data-page="resources"] .resources-hero-description{
  max-width: 860px;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: rgba(15,47,68,0.85);
}

body[data-page="resources"] .resources-featured-section{
  background: rgba(15,47,68,0.06);
}

body[data-page="resources"] .resources-featured-heading{
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 12px 0;
}

body[data-page="resources"] .resources-featured-paragraph{
  max-width: 900px;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 18px 0;
}

body[data-page="resources"] .resources-btn{
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}

body[data-page="resources"] .resources-featured-button,
body[data-page="resources"] .resources-card-button{
  background: #f05a28;
  color: #ffffff;
}

body[data-page="resources"] .resources-library-heading{
  font-size: 26px;
  margin-bottom: 18px;
}

body[data-page="resources"] .resources-cards-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

body[data-page="resources"] .resources-card{
  background: #ffffff;
  border: 1px solid rgba(15,47,68,0.12);
  border-radius: 16px;
  padding: 18px;
}

body[data-page="resources"] .resources-card-title{
  font-size: 18px;
  margin-bottom: 10px;
}

body[data-page="resources"] .resources-updated-heading{
  font-size: 24px;
  margin-bottom: 10px;
}

@media (max-width: 980px){
  body[data-page="resources"] .resources-cards-grid{
    grid-template-columns: 1fr;
  }
}

