/*
Theme Name: Purenote Child
Theme URI: https://preview.mysterythemes.com/purenote-demos/
Description: Official Child Theme for Purenote Magazine, adding full editorial single post article layout, rich typography, callouts, comparison tables, floating social share, and curated sidebar widgets based on Stitch design.
Author: Development Team
Author URI: https://mysterythemes.com/
Template: purenote
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: purenote-child
*/

:root {
  --brand-wine: #7F304F;
  --brand-wine-dark: #67243E;
  --brand-wine-light: #F3E9ED;
  --brand-accent: #8A3655;
  --brand-dark: #1A1A1A;
  --brand-muted: #666666;
  --brand-bg-ivory: #FAF9F8;
  --brand-card-bg: #FFFFFF;
  --brand-border: #ECE8E5;
}

/* ==========================================================================
   Purenote Child Theme - Highlights & Features Columns (Media, Lifestyle, Top Stories)
   ========================================================================== */

.section-highlights .feature-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 240px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.section-highlights .feature-card-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.section-highlights .feature-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.section-highlights .feature-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-highlights .feature-card:hover .feature-placeholder {
  transform: scale(1.05);
}

.section-highlights .feature-img-wrap .category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff !important;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.section-highlights .feature-card:hover .category-badge {
  transform: translateY(-1px);
}

.section-highlights .feature-caption-meta {
  font-size: 11px;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  color: #f1f5f9;
}

.section-highlights .feature-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.65);
}

.section-highlights .feature-card-title a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.section-highlights .feature-card-title a:hover {
  color: #fbcfe8 !important;
}

/* Column 3: More Top Stories Widget */
.section-highlights .highlights-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 240px;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.section-highlights .highlights-header {
  margin-bottom: 12px;
}

.section-highlights .highlights-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-highlights .highlights-title .star-icon {
  color: #f59e0b;
  font-size: 14px;
}

.section-highlights .highlights-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex: 1;
}

.section-highlights .highlight-item {
  position: relative;
  height: 165px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1e293b;
}

.section-highlights .highlight-item-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none !important;
  color: inherit;
}

.section-highlights .highlight-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.section-highlights .highlight-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.section-highlights .highlight-item:hover .highlight-item-img {
  transform: scale(1.08);
}

.section-highlights .highlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.25) 35%, rgba(0,0,0,0.88) 100%);
  z-index: 2;
  pointer-events: none;
  transition: background 0.3s ease;
}

.section-highlights .highlight-item:hover .highlight-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.3) 35%, rgba(0,0,0,0.92) 100%);
}

.section-highlights .highlight-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  font-size: 10px;
  font-weight: 700;
  padding: 2.5px 7px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.section-highlights .highlight-caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 3;
  color: #ffffff;
}

.section-highlights .highlight-views-pill {
  font-size: 10px;
  font-weight: 600;
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 2px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

.section-highlights .highlight-post-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff !important;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

/* ==========================================================================
   Main Navigation: Hide Menu Item Description
   ========================================================================== */
#site-navigation .menu-item-description,
.main-navigation .menu-item-description {
  display: none !important;
}
