/* Jardines y Piscinas - 2009 WordPress Blog Style */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Georgia, "Times New Roman", serif;
  color: #333;
  background: #e8eef4;
  line-height: 1.6;
  font-size: 14px;
}

a { color: #2a6496; text-decoration: none; }
a:hover { color: #1a4a70; text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* === HEADER === */
.site-header {
  background: #fff;
  border-bottom: 3px solid #2a6496;
  padding: 0;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px 18px;
  text-align: center;
}

.site-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 1px;
}

.site-title a { color: #2a6496; text-decoration: none; }
.site-title a:hover { text-decoration: none; color: #1a4a70; }

.site-subtitle {
  font-family: Georgia, serif;
  font-size: 0.9rem;
  color: #6a8baa;
  margin-top: 4px;
  font-style: italic;
}

/* === NAV === */
.main-nav {
  background: #2a6496;
  border-bottom: 1px solid #1e4f7a;
}

.nav-toggle { display: none; }

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}

.nav-list li a {
  display: block;
  color: #fff;
  padding: 9px 18px;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  transition: background .2s;
}

.nav-list li a:hover,
.nav-list li a.active {
  background: #1e4f7a;
  text-decoration: none;
}

/* === LAYOUT WRAPPER === */
.page-wrapper {
  max-width: 960px;
  margin: 20px auto;
  padding: 0 20px;
  display: flex;
  gap: 24px;
}

/* === MAIN CONTENT (left column) === */
.content-main {
  flex: 1;
  min-width: 0;
}

/* === SIDEBAR (right column) === */
.sidebar {
  width: 260px;
  flex-shrink: 0;
}

.sidebar-widget {
  background: #fff;
  border: 1px solid #c8d5e0;
  border-radius: 4px;
  margin-bottom: 18px;
}

.sidebar-widget h3 {
  background: #2a6496;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: bold;
  padding: 8px 12px;
  margin: 0;
  border-radius: 4px 4px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-widget ul li {
  border-bottom: 1px solid #eaeef2;
}

.sidebar-widget ul li:last-child {
  border-bottom: none;
}

.sidebar-widget ul li a {
  display: block;
  padding: 7px 12px;
  font-size: 13px;
  color: #2a6496;
  font-family: Arial, Helvetica, sans-serif;
}

.sidebar-widget ul li a:hover {
  background: #f0f5fa;
  text-decoration: none;
}

.sidebar-widget .widget-text {
  padding: 10px 12px;
  font-size: 13px;
  color: #555;
  font-family: Arial, Helvetica, sans-serif;
}

.sidebar-widget .widget-text a {
  color: #d48a29;
  font-weight: bold;
}

/* === BLOG POST CARD (homepage) === */
.post-card {
  background: #fff;
  border: 1px solid #c8d5e0;
  border-radius: 4px;
  margin-bottom: 24px;
  overflow: hidden;
}

.post-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.post-card-body {
  padding: 18px 20px;
}

.post-card-date {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.post-card-date .day {
  font-size: 2.2rem;
  font-weight: bold;
  color: #2a6496;
  line-height: 1;
  font-family: Georgia, serif;
}

.post-card-date .month-year {
  font-size: 12px;
  color: #888;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

.post-card h2 {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.post-card h2 a {
  color: #2a6496;
}

.post-card h2 a:hover {
  color: #1a4a70;
  text-decoration: underline;
}

.post-card .post-meta {
  font-size: 12px;
  color: #888;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
}

.post-card .post-meta a { color: #2a6496; }

.post-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.post-card .read-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  color: #2a6496;
  font-weight: bold;
}

.post-card .read-more:hover { text-decoration: underline; }

/* === SINGLE ARTICLE === */
.article {
  background: #fff;
  border: 1px solid #c8d5e0;
  border-radius: 4px;
  padding: 28px 30px;
}

.article h1 {
  font-family: Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #2a6496;
}

.article .meta {
  font-size: 12px;
  color: #888;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #dde4eb;
  font-family: Arial, Helvetica, sans-serif;
}

.article h2 {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  margin: 24px 0 10px;
  color: #2a6496;
}

.article p { margin-bottom: 14px; color: #444; }

.article ul, .article ol {
  margin: 0 0 14px 24px;
  color: #444;
}

.article li { margin-bottom: 5px; }

.article .post-image {
  margin: 0 0 18px;
  border-radius: 3px;
}

.breadcrumb {
  font-size: 12px;
  margin-bottom: 14px;
  color: #888;
  font-family: Arial, Helvetica, sans-serif;
}

.breadcrumb a { color: #2a6496; }
.breadcrumb span { margin: 0 5px; }

/* === CATEGORY HEADER === */
.category-header {
  background: #fff;
  border: 1px solid #c8d5e0;
  border-left: 4px solid #2a6496;
  padding: 18px 22px;
  margin-bottom: 20px;
  border-radius: 0 4px 4px 0;
}

.category-header h1 {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  color: #2a6496;
}

.category-header p {
  margin-top: 5px;
  color: #666;
  font-size: 13px;
}

/* === FOOTER === */
.site-footer {
  background: #2a6496;
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: 20px;
  font-size: 12px;
  margin-top: 30px;
  font-family: Arial, Helvetica, sans-serif;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header-inner { padding: 16px; }
  .site-title { font-size: 1.8rem; }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px 16px;
    width: 100%;
    text-align: right;
  }

  .nav-list {
    display: none;
    flex-direction: column;
  }

  .nav-list.open { display: flex; }

  .nav-list li a {
    padding: 11px 20px;
    border-top: 1px solid rgba(255,255,255,.15);
  }

  .page-wrapper {
    flex-direction: column;
    padding: 0 12px;
  }

  .sidebar {
    width: 100%;
  }

  .article {
    padding: 20px 16px;
  }

  .article h1 { font-size: 1.3rem; }

  .post-card-image {
    height: 180px;
  }
}
