/*
Theme Name:   GeneratePress Child (Auburn Gresham)
Template:     generatepress
Version:      1.0.0
Description:  Auburn Gresham Portal brand styles on GeneratePress
*/

/* ── Brand tokens ─────────────────────────────────────────────────────── */
:root {
  --ag-orange:       #f4894e;
  --ag-orange-light: #ffa66b;
  --ag-orange-dark:  #eb8045;
  --ag-orange-bg:    #fce2d3;  /* nav active bg */
  --ag-orange-text:  #a75200;  /* nav active text */

  --ag-green:        #69a751;
  --ag-green-light:  #b3d2a7;
  --ag-green-pale:   #a1c892;  /* footer text */
  --ag-green-dark:   #42563a;  /* page body bg */
  --ag-green-section:#7bb267;  /* section labels */

  --ag-blue:         #2564b8;  /* links */

  --ag-cream:        #fdf8f1;  /* header & content bg */
  --ag-tan:          #fbeedc;  /* subfooter bg */
  --ag-tan-btn:      #e5c399;  /* search button */
  --ag-border:       #dadada;
  --ag-muted:        #777;
}

/* ── Fonts ────────────────────────────────────────────────────────────── */
body,
.site-header,
.main-navigation,
.entry-title,
.widget-title {
  font-family: "Droid Sans", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.entry-title {
  font-family: "Droid Serif", Georgia, "Times New Roman", serif;
}

/* ── Base typography ──────────────────────────────────────────────────── */
body {
  background: var(--ag-green-dark) url(/images/auburngreshamportal/bg.jpg) repeat;
  font-size: 15px;
  line-height: 1.46;
}

a {
  color: var(--ag-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.byline,
.entry-meta,
.post-meta {
  color: var(--ag-muted);
  font-size: 0.85em;
}

/* ── Site container ───────────────────────────────────────────────────── */
.site-content,
.grid-container {
  background: var(--ag-cream);
}

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  background: var(--ag-cream);
  border-bottom: 1px solid var(--ag-border);
}

.site-header .header-image img {
  max-width: 100%;
  height: auto;
}

/* ── Primary navigation (orange bar) ─────────────────────────────────── */
.main-navigation,
.nav-primary {
  background: var(--ag-orange);
  background-image: linear-gradient(to bottom, var(--ag-orange-light), var(--ag-orange-dark));
}

.main-navigation a,
.nav-primary a {
  color: #000;
  font-size: 17px;
  padding: 8px 11px;
  text-shadow: rgba(255,255,255,0.5) 1px 1px 0;
}

.main-navigation a:hover,
.nav-primary a:hover,
.main-navigation .current-menu-item > a,
.nav-primary .current-menu-item > a,
.main-navigation .current_page_item > a,
.nav-primary .current_page_item > a {
  background: var(--ag-orange-bg);
  color: var(--ag-orange-text);
  text-decoration: none;
}

/* ── Content area ─────────────────────────────────────────────────────── */
.content-area,
.entry-content {
  background: #fff;
}

/* ── Widget / sidebar panels ──────────────────────────────────────────── */
.widget-title,
.sidebar .widget-title {
  border-top: 2px solid var(--ag-green-light);
  color: var(--ag-green);
  font-size: 14px;
  font-family: "Droid Sans", Arial, sans-serif;
  letter-spacing: 0.1em;
  padding-top: 10px;
  text-transform: uppercase;
}

.widget {
  font-size: 14px;
  margin-bottom: 20px;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ag-green-dark);
  font-size: 13px;
  padding: 0.75em 0 1em;
}

.site-footer,
.site-footer a {
  color: var(--ag-green-pale);
}

.site-footer a {
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Calendar event date badge ─────────────────────────────────────────── */
.tribe-events-calendar .tribe-event-date-start,
.tribe-events .tribe-event-schedule-details {
  color: var(--ag-muted);
  font-size: 0.85em;
}

.tribe-events-single .tribe-events-schedule {
  color: var(--ag-muted);
}

/* Tribe Events: date badge on list views */
.tribe-events .tribe-events-calendar thead th,
.tribe-events .tribe-event-featured-image + .tribe-events-loop {
  background: var(--ag-cream);
}

/* ── GeoDirectory listings ────────────────────────────────────────────── */
.geodir-category-list-view .geodir-post-title a,
.geodir-listing-title a {
  color: var(--ag-blue);
}

/* ── Section labels (green uppercase) ────────────────────────────────── */
.section-label,
.cat-links,
.entry-categories {
  color: var(--ag-green-section);
  font-size: 13px;
  font-weight: normal;
  text-transform: uppercase;
}

/* ── Utility ──────────────────────────────────────────────────────────── */
hr {
  background: #ddd;
  border: 0;
  clear: both;
  height: 1px;
  margin: 1.5em 0;
}

fieldset {
  border: 1px solid #ddd;
  margin-bottom: 2em;
  padding: 1em 1.5em;
}
