﻿/* ===== LeadU 2025 template CSS (SCOPED) ===== */
/* Scope everything to THIS template only */
body.page-template-template-2025-php .leadu-2025 {
  font-family: Georgia, "Times New Roman", Times, serif;
}

/* Hide Genesis site branding on this template only */
body.page-template-template-2025-php .site-title,
body.page-template-template-2025-php .title-area {
  display: none !important;
}

/* ----------------- HEADER STRIP ----------------- */

/* Top bar: centered group, nicely spaced */
body.page-template-template-2025-php .l-topbar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 40px; /* roomy on desktop */
  margin: 4px 0 12px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  text-align: center;
}
body.page-template-template-2025-php .l-topbar .l-link,
body.page-template-template-2025-php .l-topbar .l-date {
  color: #000;
  text-decoration: none;
  font-size: 16px;
}
body.page-template-template-2025-php .l-topbar .l-link:hover {
  text-decoration: underline;
}

/* Mobile tweaks for the top bar */
@media (max-width: 600px) {
  body.page-template-template-2025-php .l-topbar {
    flex-wrap: wrap;
    gap: 16px 20px;
    white-space: normal;
  }
}

/* ----------------- BANNER / TITLES ----------------- */

body.page-template-template-2025-php .l-banner {
  text-align: center;
  margin-bottom: 6px;
}
body.page-template-template-2025-php .l-img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
body.page-template-template-2025-php .l-titlewrap {
  text-align: center;
  margin-top: 4px;
}
body.page-template-template-2025-php .l-title { margin: 0; }
body.page-template-template-2025-php .l-subtitle { font-weight: bold; }

body.page-template-template-2025-php .l-rule {
  display: block;
  margin: 8px auto 14px;
  max-width: 100%;
  height: auto;
}

/* ----------------- CONTENT AREA ----------------- */

body.page-template-template-2025-php .l-content {
  margin: 0 auto;
  text-align: left;
}

/* Inline bio pattern (image wraps with text) */
body.page-template-template-2025-php .l-content .l-bio__img,
body.page-template-template-2025-php .l-content p > img.alignleft {
  float: left;
  margin: 0 8px 6px 0;
  width: auto;
  max-width: min(150px, 35vw); /* 150px on desktop, shrinks on small screens */
  height: auto;
}
body.page-template-template-2025-php .l-content::after {
  content: "";
  display: block;
  clear: both;
}

/* Ensure content images never overflow the readable column */
body.page-template-template-2025-php .l-content img {
  max-width: 100%;
  height: auto;
}

/* ----------------- FOOTER BRAND & LEGAL ----------------- */

body.page-template-template-2025-php .l-footerbrand {
  text-align: center;
  margin: 20px auto 8px;
}
body.page-template-template-2025-php .l-footerbrand__img {
  min-width: 100px;
  max-width: 175px;
  width: 100%;
  height: auto;
  display: inline-block;
}
body.page-template-template-2025-php .l-copy { margin-top: 4px; }

body.page-template-template-2025-php .legal-notices {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #ccc;
  font-size: 0.9em;
  color: #555;
  text-align: center;
}
body.page-template-template-2025-php .legal-notices .sep {
  margin: 0 6px;
  opacity: .7;
}

/* ----------------- FRAME LOOK ----------------- */

body.page-template-template-2025-php .l-frame.border-wrapper {
  border: 3px solid #333333;          /* darker WLBstr tone */
  border-radius: 8px;
  background: #fff
  /* subtle shadow with bottom/right emphasis */
  box-shadow: 4px 4px 10px rgba(0,0,0,0.2);
}

/* === 2025 TEMPLATE – FINAL CANONICAL SPACING === */

