/*
Theme Name: هنرستان هنرهای زیبا
Theme URI: https://finearts.ac.ir
Author: Fine Arts Academy
Author URI: https://finearts.ac.ir
Description: قالب حرفه‌ای و تکمیلی برای هنرستان‌های هنرهای زیبا با سیستم کامل مدیریت دوره‌ها، پخش زنده و کلاس‌های آنلاین
Version: 3.2.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: finearts
Tags: rtl, education, sticky-post, custom-menu, featured-images, theme-options, post-formats
*/

/* ========================================
   VARIABLES & RESET
======================================== */
:root {
  --color-primary: #1a365d;
  --color-primary-light: #2b6cb0;
  --color-gold: #d4a843;
  --color-dark: #1a202c;
  --color-dark-surface: #2d3a4f;
  --color-cream: #fdf8f0;
  --color-white: #ffffff;
  --color-body: #f8fafc;
  --color-border: #e5e7eb;
  --color-text: #374151;
  --color-text-muted: #6b7280;
  --font-family: 'Vazirmatn', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

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

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-family);
  direction: rtl;
  background-color: var(--color-body);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all .3s ease; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; }

:root { --wp-admin--admin-bar--height: 0; }

/* ========================================
   LAYOUT & UTILITIES
======================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .875rem 1.75rem; border-radius: var(--radius-md);
  font-weight: 700; font-size: .875rem; cursor: pointer; border: none;
  transition: all .3s ease;
}
.btn-primary { background: linear-gradient(to left, var(--color-gold), #eab308); color: var(--color-dark); }
.btn-primary:hover { box-shadow: 0 10px 40px rgba(212,168,67,.35); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.25); color: white; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--color-gold); }
.btn-danger { background: #dc2626; color: white; }
.btn-danger:hover { background: #b91c1c; }

.section-title { text-align: center; margin-bottom: 3rem; }
.section-title span { display: block; color: var(--color-gold); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .5rem; }
.section-title h2 { font-size: 2.25rem; font-weight: 900; color: var(--color-dark); margin-bottom: 1rem; }
@media (min-width: 640px) { .section-title h2 { font-size: 2.75rem; } }
.section-title h2 .highlight { color: var(--color-primary-light); }
.section-title p { color: var(--color-text-muted); max-width: 42rem; margin: 0.75rem auto 0; font-size: 1rem; line-height: 1.8; }

/* ========================================
   ALIGNMENT CLASSES
======================================== */
.fa-align-right .section-title,
.fa-align-right .about-content h3,
.fa-align-right .about-content p,
.fa-align-right .enrollment-info h2,
.fa-align-right .enrollment-info p { text-align: right !important; }
.fa-align-center .section-title,
.fa-align-center .about-content h3, 
.fa-align-center .about-content p,
.fa-align-center .enrollment-info h2,
.fa-align-center .enrollment-info p { text-align: center !important; }
.fa-align-left .section-title,
.fa-align-left .about-content h3,
.fa-align-left .about-content p,
.fa-align-left .enrollment-info h2,
.fa-align-left .enrollment-info p { text-align: left !important; }

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .7; } }
.animate-fade-in-up { animation: fadeInUp .7s ease-out forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

/* ========================================
   HEADER / NAVIGATION
======================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0;
  transition: all .4s ease; background: rgba(26,32,44,.35); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.site-header.scrolled { background: rgba(26,32,44,.95); padding: .5rem 0; box-shadow: var(--shadow-lg); }

.header-inner { display: flex; align-items: center; justify-content: space-between; }
.site-logo { display: flex; align-items: center; gap: .75rem; }
.site-logo .logo-icon {
  width: 3rem; height: 3rem; background: linear-gradient(to bottom right, var(--color-gold), #ca8a04);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 10px 20px rgba(212,168,67,.3); transition: transform .3s;
}
.site-logo:hover .logo-icon { transform: scale(1.05) rotate(5deg); }
.site-logo .logo-text { display: none; }
@media (min-width: 640px) { .site-logo .logo-text { display: block; } }
.site-logo .logo-text h1 { color: white; font-size: 1.125rem; font-weight: 800; line-height: 1.2; }
.site-logo .logo-text span { color: var(--color-gold); font-size: .625rem; font-weight: 600; }

.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav { display: flex; align-items: center; gap: .25rem; }
  .main-nav a { color: rgba(255,255,255,.85); padding: .5rem 1rem; border-radius: .5rem; font-size: .875rem; font-weight: 600; }
  .main-nav a:hover { color: var(--color-gold); background: rgba(255,255,255,.08); }
  .main-nav .nav-cta { margin-right: .75rem; background: linear-gradient(to left, var(--color-gold), #ca8a04); color: var(--color-dark); padding: .625rem 1.25rem; border-radius: var(--radius-md); font-weight: 700; }
}

.menu-toggle { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; background: rgba(255,255,255,.1); border-radius: .5rem; color: white; cursor: pointer; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); z-index: 998; opacity: 0; visibility: hidden; transition: all .3s ease; }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu { position: fixed; top: 0; right: 0; width: 18rem; max-width: 85vw; height: 100%; background: var(--color-dark); z-index: 999; transform: translateX(100%); transition: transform .4s ease; padding: 1.5rem; overflow-y: auto; }
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.mobile-menu-close { background: none; border: none; color: rgba(255,255,255,.6); font-size: 1.5rem; cursor: pointer; }
.mobile-menu nav a { display: block; color: rgba(255,255,255,.8); padding: .75rem 1rem; border-radius: .75rem; margin-bottom: .25rem; }
.mobile-menu nav a:hover { color: var(--color-gold); background: rgba(255,255,255,.05); }
.mobile-menu .nav-cta { display: block; text-align: center; background: linear-gradient(to left, var(--color-gold), #ca8a04); color: var(--color-dark); padding: .875rem; border-radius: var(--radius-md); font-weight: 700; margin-top: 1rem; }

/* ========================================
   HERO SECTION
======================================== */
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--color-dark); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to left, rgba(26,32,44,.95), rgba(26,32,44,.85), rgba(26,32,44,.6)); }
.hero-overlay-bottom { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-dark), transparent, transparent); }

