/* =========================================================================
   wlcampbell.com — faithful reproduction of the live design,
   with responsive modern code (no jQuery, no IE7.css, no fixed wrapper).
   Original colors: sidebar #343434, sidebar text #cecece, rust accents.
   ========================================================================= */

:root {
  --color-page-bg: #f3e6cf;
  --color-content-bg: #ffffff;
  --color-sidebar: #343434;
  --color-sidebar-text: #cecece;
  --color-sidebar-heading: #e77927;
  --color-rust: #e77927;
  --color-rust-bright: #e77927;
  --color-rust-deep: #b85d18;
  --color-text: #444444;
  --color-text-strong: #222;
  --color-rule: #e6dfd0;

  --font-serif: "Cormorant Garamond", "Droid Serif", Georgia, "Times New Roman", serif;
  --font-droid: "Droid Serif", Georgia, "Times New Roman", serif;
  --font-body: "Open Sans", "Droid Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote, pre, address {
  margin: 0; padding: 0;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
button, input, select, textarea {
  font: inherit; color: inherit; background: transparent; border: 0;
}
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* Base */
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-text);
  background:
    linear-gradient(90deg, rgba(220, 110, 50, 0.18) 0%, rgba(220, 110, 50, 0) 6%, rgba(220, 110, 50, 0) 94%, rgba(220, 110, 50, 0.18) 100%),
    var(--color-page-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page container */

.container {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
}

.layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--color-content-bg);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.06);
  min-height: 600px;
}

/* ---------- Sidebar ---------- */

.sidebar {
  background: var(--color-sidebar);
  color: var(--color-sidebar-text);
  padding: 28px 24px 32px;
  font-family: var(--font-body);
}

.sidebar__logo {
  display: block;
  margin-bottom: 24px;
  text-align: center;
}

.sidebar__logo img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.sidebar__toggle {
  display: none;
  width: 100%;
  padding: 10px 0;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 2px;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.sidebar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
}

/* Sidebar nav */

.sidebar__nav { margin-bottom: 24px; }

.sidebar__nav-list {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar__nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar__nav-link,
.sidebar__nav-link--label {
  display: block;
  padding: 9px 4px;
  color: #e7e7e7;
  font-size: 13px;
  font-weight: 400;
  font-family: var(--font-droid);
  letter-spacing: 0.01em;
  transition: color 150ms ease;
  cursor: pointer;
}

.sidebar__nav-link--label { cursor: default; color: #e7e7e7; }

.sidebar__nav-link:hover,
.sidebar__nav-link:focus-visible,
.sidebar__nav-link.is-active,
.sidebar__nav-item.is-active > .sidebar__nav-link {
  color: var(--color-rust-bright);
}

.sidebar__sub-list {
  padding-left: 12px;
  padding-bottom: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  margin-top: 0;
}

.sidebar__sub-link {
  display: block;
  padding: 6px 4px;
  color: #b8b8b8;
  font-size: 12px;
  font-family: var(--font-droid);
  transition: color 150ms ease;
}

.sidebar__sub-link:hover,
.sidebar__sub-link:focus-visible,
.sidebar__sub-link.is-active {
  color: var(--color-rust-bright);
}

/* Sidebar contact widget */

.sidebar__contact h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 600;
  color: var(--color-sidebar-heading);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar__contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar__contact-item {
  position: relative;
  padding-left: 22px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-sidebar-text);
}

.sidebar__contact-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  opacity: 0.7;
}

.sidebar__contact-item--home::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 3l9 8h-3v9h-4v-6h-4v6H6v-9H3z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 3l9 8h-3v9h-4v-6h-4v6H6v-9H3z'/></svg>");
}

.sidebar__contact-item--phone::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M6.6 10.8a15 15 0 006.6 6.6l2.2-2.2a1 1 0 011-.2c1.1.4 2.3.6 3.6.6a1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.6a1 1 0 011 1c0 1.3.2 2.5.6 3.6a1 1 0 01-.3 1z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M6.6 10.8a15 15 0 006.6 6.6l2.2-2.2a1 1 0 011-.2c1.1.4 2.3.6 3.6.6a1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.6a1 1 0 011 1c0 1.3.2 2.5.6 3.6a1 1 0 01-.3 1z'/></svg>");
}

.sidebar__contact-item--fax::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M19 8h-1V3H8v5H7a3 3 0 00-3 3v6h3v3h10v-3h3v-6a3 3 0 00-3-3zm-9-3h6v3h-6V5zm6 14H8v-4h8v4zm3-7a1 1 0 110-2 1 1 0 010 2z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M19 8h-1V3H8v5H7a3 3 0 00-3 3v6h3v3h10v-3h3v-6a3 3 0 00-3-3zm-9-3h6v3h-6V5zm6 14H8v-4h8v4zm3-7a1 1 0 110-2 1 1 0 010 2z'/></svg>");
}

