/*
 Theme Name: Daily Teams
 Theme URI: https://dailyteams.com
 Description: Clean, professional sports magazine theme - GeneratePress child.
 Template: generatepress
 Version: 3.0.0
*/

:root {
  --bg:          #f4f6f9;
  --bg2:         #ffffff;
  --bg3:         #edf0f5;
  --accent:      #0b2e5e;
  --accent-h:    #0d3a78;
  --accent-lite: #e8edf7;
  --text:        #111827;
  --muted:       #64748b;
  --border:      #dde2ea;
  --radius:      5px;
  --font:        system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hw:          700;
  --footer-bg:   #0b2e5e;
  --footer-text: #cbd5e1;
  --container:   1160px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--font);
  line-height: 1.7;
  margin: 0;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-h); }
h1,h2,h3,h4,h5,h6 {
  font-weight: var(--hw);
  line-height: 1.3;
  color: var(--text) !important;
  margin: 1.4em 0 .45em;
}
h1 { font-size: clamp(1.55rem, 3.5vw, 2.3rem); }
h2 { font-size: clamp(1.25rem, 2.8vw, 1.8rem); }
h3 { font-size: clamp(1.05rem, 2.2vw, 1.35rem); }
img { max-width:100%; height:auto; }

/* GP layout overrides */
.site-content, .content-area, .site-main { background: var(--bg) !important; }
.grid-container { background: transparent !important; }
.separate-containers .inside-article, .inside-article {
  background: var(--bg2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 2rem !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.05) !important;
  color: var(--text) !important;
}
.separate-containers .inside-right-sidebar, .inside-right-sidebar {
  background: transparent !important; border: none !important;
  padding: 0 !important; box-shadow: none !important;
}
.widget, .widget_block, .inner-padding {
  background: var(--bg2) !important; border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important; padding: 1.25rem !important;
  margin-bottom: 1rem !important; color: var(--text) !important;
}
.widget-title, .wp-block-heading {
  color: var(--accent) !important; font-size: .75rem !important;
  font-weight: 700 !important; text-transform: uppercase !important;
  letter-spacing: .07em !important; border-bottom: 2px solid var(--accent) !important;
  padding-bottom: .4em !important; margin-bottom: .75rem !important;
}
.entry-content, .entry-content p { color: var(--text) !important; }
.entry-title { color: var(--text) !important; }
.entry-title a { color: var(--text) !important; }
.entry-title a:hover { color: var(--accent) !important; }
.entry-meta, .posted-on, .byline { color: var(--muted) !important; font-size: .8125rem; }

.search-field, .wp-block-search__input {
  background: var(--bg3) !important; border: 1px solid var(--border) !important;
  color: var(--text) !important; border-radius: var(--radius) !important; padding: .45em .75em !important;
}
button, input[type="submit"], .wp-block-search__button, .search-submit {
  background: var(--accent) !important; color: #fff !important;
  border: none !important; border-radius: var(--radius) !important;
  padding: .5em 1.1em !important; font-weight: 600 !important; cursor: pointer;
}
button:hover { background: var(--accent-h) !important; }

table { border-collapse: collapse; width: 100%; }
th, td { padding: .5em .75em; border: 1px solid var(--border); color: var(--text) !important; }
th { background: var(--bg3) !important; font-weight: 700; }
code, pre { background: var(--bg3) !important; border: 1px solid var(--border); border-radius: 3px; font-size: .875em; color: var(--text) !important; }
pre { padding: 1em; overflow-x: auto; }
code { padding: .15em .35em; }
blockquote { border-left: 3px solid var(--accent); margin-left: 0; padding-left: 1.2em; color: var(--muted) !important; font-style: italic; }