.hero-content { position: relative; z-index: 10; padding: 8rem 0 5rem; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; background: rgba(212,168,67,.2);
  border: 1px solid rgba(212,168,67,.3); border-radius: 9999px; padding: .5rem 1.25rem; margin-bottom: 1.5rem;
}
.hero-badge .dot { width: .5rem; height: .5rem; background: var(--color-gold); border-radius: 50%; animation: pulse 2s infinite; }
.hero-badge span { color: var(--color-gold); font-size: .875rem; font-weight: 600; }

.hero-title { font-size: 2.5rem; font-weight: 900; color: white; line-height: 1.3; margin-bottom: 1.5rem; text-shadow: 0 2px 4px rgba(0,0,0,.3); }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.25rem; } }
.hero-title .gradient-text { background: linear-gradient(to left, var(--color-gold), #fbbf24); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { color: rgba(255,255,255,.75); font-size: 1rem; line-height: 1.9; margin-bottom: 2.5rem; max-width: 34rem; text-shadow: 0 1px 2px rgba(0,0,0,.2); }
@media (min-width: 640px) { .hero-desc { font-size: 1.125rem; } }

.hero-buttons { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 3.5rem; }
@media (min-width: 480px) { .hero-buttons { flex-direction: row; gap: 1rem; } }
.hero-buttons .btn { padding: 1rem 2rem; font-size: 1rem; }

.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.hero-stat { text-align: center; }
@media (min-width: 1024px) { .hero-stat { text-align: right; } }
.hero-stat .number { color: var(--color-gold); font-size: 1.75rem; font-weight: 900; text-shadow: 0 2px 4px rgba(0,0,0,.3); }
@media (min-width: 640px) { .hero-stat .number { font-size: 2.25rem; } }
.hero-stat .label { color: rgba(255,255,255,.5); font-size: .75rem; margin-top: .25rem; font-weight: 500; }

/* ========================================
   ABOUT SECTION
======================================== */
.about-section { padding: 6rem 0; background: white; }
.about-grid { display: grid; gap: 3rem; align-items: center; margin-bottom: 3rem; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-image { position: relative; }
.about-image img { border-radius: 1.5rem; box-shadow: var(--shadow-xl); width: 100%; height: 24rem; object-fit: cover; }
.about-badge { position: absolute; bottom: -1.5rem; left: 1.5rem; background: linear-gradient(to bottom right, var(--color-gold), #ca8a04); border-radius: var(--radius-lg); padding: 1.25rem 1.75rem; box-shadow: var(--shadow-lg); }
.about-badge .number { font-size: 2rem; font-weight: 900; color: var(--color-dark); line-height: 1; }
.about-badge .text { font-size: .75rem; font-weight: 700; color: rgba(26,32,44,.8); }
.about-content h3 { font-size: 1.75rem; font-weight: 800; color: var(--color-dark); margin-bottom: 1.5rem; }
.about-content h3 .highlight { color: var(--color-gold); }
.about-content p { color: var(--color-text); margin-bottom: 1rem; line-height: 1.9; }
.about-features { display: grid; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .about-features { grid-template-columns: 1fr 1fr; } }
.about-features li { display: flex; align-items: center; gap: .5rem; color: var(--color-text); font-size: .875rem; font-weight: 600; }

.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.feature-card { background: var(--color-cream); border-radius: var(--radius-lg); padding: 1.75rem; transition: all .5s ease; border: 2px solid transparent; }
.feature-card:hover { background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-light)); border-color: rgba(212,168,67,.3); box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.feature-card .icon { font-size: 2.25rem; margin-bottom: .75rem; transition: transform .3s; }
.feature-card:hover .icon { transform: scale(1.15) rotate(3deg); }
.feature-card h4 { font-size: 1.125rem; font-weight: 800; color: var(--color-dark); margin-bottom: .25rem; transition: color .3s; }
.feature-card:hover h4 { color: white; }
.feature-card p { font-size: .875rem; color: var(--color-text-muted); transition: color .3s; }
.feature-card:hover p { color: rgba(255,255,255,.85); }

/* ========================================
   COURSES SECTION
======================================== */
.courses-section { padding: 6rem 0; background: var(--color-cream); position: relative; }
.courses-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(to left, var(--color-gold), #fbbf24, var(--color-gold)); }

.courses-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .courses-grid { grid-template-columns: repeat(3, 1fr); } }

.course-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .5s cubic-bezier(.165,.84,.44,1); border: 1px solid rgba(0,0,0,.04); }
.course-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-.5rem); border-color: rgba(212,168,67,.3); }
.course-image { position: relative; height: 13rem; overflow: hidden; }
.course-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.course-card:hover .course-image img { transform: scale(1.08); }
.course-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,32,44,.65), transparent); }

