/* =========================
   THEME VARIABLES
========================= */
:root {
  --bg: #f6f7f9;
  --panel: #f7f7f9;
  --muted: #9ca3af;
  --accent: #b59a69;
  --accent-dark: #957a49;
  --text: #333;
  --max-width: 1200px;
  --base-font: 16px;

  --scroll-btn-bg: var(--accent);
  --scroll-btn-color: #000;
}

html.dark-mode {
  --bg: #0d0d0f;
  --panel: #1b1b1f;
  --muted: #9ca3af;
  --accent: #f9b234;
  --accent-dark: #DAA520;
  --text: #b59a69;

  --scroll-btn-bg: var(--accent);
  --scroll-btn-color: #000;
}

/* =========================
   BASE
========================= */
html {
  font-size: var(--base-font);
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h3 { color: var(--accent); }

.hidden {
  display: none !important;
  visibility: hidden;
}

/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: linear-gradient(#121213cc, #0f0f10cc);
  backdrop-filter: blur(4px);
  border-bottom: 3px solid var(--accent);
  transition: all 0.3s ease;
}

.site-header .header-inner {
  transition: padding 0.3s ease;
}

.site-header.shrink {
  background: linear-gradient(#0a0a0acc, #000000cc);
  border-bottom-width: 2px;
}

.site-header.shrink .header-inner {
  padding: 0.4rem 1rem;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem;
  gap: 1rem;
}

.brand-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .7rem;
}
.brand-icon {
  font-size: 1.6rem;
  color: var(--accent);
  display: none;
}
.brand {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .8px;
  font-size: 1.05rem;
}

.top-nav {
  display: flex;
  gap: .9rem;
  align-items: center;
}
.top-nav a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: .95rem;
  opacity: .95;
  padding: .35rem .5rem;
  border-radius: 6px;
}
.top-nav a:hover {
  background: rgba(249,178,52,0.08);
  color: var(--accent);
}

.controls {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.header-controls {
  margin-left: 10px;
}
.gear-btn {
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  padding: .35rem .5rem;
  border-radius: 8px;
  font-size: 1.05rem;
  transition: transform .35s, color .35s;
}
.gear-btn:hover {
  transform: rotate(15deg);
  color: var(--accent);
}
/* Brand stacked on mobile */
.brand {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.8px;
  font-size: 1.05rem;
  display: flex;
  gap: 0.2rem;
}
.brand-line {
  display: inline;
}
@media (max-width: 600px) {
  .brand {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1rem;
    line-height: 1.1;
  }
  .brand-line {
    display: block;
  }
}

/* Mobile search toggle */
@media (max-width: 768px) {
  #mobileSearchContainer {
    position: relative;
    width: auto;
  }

  #mobileSearchContainer input {
    display: none; /* hidden by default */
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--accent);
    z-index: 10;
  }

  #mobileSearchContainer.active input {
    display: block; /* shown when active */
  }

  #mobileSearchContainer button {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 11;
  }
}

/* =========================
   SEARCH BAR
========================= */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(40, 40, 40, 0.4);
  border-radius: 25px;
  padding: 4px 6px;
  margin-left: 15px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.search-container:hover {
  background: rgba(50, 50, 50, 0.6);
}
.search-container:focus-within {
  background: rgba(50, 50, 50, 0.65);
  box-shadow: 0 0 8px 2px rgba(249, 178, 52, 0.5);
}
.search-container input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #f5f5f5;
  font-size: 0.95rem;
  padding: 6px 8px 6px 10px;
}
html.dark-mode .search-container input {
  color: #f5f5f5;
}
.search-container input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}
.search-container button {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 1rem;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.2s ease;
}
.search-container button:hover {
  color: var(--accent-dark);
  transform: scale(1.1);
}
.search-container .search-icon { pointer-events: none; }
@keyframes spinIcon {
  to { transform: rotate(360deg); }
}
.search-container .search-icon.spinning {
  animation: spinIcon 1s linear infinite;
}

/* =========================
   DIVIDERS
========================= */
.accent-divider-top,
.accent-divider-bottom {
  border: none;
  border-top: 3px solid var(--accent);
  margin: 0;
}
.accent-divider-top {
  border-bottom: 3px solid var(--accent);
  border-top: none;
}
/* --- MOBILE SEARCH BEHAVIOUR --- */
@media (max-width: 768px) {
  .search-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 42px; /* collapsed width */
  }

  .search-container.active {
    width: 100%; /* expands inline */
    background: rgba(40, 40, 40, 0.4);
  }

  .search-container input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #f5f5f5;
    font-size: 0.95rem;
    padding: 6px 8px;
    display: none; /* hidden until expanded */
  }

  .search-container.active input {
    display: block;
  }

  .search-container button {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.2rem;
    cursor: pointer;
    flex-shrink: 0;
    padding: 6px;
  }
}
/* =========================
   SETTINGS PANEL
========================= */
.settings-panel {
  position: fixed;
  right: -360px;
  top: 64px;
  background: var(--panel);
  border-radius: 10px;
  padding: 1rem;
  width: 320px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  z-index: 1400;
  border: 1px solid rgba(255,255,255,0.03);
  transition: right .35s ease;
}
.settings-panel.open { right: 1rem; }

