/*
Theme Name: Skin Week
Description: Tema editorial de beleza e skincare
Author: Skin Week
Template: astra
Version: 1.0
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #fff;
  color: #111;
  font-size: 15px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
.sw-header {
  border-bottom: 2px solid #111;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
}

.sw-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.sw-logo {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #111;
  text-transform: uppercase;
  line-height: 1;
}

.sw-header-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.sw-header-icons a {
  color: #111;
  font-size: 18px;
}

.sw-nav-wrap {
  border-top: 1px solid #e5e5e5;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sw-nav {
  display: flex;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.sw-nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #111;
  padding: 10px 16px;
  white-space: nowrap;
  display: block;
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s;
}

.sw-nav a:hover,
.sw-nav a.current-menu-item {
  border-bottom-color: #111;
}

/* ===== LAYOUT ===== */
.sw-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.sw-content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 32px 0;
}

/* ===== FEATURED CARDS ===== */
.sw-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.sw-card-big {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 380px;
}

.sw-card-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-card-big .sw-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 70%);
  padding: 32px 24px 24px;
}

.sw-card-small {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 220px;
}

.sw-card-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sw-card-small:hover img {
  transform: scale(1.03);
}

.sw-card-small .sw-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 65%);
  padding: 20px 16px 16px;
}

.sw-card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e74c3c;
  margin-bottom: 6px;
  display: block;
}

.sw-card-title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}

.sw-card-small .sw-card-title {
  font-size: 15px;
}

.sw-card-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

/* ===== LIST POSTS ===== */
.sw-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  border-bottom: 2px solid #111;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.sw-post-list { display: flex; flex-direction: column; }

.sw-post-list-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 0.5px solid #e5e5e5;
  align-items: start;
}

.sw-post-list-item:last-child { border-bottom: none; }

.sw-post-thumb {
  width: 90px;
  height: 68px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.sw-post-list-cat {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #e74c3c;
  margin-bottom: 4px;
}

.sw-post-list-title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

.sw-post-list-title:hover { text-decoration: underline; }

.sw-post-list-meta {
  font-size: 10px;
  color: #888;
  margin-top: 4px;
}

/* ===== SIDEBAR ===== */
.sw-sidebar { display: flex; flex-direction: column; gap: 28px; }

.sw-sidebar-newsletter {
  background: #111;
  color: #fff;
  padding: 24px;
  border-radius: 4px;
  text-align: center;
}

.sw-sidebar-newsletter h4 {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sw-sidebar-newsletter p {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 16px;
  line-height: 1.4;
}

.sw-newsletter-form input {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 3px;
  font-size: 13px;
  margin-bottom: 8px;
  background: #fff;
  color: #111;
}

.sw-newsletter-form button {
  width: 100%;
  padding: 10px;
  background: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.sw-newsletter-form button:hover { background: #c0392b; }

.sw-sidebar-widget { }

.sw-sidebar-banner {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 16px;
  text-align: center;
}

.sw-banner-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 10px;
}

.sw-banner-cta {
  display: block;
  width: 100%;
  padding: 10px;
  background: #111;
  color: #fff;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 12px;
  transition: background 0.2s;
}

.sw-banner-cta:hover { background: #e74c3c; color: #fff; }

/* ===== ARTICLE PAGE ===== */
.sw-article-header { margin-bottom: 24px; }

.sw-article-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e74c3c;
  margin-bottom: 10px;
  display: block;
}

.sw-article-title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sw-article-meta {
  font-size: 12px;
  color: #888;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}

.sw-article-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 24px;
}

.sw-article-body {
  font-size: 16px;
  line-height: 1.9;
  color: #222;
  margin-bottom: 20px;
}

.sw-article-body h2 {
  font-size: 18px;
  font-weight: 900;
  color: #e74c3c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 28px 0 12px;
}

.sw-article-body p { margin-bottom: 16px; }

/* ===== SKIN WEEK INDICA ===== */
.sw-indica {
  border-top: 2px solid #111;
  border-bottom: 2px solid #111;
  padding: 24px 0;
  margin: 32px 0;
}

.sw-indica-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  color: #111;
  margin-bottom: 20px;
}

.sw-indica-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sw-indica-card {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.sw-indica-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

.sw-indica-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.sw-indica-info { padding: 12px; }

.sw-indica-name {
  font-size: 12px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
  line-height: 1.3;
}

.sw-indica-price {
  font-size: 14px;
  font-weight: 900;
  color: #111;
  margin-bottom: 10px;
}

.sw-indica-btn {
  display: block;
  width: 100%;
  padding: 8px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}

.sw-indica-btn:hover { background: #e74c3c; }

/* ===== FOOTER ===== */
.sw-footer {
  border-top: 2px solid #111;
  margin-top: 48px;
  padding: 48px 0 24px;
  background: #fff;
}

.sw-footer-logo {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  text-transform: uppercase;
  text-align: center;
  color: #111;
  margin-bottom: 24px;
}

.sw-footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.sw-footer-nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111;
}

.sw-footer-copy {
  text-align: center;
  font-size: 11px;
  color: #aaa;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .sw-header-top { padding: 12px 16px 8px; }
  .sw-nav { padding: 0 16px; }
  .sw-container { padding: 0 16px; }
  .sw-content-grid { grid-template-columns: 1fr; }
  .sw-featured { grid-template-columns: 1fr; }
  .sw-card-big { grid-column: 1; height: 260px; }
  .sw-card-small { height: 180px; }
  .sw-article-title { font-size: 24px; }
  .sw-indica-grid { grid-template-columns: 1fr 1fr; }
  .sw-footer-logo { font-size: 32px; }
  .sw-sidebar { display: none; }
}