.course-badge { position: absolute; top: 1rem; right: 1rem; padding: .375rem .875rem; border-radius: 9999px; font-size: .625rem; font-weight: 700; color: white; z-index: 10; }
.course-badge.online { background: rgba(34,197,94,.92); }
.course-badge.offline { background: rgba(43,108,176,.92); }
.course-category { position: absolute; bottom: 1rem; left: 1rem; background: rgba(212,168,67,.92); color: var(--color-dark); padding: .375rem .875rem; border-radius: 9999px; font-size: .625rem; font-weight: 700; z-index: 10; backdrop-filter: blur(4px); }

.course-content { padding: 1.5rem; }
.course-content h3 { font-size: 1.125rem; font-weight: 800; color: var(--color-dark); margin-bottom: .5rem; transition: color .3s; }
.course-content h3 a:hover { color: var(--color-primary-light); }
.course-content p { font-size: .875rem; color: var(--color-text-muted); margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.8; }
.course-meta { display: flex; justify-content: space-between; font-size: .75rem; color: #9ca3af; margin-bottom: 1rem; font-weight: 500; }
.course-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid #f3f4f6; }
.course-price { font-size: 1rem; font-weight: 900; color: var(--color-primary); }
.course-price .currency { font-size: .625rem; font-weight: 500; color: #9ca3af; }

/* ========================================
   GALLERY SECTION
======================================== */
.gallery-section { padding: 6rem 0; background: white; }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 3rem; }
.gallery-filter { padding: .625rem 1.5rem; border-radius: 9999px; font-size: .875rem; font-weight: 700; cursor: pointer; border: none; background: #f3f4f6; color: #4b5563; transition: all .3s; }
.gallery-filter:hover, .gallery-filter.active { background: linear-gradient(to left, var(--color-gold), #eab308); color: var(--color-dark); box-shadow: 0 8px 20px rgba(212,168,67,.25); }

.gallery-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3,1fr); gap: 1.75rem; } }
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); transition: all .4s; border: 3px solid transparent; }
.gallery-item:hover { box-shadow: var(--shadow-xl); border-color: rgba(212,168,67,.5); transform: scale(1.02); }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .7s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,32,44,.95), rgba(26,32,44,.3), transparent); opacity: 0; transition: opacity .4s; }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; transform: translateY(100%); transition: transform .4s; }
.gallery-item:hover .gallery-item-content { transform: translateY(0); }
.gallery-item-content h4 { color: white; font-size: 1.125rem; font-weight: 700; margin-bottom: .25rem; }
.gallery-item-content .artist { color: var(--color-gold); font-size: .875rem; }
.gallery-item-content .category { display: inline-block; background: rgba(255,255,255,.15);backdrop-filter:blur(4px); color: rgba(255,255,255,.75);padding: .25rem .75rem;border-radius: 9999px;font-size: .625rem;margin-top: .5rem; }