.settings-close { text-align: right; }
.settings-close button {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 1.25rem;
  cursor: pointer;
}

.settings-block { margin-top: .5rem; }
.settings-block-lg { margin-top: 1rem; }
.settings-label {
  display: block;
  margin-bottom: .4rem;
  color: var(--muted);
  font-size: .9rem;
}
.font-control-group {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.font-size-display {
  min-width: 40px;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}
.settings-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.04);
  margin: 1rem 0;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.btn {
  display: inline-block;
  padding: .4rem .7rem;
  border-radius: 6px;
  background: var(--accent);
  color: #000;
  text-decoration: none;
  font-size: .9rem;
}
.btn:hover { background: var(--accent-dark); }
.font-adjust { cursor: pointer; }

/* Theme toggle */
.theme-toggle {
  position: relative;
  width: 60px;
  height: 30px;
  background: #ccc;
  border-radius: 15px;
  border: 1px solid transparent;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  transition: left .3s ease;
}
html.dark-mode .theme-toggle { background: #999; }
html.dark-mode .toggle-knob {
  left: 33px;
  background: #ddd;
}
.sun-icon, .moon-icon {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  transition: opacity .3s ease;
}
html:not(.dark-mode) .sun-icon { opacity: 0; }
html:not(.dark-mode) .moon-icon { opacity: 1; }
html.dark-mode .sun-icon { opacity: 1; color: #ddd; }
html.dark-mode .moon-icon { opacity: 0; color: #ddd; }
.search-results-panel {
  margin-top: 6px; /* small gap below the search bar */
}
/* =========================
   HERO
========================= */
.hero {
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-card {
  background: rgba(0,0,0,0.44);
  padding: 1.3rem;
  border-radius: 10px;
  max-width: 920px;
}
.hero-card h1 {
  color: var(--accent);
  margin: .1rem 0 .45rem;
  font-size: 1.8rem;
}
.hero-card p {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
}

/* =========================
   PARALLAX
========================= */
.parallax {
  position: relative;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.6rem 0;
  overflow: hidden;
}
.parallax .overlay {
  position: absolute;
  inset: 0;
  background: rgba(3,3,3,0.55);
}
.parallax h2 {
  position: relative;
  z-index: 2;
  color: var(--accent);
  font-size: 1.6rem;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: rgba(0,0,0,0.45);
  transform: translateY(12px);
  opacity: 0;
  transition: all .8s ease;
}
.parallax.visible h2 {
  transform: none;
  opacity: 1;
}

/* =========================
   GRID & CARDS
========================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem;
}
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.card {
  background: var(--panel);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
  opacity: 0;
  transform: translateY(20px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.card.visible {
  opacity: 1;
  transform: none;
}

/* Light mode hover: strong dark shadow */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

/* Dark mode base + gold glow */
html.dark-mode .card {
  box-shadow: 0 2px 6px rgba(249,178,52,0.15);
}
html.dark-mode .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(249,178,52,0.35);
}

/* Card image zoom on hover */
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.card:hover img {
  transform: scale(1.08);
}

.meta {
  padding: .9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.meta h3 {
  margin: 0;
  color: var(--accent);
  font-size: 1.02rem;
}
.meta p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
.meta-row {
  display: flex;
  gap: .75rem;
  align-items: center;
  color: var(--muted);
  font-size: .9rem;
}
.meta-author { color: var(--muted); }

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.02);
}
.read-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.read-more {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  gap: .6rem;
  align-items: center;
}
.read-more .arrow {
  transition: transform .18s ease;
  display: inline-block;
}
.read-more:hover .arrow {
  transform: translateX(6px);
}
.card-foot-note {
  font-size: .85rem;
  color: var(--muted);
}

/* =========================
   PAGINATION (if used)
========================= */
.pagination {
  display: flex;
  gap: .5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 1rem 0 3rem;
}
.pagination button {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.03);
  padding: .5rem .7rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.pagination button:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.pagination button.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  font-weight: 700;
}

/* =========================
   LOADER
========================= */
.loader-wrap {
  display: none;
  position: fixed;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  z-index: 2000;
}
.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.12);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.loader-ring {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(249,178,52,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================
   FOOTER
========================= */
footer {
  padding: 1.6rem 1rem;
  color: #9a9a9a;
  text-align: center;
  border-top: 3px solid var(--accent);
  margin-top: 2rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.06));
}
.footer-flex {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-column {
  min-width: 260px;
  text-align: left;
}
.footer-sitemap-links {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  color: var(--muted);
}
.footer-sitemap-link {
  color: inherit;
  text-decoration: none;
}
.footer-copy {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: .95rem;
  text-align: center;
}

/* "You Might Also Like" / related cards */
.footer-article {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--panel);
  border-radius: 8px;
  padding: 0.6rem;
  transition: transform 0.3s ease, box-shadow 0.35s ease;
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.footer-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
}
html.dark-mode .footer-article:hover {
  box-shadow: 0 10px 25px rgba(249,178,52,0.35);
}
.footer-article-img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.footer-article:hover .footer-article-img {
  transform: scale(1.05);
}
.footer-article-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.3;
}