/* HEADER */
.dt-header {
  background: #ffffff; border-bottom: 2px solid var(--accent);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(11,46,94,.08);
}
.dt-header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 1.25rem;
  display: flex; align-items: center; justify-content: space-between; height: 60px;
}
.dt-logo { display: flex; align-items: center; gap: .5rem; text-decoration: none; flex-shrink: 0; }
.dt-logo-icon {
  width: 34px; height: 34px; background: var(--accent); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: .85rem; color: #fff; letter-spacing: -.02em;
}
.dt-logo-text { font-size: 1.1rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.dt-logo-text span { color: var(--accent); }
.dt-nav { display: flex; align-items: center; gap: .1rem; }
.dt-nav a {
  color: var(--muted); font-size: .875rem; font-weight: 600;
  padding: .45rem .75rem; border-radius: 3px;
  transition: color .15s, background .15s; white-space: nowrap;
}
.dt-nav a:hover, .dt-nav a.current { color: var(--accent); background: var(--accent-lite); }
.dt-header-actions { display: flex; align-items: center; gap: .4rem; }
.dt-icon-btn {
  background: none; border: 1px solid var(--border); color: var(--muted);
  cursor: pointer; padding: .4rem .55rem; border-radius: 4px;
  display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.dt-icon-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-lite); }
.dt-menu-toggle { display: none; }

.dt-search-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(11,46,94,.55); backdrop-filter: blur(4px);
  z-index: 999; align-items: flex-start; justify-content: center; padding-top: 90px;
}
.dt-search-overlay.open { display: flex; }
.dt-search-box {
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 1.5rem; width: 100%; max-width: 540px; margin: 0 1rem;
  box-shadow: 0 20px 40px rgba(11,46,94,.18);
}
.dt-search-box form { display: flex; gap: .5rem; }
.dt-search-box input {
  flex: 1; background: var(--bg3) !important; border: 1px solid var(--border) !important;
  color: var(--text) !important; padding: .65rem .9rem !important;
  border-radius: 4px !important; font-size: 1rem; outline: none;
}
.dt-search-box button {
  background: var(--accent) !important; border: none !important; color: #fff !important;
  padding: .65rem 1.2rem !important; border-radius: 4px !important;
  cursor: pointer; font-weight: 600 !important;
}
.dt-nav-mobile {
  display: none; background: #fff; border-top: 1px solid var(--border); padding: .5rem 0;
}
.dt-nav-mobile.open { display: block; }
.dt-nav-mobile a {
  display: block; color: var(--text); font-size: .9rem; font-weight: 600;
  padding: .6rem 1.25rem; border-bottom: 1px solid var(--border);
}
.dt-nav-mobile a:last-child { border-bottom: none; }
.dt-nav-mobile a:hover { color: var(--accent); background: var(--accent-lite); }

/* FOOTER */
.dt-footer { background: var(--footer-bg); padding: 3rem 0 1.5rem; margin-top: 3rem; }
.dt-footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.dt-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.dt-footer .dt-logo-icon { background: rgba(255,255,255,.15); }
.dt-footer .dt-logo-text { color: #fff; }
.dt-footer .dt-logo-text span { color: #93b4e8; }
.dt-footer-brand-text { color: var(--footer-text); font-size: .875rem; line-height: 1.65; margin-top: .75rem; max-width: 270px; }
.dt-footer-heading { color: #93b4e8; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .85rem; }
.dt-footer-links { list-style: none; margin: 0; padding: 0; }
.dt-footer-links li { margin-bottom: .45rem; }
.dt-footer-links a { color: var(--footer-text); font-size: .875rem; transition: color .15s; }
.dt-footer-links a:hover { color: #fff; }
.dt-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--footer-text); font-size: .8125rem; flex-wrap: wrap; gap: .5rem;
}

@media (max-width: 900px) {
  .dt-nav { display: none; }
  .dt-menu-toggle { display: flex; }
  .dt-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (max-width: 580px) {
  .dt-footer-grid { grid-template-columns: 1fr; }
  .dt-header-inner { height: 54px; }
}