/* ========================================
   ENROLLMENT SECTION
======================================== */
.enrollment-section { padding: 6rem 0; background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-light), var(--color-primary)); position: relative; overflow: hidden; }
.enrollment-section::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 30c0-5.5-4.5-10-10-10S10 24.5 10 30s4.5 10 10 10 10-4.5 10-10z' fill='rgba(212,168,67,.05)' fill-rule='evenodd'/%3E%3C/svg%3E"); }

.enrollment-grid { display: grid; gap: 3rem; align-items: center; position: relative; z-index: 10; }
@media (min-width: 1024px) { .enrollment-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.enrollment-info span { color: var(--color-gold); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.enrollment-info h2 { font-size: 2.25rem; font-weight: 900; color: white; margin: .5rem 0 1rem; }
.enrollment-info h2 .highlight { color: var(--color-gold); }
.enrollment-info > p { color: rgba(255,255,255,.75); font-size: 1rem; line-height: 1.9; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item .icon { width: 3rem; height: 3rem; background: rgba(255,255,255,.12); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; backdrop-filter: blur(4px); }
.contact-item h4 { color: white; font-size: .875rem; font-weight: 700; margin-bottom: .25rem; }
.contact-item p { color: rgba(255,255,255,.65); font-size: .875rem; margin: 0; }

.enrollment-form { background: rgba(255,255,255,.12); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-xl); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; color: white; font-size: .875rem; font-weight: 600; margin-bottom: .5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-md); padding: .875rem 1rem; color: white; font-family: inherit; font-size: 1rem; transition: all .3s;
}
@media (max-width: 782px) { .form-group input, .form-group select, .form-group textarea { font-size: 16px; } }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.4); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(212,168,67,.2); background: rgba(255,255,255,.2); }
.form-group select option { color: var(--color-dark); }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.enrollment-form .btn { width: 100%; padding: 1rem; font-size: 1.125rem; margin-top: .5rem; }
.form-success, .form-error { border-radius: var(--radius-md); padding: 1rem; text-align: center; margin-top: 1rem; }
.form-success { background: rgba(34,197,94,.2); border: 1px solid rgba(34,197,94,.3); color: #4ade80; }
.form-error { background: rgba(239,68,68,.2); border: 1px solid rgba(239,68,68,.3); color: #f87171; }

/* ========================================
   FOOTER
======================================== */
.site-footer { background: var(--color-dark); color: white; }
.footer-bar { height: 4px; background: linear-gradient(to left, var(--color-gold), #fbbf24, var(--color-gold)); }
.footer-main { padding: 4rem 0; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.75fr 1fr 1fr 1fr; } }

.footer-brand .logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-brand .logo-icon { width: 3rem; height: 3rem; background: linear-gradient(to bottom right, var(--color-gold), #ca8a04); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; box-shadow: 0 4px 12px rgba(212,168,67,.25); }
.footer-brand .logo h3 { font-size: 1.125rem; font-weight: 700; }
.footer-brand .logo span { color: var(--color-gold); font-size: .625rem; }
.footer-brand p { color: rgba(255,255,255,.5); font-size: .875rem; line-height: 1.9; margin-bottom: 1.25rem; }
.social-links { display: flex; gap: .5rem; }
.social-links a { width: 2.5rem; height: 2.5rem; background: rgba(255,255,255,.1); border-radius: .5rem; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all .3s; }
.social-links a:hover { background: rgba(212,168,67,.2); border-color: var(--color-gold); transform: translateY(-2px); }

.footer-links h4 { color: var(--color-gold); font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }
.footer-links ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .875rem; display: flex; align-items: center; gap: .5rem; }
.footer-links a::before { content: ''; width: 0.375rem; height: 0.375rem; background: rgba(212,168,67,.5); border-radius: 50%; }
.footer-links a:hover { color: var(--color-gold); transform: translateX(-4px); }
.footer-contact li { display: flex; align-items: flex-start; gap: .75rem; color: rgba(255,255,255,.5); font-size: .875rem; margin-bottom: .75rem; }
.footer-contact li span:first-child { color: var(--color-gold); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: right; } }
.footer-bottom p { color: rgba(255,255,255,.4); font-size: .875rem; }
.footer-bottom p:last-child { color: rgba(255,255,255,.3); font-size:.75rem; }

/* ========================================
   WIDGET / CARD / SEARCH / PAGINATION HELPERS
======================================== */
.card { background: white; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.widget-section-title { font-size: 1.125rem; font-weight: 800; color: var(--color-dark); margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 2px solid var(--color-gold); }
.widget-list li { margin-bottom: .75rem; }
.widget-list a { color: var(--color-text); font-size: .875rem; display: flex; align-items: center; gap: .5rem; }
.widget-list a:hover { color: var(--color-gold); }
.widget-list a::before { content: '→'; color: var(--color-gold); font-family: monospace; }

.search-form .search-field { width: 100%; padding: .875rem 1rem; background: #f9fafb; border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--color-text); font-family: inherit; outline: none; transition: border .3s; }
.search-form .search-field:focus { border-color: var(--color-gold); }
.search-form .search-submit { width: 100%; margin-top: .75rem; padding: .875rem; background: var(--color-dark); color: white; border: none; border-radius: var(--radius-md); font-weight: 700; cursor: pointer; transition: background .3s; }
.search-form .search-submit:hover { background: var(--color-primary-light); }

.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; }
.pagination .page-numbers { display: inline-flex;align-items:center; justify-content:center; width: 2.5rem; height: 2.5rem; background: #f9fafb; color: var(--color-text); border: 1px solid var(--color-border); border-radius: .5rem; font-weight: 600; transition: all .3s; }
.pagination .page-numbers.current { background: linear-gradient(to bottom, var(--color-gold), #ca8a04); color: var(--color-dark); border-color: transparent; box-shadow: 0 4px 12px rgba(212,168,67,.3); }
.pagination .page-numbers:not(.current):hover { background: #f3f4f6; }

.aligncenter { display: block; margin: 1.5rem auto; }
.alignleft { float: right; margin: 0 0 1rem 1rem; }
.alignright { float: left; margin: 0 1rem 1rem 0; }
blockquote { margin: 1.5rem 0; padding: 1.5rem 2rem; background: var(--color-cream); border-right: 4px solid var(--color-gold); border-radius: var(--radius-md); color: #4b5563; font-style: italic; }

/* ========================================
   WORDPRESS OVERRIDES & FIXES
======================================== */
.wp-block-image img { max-width: 100%; height: auto; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal; }
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
body.admin-bar .mobile-menu { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .mobile-menu { top: 46px; } }