/* =========================
   SEARCH RESULTS PANEL
========================= */
.search-results-panel {
  position: absolute;
  background: rgba(15, 15, 17, 0.98);
  border: 1px solid rgba(249, 178, 52, 0.2);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  padding: 10px;
  color: var(--text);
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  z-index: 9999;
  max-height: 60vh;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.search-results-panel.visible {
  opacity: 1;
  transform: translateY(0);
}
.result-item {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.result-item:hover {
  background: rgba(249, 178, 52, 0.12);
  transform: translateX(3px);
}
.result-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 10px;
}
.result-item div { flex: 1; }
.result-item .title {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}
.result-item .date {
  font-size: 0.8rem;
  color: var(--muted);
}

/* =========================
   SEARCH OVERLAY
========================= */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.search-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* =========================
   SCROLL TO TOP BUTTON
========================= */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--scroll-btn-bg);
  color: var(--scroll-btn-color);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: opacity 0.35s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 3000;
}
#scrollTopBtn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
#scrollTopBtn:hover {
  background: var(--accent-dark);
  transform: scale(1.1);
}
 /* =========================
   NEWSLETTER SIGNUP STYLES
   ========================= */
/* === Newsletter signup styles === */
/* === Newsletter signup styles === */
.newsletter-wrap {
  max-width: 500px;
  margin: 2rem auto;
  text-align: center;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.4s; /* slight stagger for smoother entry */
}

.newsletter-input-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem auto;
  max-width: 500px; /* keeps it tidy on large screens */
}

#newsletterEmail {
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 320px;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-size: 1rem;
  background: var(--panel);
  color: var(--text);
  outline: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
#newsletterEmail {
  height: 42px;               /* ✅ fixes the tall box */
  line-height: 42px;          /* keeps text vertically centered */
  resize: none;               /* prevents resizing on iOS */
  -webkit-appearance: none;   /* normalizes across iOS */
  font-size: 16px;            /* avoids Safari zooming */
}

#newsletterEmail:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.2);
}

#sendEmailBtn {
  flex: 0 0 auto;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

#sendEmailBtn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

#ajaxRimage {
  width: 28px;
  height: 28px;
}

.newsletter-message {
  margin-top: 0.6rem;
  color: var(--accent);
  font-weight: 500;
  text-align: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Fade out animation */
.newsletter-message.fade-out {
  opacity: 0;
}


@media (max-width: 480px) {
  .header-inner {
    padding: 0.6rem 0.6rem;
    justify-content: space-between;
  }

  .gear-btn {
    flex-shrink: 0;
    font-size: 1.2rem;
    margin-right: 0;
  }

  .controls {
    gap: 0.3rem;
  }

  .search-container {
    flex-grow: 1;
    min-width: 0;
  }
}

/* Responsive layout for mobile */
@media (max-width: 480px) {
  .newsletter-input-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  #sendEmailBtn {
    width: auto;          /* ✅ prevents full width */
    align-self: center;   /* ✅ centers the button */
    margin-top: 0.5rem;
  }
}

/* === Fade-in / Slide-up animation === */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ==========================================================
   MOBILE SEARCH DRAWER
   ========================================================== */
#mobileSearchDrawer {
  position: fixed;
  inset: 0;
  background: var(--panel);
  z-index: 3000;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 10px);
}

#mobileSearchDrawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

#closeSearchDrawer {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.4rem;
  cursor: pointer;
}

#drawerSearchInput {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  padding: 6px;
}

.drawer-results {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

@media (min-width: 769px) {
  #mobileSearchDrawer {
    display: none;
  }
}








/* =========================
   RESPONSIVE
========================= */
@media (min-width:720px){
  .grid { grid-template-columns: repeat(2,1fr); }
  .card img { height: 220px; }
}
@media (min-width:1200px){
  .grid { grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
  .hero-card h1 { font-size: 2.4rem; }
}
@media (max-width:767px){
  .top-nav { display: none; }
  .settings-panel {
    width: 90%;
    right: -110%;
    top: 64px;
  }
  .settings-panel.open { right: 5%; }
  .brand { font-size: 1rem; }
  .hero {
    min-height: 220px;
    background-attachment: scroll;
  }
}

/* =========================
   ARTICLE IMAGE HELPERS
========================= */
.imagewrapper img {
  max-width: 100%;
  height: auto;
  width: auto;
}
.textwrap {
  float: left;
  margin: 10px;
}
img.left {
  display: block;
  max-width: 100%;
  height: auto !important;
  width: auto\9; /* IE8-9 */
  -ms-interpolation-mode: bicubic;
}
