/*
Theme Name: Culture Shock
Theme URI:
Author: Unable 2 Label
Description: A grunge magazine-style WordPress theme for multicultural content. All sections are editable via the WordPress Customizer.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: culture-shock
Tags: custom-colors, custom-logo, custom-menu, featured-images, full-width-template
*/

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

/* ─── Body ───────────────────────────────── */
body {
  background: #0d1203;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  min-height: 100vh;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
}

/* ══════════════════════════════════════
   TOP NAV BAR
══════════════════════════════════════ */
.navbar {
  width: 100%;
  background: linear-gradient(180deg, #1a2304 0%, #131b03 100%);
  border-bottom: 2px solid #2f4208;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 7px 14px;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.nav-links {
  display: flex; align-items: center; gap: 6px;
}

.nav-btn {
  font-family: 'Oswald', sans-serif;
  font-size: .72rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #c8d0a0;
  padding: 5px 12px;
  border: 1px solid rgba(120,140,40,0.35);
  border-radius: 3px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  text-decoration: none;
}
.nav-btn:hover {
  background: rgba(180,150,30,.15);
  color: #f0dd70;
  border-color: rgba(180,150,30,0.5);
}

.nav-cta {
  font-family: 'Oswald', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: #1a2304;
  padding: 6px 16px;
  border-radius: 3px;
  background: linear-gradient(135deg, #d4a820 0%, #b88c18 100%);
  border: 1px solid #a07810;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,240,150,0.25);
  transition: filter .2s, transform .1s;
  white-space: nowrap;
  text-decoration: none;
}
.nav-cta:hover { filter: brightness(1.12); transform: translateY(-1px); }

.nav-sep {
  width: 1px; height: 18px;
  background: rgba(120,140,40,0.3);
}

/* ══════════════════════════════════════
   POSTER BODY
══════════════════════════════════════ */
.poster {
  position: relative;
  width: 100%;
  background:
    linear-gradient(180deg,
      #5a6e1a 0%, #4e6218 15%, #4a5e16 35%,
      #6b6010 55%, #7a6408 72%, #8a6a05 85%, #7a5c04 100%
    );
  box-shadow:
    inset 0   0 120px 50px rgba(0,0,0,0.6),
    inset 0  -6px  0   0   rgba(0,0,0,0.5),
    0 8px 50px rgba(0,0,0,0.8);
  border-left:  4px solid #0e1402;
  border-right: 4px solid #0e1402;
  border-bottom:4px solid #0e1402;
  overflow: hidden;
}

.poster::before {
  content:'';
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: .45;
}

.poster::after {
  content: '';
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to bottom,  rgba(0,0,0,0.72) 0%, transparent 22%),
    linear-gradient(to top,     rgba(0,0,0,0.72) 0%, transparent 22%),
    linear-gradient(to right,   rgba(0,0,0,0.62) 0%, transparent 18%),
    linear-gradient(to left,    rgba(0,0,0,0.62) 0%, transparent 18%);
}

/* ══════════════════════════════════════
   MAIN CONTENT GRID
══════════════════════════════════════ */
.grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  grid-template-rows: auto auto;
  padding: 14px 14px 16px;
  gap: 0;
}

.card {
  padding: 6px 12px 14px;
  display: flex; flex-direction: column; gap: 7px;
  position: relative;
}

/* ══════════════════════════════════════
   SECTION TITLE LABEL
══════════════════════════════════════ */
.sec-label {
  display: flex; align-items: flex-end; gap: 9px;
  margin-bottom: 3px; position: relative;
}

.sec-word {
  font-family: 'Rammetto One', cursive;
  color: #fff; line-height: 1;
  display: inline-block;
  text-shadow:
     3px  3px 0 #000, -3px -3px 0 #000,
     3px -3px 0 #000, -3px  3px 0 #000,
     4px  0   0 #000, -4px  0   0 #000,
     0    4px 0 #000,  0   -4px 0 #000,
     0    6px 14px rgba(0,0,0,0.9);
}

.culture {
  font-family: 'Oswald', sans-serif;
  font-size: .67rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: #e0d8b8; white-space: nowrap;
  padding-bottom: 5px; opacity: .9;
}

/* ── Section image ── */
.img-ph, .section-img {
  width: 100%;
  background: rgba(0,0,0,0.42);
  border: 1px dashed rgba(200,175,50,0.3);
  border-radius: 3px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  color: rgba(210,185,90,0.45);
  font-family: 'Oswald', sans-serif;
  font-size: .62rem; letter-spacing: 1px; text-transform: uppercase;
  overflow: hidden;
}

.section-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: 3px;
}