/* 0) Hard reset Genesis/child wrappers on THIS template only */
body.page-template-template-2025-php .site-container,
body.page-template-template-2025-php .site-inner,
body.page-template-template-2025-php .wrap,
body.page-template-template-2025-php .content-sidebar-wrap,
body.page-template-template-2025-php .site-content,
body.page-template-template-2025-php .content,
body.page-template-template-2025-php #content,
body.page-template-template-2025-php .entry,
body.page-template-template-2025-php .entry-content {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

/* 1) The framed box: EXACTLY 20px from the viewport on left & right (and 20px inside) */
  margin: 20px auto;        /* 20px top/bottom; centered horizontally */
  padding: 20px;            /* 20px inside on all sides */
  box-sizing: border-box;
}

/* 2) Readable width for banner, content, and footer brand (tweak 960px if you like) */
body.page-template-template-2025-php .l-banner,
body.page-template-template-2025-php .l-content,
body.page-template-template-2025-php .l-footerbrand {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
/* === CANONICAL LAYOUT — DO NOT STRETCH THE FRAME === */
body.page-template-template-2025-php .leadu-2025 {
  /* Just centers the frame; no width here */
  display: flex;
  justify-content: center;
}

/* The frame wraps the readable column and never stretches full-width */
body.page-template-template-2025-php .l-frame.border-wrapper {
  margin: 20px;                 /* 20px outside on all sides */
  padding: 20px;                /* 20px inside on all sides */
  box-sizing: border-box;
  max-width: 1000px;            /* frame outer cap; tweak if you want */
  width: auto;                  /* let it size to its contents */
  border: 3px solid #333333;
  border-radius: 8px;
  background: #fff;
  box-shadow: 4px 4px 10px rgba(0,0,0,0.2);
}

/* Readable column for banner, content, and footer brand */
body.page-template-template-2025-php .l-banner,
body.page-template-template-2025-php .l-content,
body.page-template-template-2025-php .l-footerbrand {
  max-width: 960px;             /* the “content width” */
  margin-left: auto;
  margin-right: auto;
}

/* Top bar: 3-cell grid aligned to the same readable width */
body.page-template-template-2025-php .l-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left | center | right */
  align-items: center;
  column-gap: 20px;
  max-width: 960px;             /* match content width */
  margin: 4px auto 12px;        /* centered inside the frame */
  text-align: left;
}
body.page-template-template-2025-php .l-topbar .l-left   { justify-self: start; }
body.page-template-template-2025-php .l-topbar .l-center { justify-self: center; }
body.page-template-template-2025-php .l-topbar .l-right  { justify-self: end;   }

body.page-template-template-2025-php .l-topbar .l-link,
body.page-template-template-2025-php .l-topbar .l-date {
  color:#000; text-decoration:none; font-size:16px;
}
body.page-template-template-2025-php .l-topbar .l-link:hover { text-decoration:underline; }

/* Responsive Mike Jay image with text wrap */
body.page-template-template-2025-php .l-content .l-bio__img,
body.page-template-template-2025-php .l-content p > img.alignleft {
  float: left;
  margin: 0 8px 6px 0;
  width: auto;
  max-width: min(150px, 35vw);  /* 150px on desktop; shrinks on small screens */
  height: auto;
}
body.page-template-template-2025-php .l-content::after { content:""; display:block; clear:both; }

/* Safety: never overflow the column */
body.page-template-template-2025-php .l-content img { max-width:100%; height:auto; }

/* Small screens: keep spacing friendly */
@media (max-width: 600px) {
  body.page-template-template-2025-php .l-topbar { column-gap: 12px; }
  body.page-template-template-2025-php .l-frame.border-wrapper { padding: 16px; margin: 16px; }
}
/* Full-screen tiled background for this template */
body.page-template-template-2025-php {
  background-image: url("https://leadu.com/images/LeadershipUniversity_bg.gif");
  background-repeat: repeat;        /* tile horizontally AND vertically */
  background-position: top center;
  background-attachment: fixed;     /* stays put while content scrolls */
  background-size: auto;            /* original size */
}

body.page-template-template-2025-php::before {
  /* …existing background… */
  /* add a soft tint over the pattern */
  box-shadow: inset 0 0 0 9999px rgba(255,255,255,0.06);
}