.sidebar__contact-item--mail::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4l-8 5-8-5V6l8 5 8-5z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 4l-8 5-8-5V6l8 5 8-5z'/></svg>");
}

.sidebar__contact-item--map::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a7 7 0 00-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 00-7-7zm0 9.5a2.5 2.5 0 110-5 2.5 2.5 0 010 5z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a7 7 0 00-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 00-7-7zm0 9.5a2.5 2.5 0 110-5 2.5 2.5 0 010 5z'/></svg>");
}

.sidebar__contact-item a {
  color: var(--color-sidebar-text);
  border-bottom: 1px dotted rgba(206, 206, 206, 0.4);
}

.sidebar__contact-item a:hover { color: var(--color-rust-bright); border-bottom-color: var(--color-rust-bright); }

/* ---------- Content area ---------- */

.content {
  background: var(--color-content-bg);
  padding: 0 30px 30px;
}

.hero {
  margin: 0 -30px 24px;
  background: #1a1a1a;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.entry { padding-top: 6px; }

.entry__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 600;
  color: var(--color-rust);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-rule);
}

/* ---------- Prose ---------- */

.prose {
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-text);
}

.prose p { margin: 0 0 1em; }

.prose a {
  color: var(--color-rust-deep);
  border-bottom: 1px dotted rgba(138, 47, 24, 0.5);
  transition: color 150ms ease;
}

.prose a:hover { color: var(--color-rust); border-bottom-color: var(--color-rust); }

.prose ul {
  margin: 0 0 1em 1.4em;
}

.prose ul li {
  list-style: disc;
  margin-bottom: 0.3em;
}

.prose strong { color: var(--color-text-strong); font-weight: 700; }

.prose em { font-style: italic; }

/* WP-style image alignment classes (preserved from original markup) */

.prose img { max-width: 100%; height: auto; }

.prose .alignright {
  float: right;
  margin: 4px 0 12px 18px;
  max-width: 50%;
}

.prose .alignleft {
  float: left;
  margin: 4px 18px 12px 0;
  max-width: 50%;
}

.prose .aligncenter {
  display: block;
  margin: 18px auto;
  max-width: 100%;
}

.prose p[style*="text-align: center"] {
  text-align: center;
}

.prose p[style*="text-align: justify"] {
  text-align: justify;
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  font-family: var(--font-droid);
  font-size: 12px;
  color: #888;
  padding: 4px 0 6px;
  border-bottom: 1px solid var(--color-rule);
  margin: 0 0 14px;
}

.breadcrumb a {
  color: var(--color-rust-deep);
  border-bottom: 1px dotted rgba(184, 93, 24, 0.4);
}

.breadcrumb a:hover { color: var(--color-rust); border-bottom-color: var(--color-rust); }

/* ---------- Contact page ---------- */

.contact-map {
  margin: 14px 0 0;
  background: #eee;
  line-height: 0;
}

.contact-map iframe { display: block; width: 100%; height: 400px; border: 0; }

.bold-line {
  height: 3px;
  background: var(--color-rust);
  margin: 18px 0;
  width: 100%;
}

.contact-details h5 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
  color: var(--color-rust);
  margin: 0 0 10px;
}

.contact-details strong { display: block; margin-bottom: 6px; color: var(--color-text-strong); }

.contact-details p { margin: 0 0 0.6em; }

.contact-details a {
  color: var(--color-rust-deep);
  border-bottom: 1px dotted rgba(184, 93, 24, 0.4);
}

.contact-details a:hover { color: var(--color-rust); }

/* ---------- Footer ---------- */

.site-footer {
  padding: 18px 30px;
  text-align: center;
}

.site-footer .copyright {
  font-family: var(--font-droid);
  font-style: italic;
  font-size: 12px;
  color: #6e6e6e;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  body { font-size: 14px; }

  .container {
    margin: 0 auto;
    padding: 0;
  }

  .layout {
    grid-template-columns: 1fr;
    box-shadow: none;
  }

  .sidebar {
    padding: 20px 24px 16px;
  }

  .sidebar__toggle {
    display: flex;
  }

  .sidebar__menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 250ms ease;
  }

  .sidebar__menu.is-open {
    max-height: 1500px;
  }

  .content {
    padding: 0 18px 24px;
  }

  .hero {
    margin: 0 -18px 18px;
  }

  .prose .alignright,
  .prose .alignleft {
    float: none;
    display: block;
    margin: 12px auto;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .sidebar__logo-line2 { font-size: 1.4rem; }
  .sidebar__logo .accent { font-size: 1.85rem; }
}