.ph-icon {
  width:32px; height:32px;
  border: 1.5px dashed rgba(200,170,40,0.3); border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
}

/* ── Article text ── */
.art-title {
  font-family: 'Oswald', sans-serif;
  font-size: .93rem; font-weight: 700;
  color: #f0cc55; line-height: 1.2;
}
.art-body {
  font-size: .65rem; line-height: 1.65; color: #cac5ac;
}
.read-more {
  font-family: 'Oswald', sans-serif;
  font-size: .61rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #c9a227; cursor: pointer; align-self: flex-start;
  text-decoration: none;
}
.read-more:hover { color: #f0cc55; }

.rule {
  width:100%; height:1px;
  background: linear-gradient(90deg, transparent, rgba(180,150,30,.5), transparent);
}

/* ══════════════════════════════════════
   SECTION POSITIONS & TILTS
══════════════════════════════════════ */
.history { grid-column:1; grid-row:1; }
.history .sec-word {
  font-size: 2.65rem;
  transform: rotate(-9deg) translateY(14px);
  transform-origin: left bottom;
}

.the-arts { grid-column:3; grid-row:1; }
.the-arts .sec-label { flex-direction: row; }
.the-arts .sec-word {
  font-size: 2.05rem;
  transform: rotate(9deg) translateY(-14px);
  transform-origin: left bottom;
}

.food { grid-column:1; grid-row:2; }
.food .sec-word {
  font-size: 3.0rem;
  transform: rotate(-11deg) translateY(6px);
  transform-origin: left bottom;
}

.style-sec { grid-column:3; grid-row:2; }
.style-sec .sec-label { flex-direction: row; }
.style-sec .sec-word {
  font-size: 1.9rem;
  transform: rotate(11deg) translateY(-26px);
  transform-origin: left bottom;
}

/* ══════════════════════════════════════
   CENTER COLUMN  (logo + music)
══════════════════════════════════════ */
.center-col {
  grid-column:2; grid-row:1/3;
  display: flex; flex-direction: column;
  align-items: center;
  padding: 18px 14px 12px;
  gap: 0;
}

.logo {
  display:flex; flex-direction:column; align-items:center; line-height:1;
  margin-bottom: 6px;
}
.logo img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.9));
}
.logo-rule {
  width:82%; height:1px;
  background: linear-gradient(90deg, transparent, #c9a227, transparent);
  margin-top: 8px;
}

.music-wrap {
  width:100%; display:flex; flex-direction:column; align-items:center;
  gap:5px; margin-top:10px;
}
.music-word {
  font-family: 'Rammetto One', cursive;
  font-size: 2.85rem; color:#fff;
  display:inline-block;
  text-shadow:
     3px  3px 0 #000, -3px -3px 0 #000,
     3px -3px 0 #000, -3px  3px 0 #000,
     0    5px 14px rgba(0,0,0,1);
}
.music-genre {
  font-family: 'Oswald', sans-serif;
  font-size: .73rem; font-weight:600; letter-spacing:3px;
  text-transform:uppercase; color:#ddd5b5; margin-top:-2px;
}
.controls {
  display:flex; gap:8px; margin-top:4px;
}
.ctrl {
  width:34px; height:34px;
  border:2px solid #c9a227; border-radius:4px;
  background:rgba(0,0,0,.5); color:#f0cc55;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:background .2s;
}
.ctrl:hover { background:rgba(200,160,30,.25); }
.ctrl svg { width:14px; height:14px; fill:currentColor; }

/* ── Audio player states ── */
.ctrl.cs-pause-btn          { opacity: .45; }          /* dim pause when stopped */
.ctrl.cs-play-btn.is-playing { opacity: .45; }          /* dim play when playing  */
.ctrl.cs-pause-btn.is-playing { opacity: 1; }
.ctrl[disabled]             { opacity: .25; cursor: default; }

/* ══════════════════════════════════════
   PAGE / SINGLE POST TEMPLATES
══════════════════════════════════════ */
.cs-page-wrap {
  width: 100%;
  max-width: 860px;
  margin: 48px auto;
  padding: 0 24px 60px;
}

.cs-page-header {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(180,150,30,.35);
}

.cs-page-title {
  font-family: 'Rammetto One', cursive;
  font-size: 3rem; color: #fff; line-height: 1.1;
  text-shadow:
    3px 3px 0 #000, -3px -3px 0 #000,
    3px -3px 0 #000, -3px 3px 0 #000,
    0 6px 18px rgba(0,0,0,0.9);
}

.cs-post-meta {
  font-family: 'Oswald', sans-serif;
  font-size: .68rem; letter-spacing: 2px; text-transform: uppercase;
  color: #c9a227; margin-top: 10px;
}

.cs-feat-img {
  width: 100%; max-height: 420px;
  object-fit: cover; border-radius: 4px;
  margin-bottom: 28px;
  border: 1px solid rgba(180,150,30,.2);
  box-shadow: 0 6px 30px rgba(0,0,0,.7);
}

.cs-content {
  font-size: .88rem; line-height: 1.8; color: #cac5ac;
}
.cs-content h1, .cs-content h2, .cs-content h3 {
  font-family: 'Oswald', sans-serif;
  color: #f0cc55; margin: 28px 0 10px;
}
.cs-content h1 { font-size: 1.5rem; }
.cs-content h2 { font-size: 1.25rem; }
.cs-content h3 { font-size: 1.05rem; }
.cs-content p  { margin-bottom: 16px; }
.cs-content a  { color: #c9a227; }
.cs-content a:hover { color: #f0cc55; }
.cs-content ul, .cs-content ol { padding-left: 1.4em; margin-bottom: 16px; }
.cs-content li { margin-bottom: 6px; }
.cs-content strong { color: #ddd5b8; }
.cs-content img { max-width: 100%; border-radius: 3px; }
.cs-content blockquote {
  border-left: 3px solid #c9a227;
  padding: 10px 16px; margin: 20px 0;
  background: rgba(0,0,0,0.25);
  color: #e0d8b8; font-style: italic;
}

.cs-back {
  display: inline-block;
  margin-top: 36px;
  font-family: 'Oswald', sans-serif;
  font-size: .7rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #c9a227;
  text-decoration: none;
  border: 1px solid rgba(200,160,30,.4);
  padding: 6px 16px; border-radius: 3px;
  transition: color .2s, border-color .2s;
}
.cs-back:hover { color: #f0cc55; border-color: rgba(200,160,30,.7); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
  .navbar { padding: 7px 12px; }
  .nav-btn { font-size: .65rem; padding: 4px 8px; }
  .nav-cta { font-size: .65rem; padding: 5px 10px; }

  .grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    padding: 10px;
  }
  .center-col { grid-column: 1 / 3; grid-row: 1; padding: 14px 10px 10px; }
  .history    { grid-column: 1;     grid-row: 2; }
  .the-arts   { grid-column: 2;     grid-row: 2; }
  .food       { grid-column: 1;     grid-row: 3; }
  .style-sec  { grid-column: 2;     grid-row: 3; }

  .logo img { max-width: 240px; }

  .history .sec-word   { font-size: 2rem;   transform: rotate(-9deg) translateY(10px); }
  .the-arts .sec-word  { font-size: 1.6rem; transform: rotate(9deg) translateY(-10px); }
  .food .sec-word      { font-size: 2.2rem; transform: rotate(-11deg) translateY(6px); }
  .style-sec .sec-word { font-size: 1.5rem; transform: rotate(11deg) translateY(-10px); }
  .music-word          { font-size: 2.2rem; }

  .cs-page-title { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .navbar {
    flex-wrap: wrap; gap: 6px;
    padding: 8px 10px; justify-content: center;
  }
  .nav-links { gap: 4px; flex-wrap: wrap; justify-content: center; }
  .nav-btn   { font-size: .6rem; padding: 3px 7px; }
  .nav-cta   { font-size: .6rem; padding: 4px 9px; }
  .nav-sep   { display: none; }

  .grid { grid-template-columns: 1fr; padding: 8px; }
  .center-col { grid-column: 1; grid-row: 1; padding: 12px 8px 8px; }
  .history    { grid-column: 1; grid-row: 2; }
  .the-arts   { grid-column: 1; grid-row: 3; }
  .food       { grid-column: 1; grid-row: 4; }
  .style-sec  { grid-column: 1; grid-row: 5; }

  .logo img { max-width: 200px; }

  .history .sec-word   { font-size: 1.8rem; transform: rotate(-9deg) translateY(10px); }
  .the-arts .sec-word  { font-size: 1.5rem; transform: rotate(9deg) translateY(-10px); }
  .food .sec-word      { font-size: 2rem;   transform: rotate(-11deg) translateY(6px); }
  .style-sec .sec-word { font-size: 1.4rem; transform: rotate(11deg) translateY(-10px); }
  .music-word          { font-size: 2rem; }
  .music-genre         { font-size: .65rem; }
  .art-title           { font-size: .85rem; }
  .art-body            { font-size: .62rem; }

  .cs-page-title { font-size: 1.6rem; }
  .cs-page-wrap  { margin: 28px auto; padding: 0 14px 40px; }
}
