/*
Theme Name: Marina Drawing
Theme URI: https://marinadrawing.com
Author: Marina
Description: Affiliate drawing tutorials & art supply reviews theme for Marina Drawing.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: marina-drawing
*/

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fdf5f2;
  font-family: 'Nunito', sans-serif;
  color: #24243e;
  padding-top: 68px;
}

::selection { background: #d9527a; color: #fff; }

a { color: #24243e; text-decoration: none; }
a:hover { color: #d9527a; }

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

h1, h2, h3 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  margin: 0;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 40;
  background: #fdf5f2;
  border-bottom: 1.5px solid #24243e;
}
.site-header .wrap {
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.site-logo-text {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #24243e;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.site-logo-text span { color: #d9527a; }
.site-logo-badge {
  position: relative;
  width: 27px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.site-logo-badge svg { position: absolute; inset: 0; }
.site-logo-badge span {
  position: relative;
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a { font-size: 14px; font-weight: 600; }
.main-nav a.current { color: #d9527a; font-weight: 700; }
.main-nav a.btn-join {
  font-weight: 700;
  background: #d9527a;
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
}
.main-nav a.btn-join:hover { background: #c23f66; color: #fff; }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  background: #24243e;
  color: #fdf5f2;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1.5px solid #d9527a;
}
.cookie-banner p { font-size: 14px; line-height: 1.5; max-width: 640px; margin: 0; }
.cookie-banner a { color: #f6c9d6; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions button {
  border: none;
  cursor: pointer;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  font-family: 'Nunito', sans-serif;
}
.btn-decline { background: transparent; border: 1.5px solid #fdf5f2 !important; color: #fdf5f2; padding: 11px 20px !important; }
.btn-accept { background: #d9527a; color: #fff; }

/* ---------- AFFILIATE DISCLOSURE ---------- */
.affiliate-disclosure {
  background: #f8e7ec;
  border-bottom: 1.5px solid #24243e;
}
.affiliate-disclosure .wrap {
  padding: 11px 32px;
  font-size: 13px;
  color: #4a4560;
  text-align: center;
}
.affiliate-disclosure a { text-decoration: underline; color: #24243e; font-weight: 700; }

/* ---------- EYEBROW ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7d7690;
  margin-bottom: 18px;
  font-weight: 700;
}
.eyebrow .dash { width: 26px; height: 1.5px; background: #7d7690; display: inline-block; }

/* ---------- HERO ---------- */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 32px 40px;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr);
  gap: 56px;
  align-items: center;
}
.hero-content { animation: fadeUp 0.6s ease both; }
.hero h1 {
  font-size: clamp(40px,5vw,64px);
  line-height: 1.08;
  margin: 0 0 22px;
}
.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #4a4560;
  max-width: 480px;
  margin: 0 0 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: #d9527a;
  color: #fff;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #c23f66; color: #fff; }
.btn-outline {
  border: 1.5px solid #24243e;
  color: #24243e;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
}
.btn-outline:hover { background: #24243e; color: #fff; }
.hero-art-wrap { position: relative; }
.hero-art-frame {
  position: absolute;
  top: -18px; right: -18px;
  width: 100%; height: 100%;
  border: 1.5px solid #d9527a;
  border-radius: 16px;
  z-index: 0;
}
.hero-art {
  width: 100%;
  height: 420px;
  position: relative;
  z-index: 1;
  border: 1.5px solid #24243e;
  border-radius: 16px;
  object-fit: cover;
  background: #f8e7ec;
}

/* ---------- IMAGE PLACEHOLDER ---------- */
.img-slot {
  background: #f8e7ec;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b98a9a;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
  width: 100%;
  overflow: hidden;
}
.img-slot img { border-radius: inherit; width: 100%; height: 100%; object-fit: cover; }

/* ---------- SECTION HEADINGS ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 10px;
}
.section-head h2 { font-size: 30px; }
.section-head .all-link { text-decoration: underline; font-size: 14px; color: #7d7690; }

/* ---------- FEATURED TUTORIAL ---------- */
.feature-post {
  color: inherit;
  display: grid;
  grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
  gap: 36px;
  align-items: center;
  border: 1.5px solid #24243e;
  border-radius: 18px;
  padding: 20px;
  background: #fffaf7;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.feature-post:hover { box-shadow: 6px 6px 0 #d9527a; transform: translate(-3px,-3px); color: inherit; }
.feature-post .img-slot { height: 320px; }
.feature-post-body { padding: 8px 16px 8px 0; }
.feature-tag {
  font-size: 13px;
  color: #d9527a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  font-weight: 700;
}
.feature-post h3 { font-size: 28px; margin: 0 0 14px; }
.feature-post p { font-size: 16px; line-height: 1.6; color: #4a4560; margin: 0 0 18px; }
.feature-read-link { font-weight: 700; font-size: 15px; text-decoration: underline; }

/* ---------- POST GRID ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 26px;
}
.post-card {
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.post-card .img-slot { height: 190px; }
.post-card-tag {
  font-size: 12px;
  color: #d9527a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.post-card-title { font-size: 19px; font-weight: 700; line-height: 1.25; font-family: 'Baloo 2', sans-serif; }
.post-card-excerpt { font-size: 14px; color: #4a4560; line-height: 1.5; }

/* ---------- TOOLS STRIP ---------- */
.tools-strip {
  background: #f8e7ec;
  border-top: 1.5px solid #24243e;
  border-bottom: 1.5px solid #24243e;
  margin-top: 56px;
  padding: 56px 0;
}
.tools-strip .section-head { margin-bottom: 8px; }
.tools-strip .badge { font-size: 12px; color: #7d7690; font-weight: 600; }
.tools-strip .lede { font-size: 15px; color: #4a4560; max-width: 600px; margin: 0 0 32px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
}
.product-card {
  background: #fffaf7;
  border: 1.5px solid #24243e;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-card .img-slot { height: 130px; }
.product-cat { font-size: 11px; color: #7d7690; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.product-name { font-size: 16px; font-weight: 700; line-height: 1.25; font-family: 'Baloo 2', sans-serif; }
.product-shop-btn {
  text-align: center;
  background: #d9527a;
  color: #fff;
  padding: 10px 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.product-shop-btn:hover { background: #c23f66; color: #fff; }

/* ---------- COURSE PROMO BANNER ---------- */
.course-banner {
  max-width: 1180px;
  margin: 56px auto;
  padding: 0 32px;
}
.course-banner-inner {
  background: #24243e;
  color: #fdf5f2;
  border-radius: 20px;
  padding: 52px 48px;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,0.8fr);
  gap: 36px;
  align-items: center;
}
.course-banner-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e79db3;
  margin-bottom: 14px;
  font-weight: 700;
}
.course-banner h2 { font-size: 30px; margin: 0 0 16px; }
.course-banner p { font-size: 15px; line-height: 1.6; color: #cfc9dc; margin: 0 0 26px; max-width: 480px; }
.course-banner .img-slot { height: 220px; border: 1.5px solid #7d7690; }

/* ---------- NEWSLETTER ---------- */
.newsletter {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 32px 72px;
  text-align: center;
}
.newsletter h2 { font-size: 26px; margin: 0 0 12px; }
.newsletter p { font-size: 15px; color: #4a4560; margin: 0 0 24px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1.5px solid #24243e;
  font-size: 15px;
  font-family: 'Nunito', sans-serif;
  background: #fffaf7;
}
.newsletter-form button {
  background: #d9527a;
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.newsletter-form button:hover { background: #c23f66; }
.newsletter-success {
  font-size: 16px;
  font-weight: 700;
  border: 1.5px solid #24243e;
  border-radius: 999px;
  padding: 15px 0;
}
.newsletter-mini {
  border: 1.5px solid #24243e;
  border-radius: 16px;
  padding: 20px;
  background: #f8e7ec;
  text-align: center;
}
.newsletter-mini h3 { font-size: 15px; margin: 0 0 6px; }
.newsletter-mini p { font-size: 12px; color: #4a4560; margin: 0 0 14px; }
.newsletter-mini .newsletter-form { flex-direction: column; }
.newsletter-mini .newsletter-form input,
.newsletter-mini .newsletter-form button { max-width: none; padding: 11px 14px; font-size: 13px; }

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1.5px solid #24243e;
  padding: 48px 32px 28px;
  background: #fffaf7;
}
.footer-cols {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1.5px solid #ece3d8;
}
.footer-brand { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.footer-brand .site-logo-text { font-size: 19px; }
.footer-brand .site-logo-badge { width: 24px; height: 22px; }
.footer-col-title {
  font-family: 'Baloo 2', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7d7690;
  margin-bottom: 14px;
}
.footer-col nav { display: flex; flex-direction: column; gap: 10px; }
.footer-col nav a { font-size: 14px; font-weight: 600; }
.footer-desc { font-size: 13px; color: #7d7690; line-height: 1.6; margin: 0; max-width: 260px; }
.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .copy { font-size: 12px; color: #7d7690; }
.footer-bottom .disclosure { font-size: 12px; color: #7d7690; max-width: 480px; }

/* ---------- SINGLE POST ---------- */
.post-eyebrow {
  font-size: 13px;
  color: #d9527a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 700;
}
.post-header { max-width: 1120px; margin: 0 auto; padding: 52px 32px 0; }
.post-header h1 {
  font-size: clamp(34px,5vw,50px);
  line-height: 1.1;
  margin: 0 0 22px;
  max-width: 760px;
}
.post-lede { font-size: 18px; line-height: 1.65; color: #4a4560; margin: 0 0 28px; max-width: 760px; }

.share-bar { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; flex-wrap: wrap; }
.share-bar-label { font-size: 13px; font-weight: 700; color: #7d7690; text-transform: uppercase; letter-spacing: 0.06em; }
.share-icons { display: flex; gap: 14px; }
.share-icon-col { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.share-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #24243e;
  color: #fdf5f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
}
.share-icon:hover { background: #d9527a; color: #fdf5f2; }
.share-count { font-size: 11px; color: #7d7690; font-weight: 700; }
.share-total { font-size: 13px; font-weight: 600; color: #4a4560; }
.link-copied { font-size: 13px; font-weight: 700; color: #d9527a; }

.post-hero-img { max-width: 760px; height: 420px; border: 1.5px solid #24243e; border-radius: 16px; }

.post-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 32px 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) 280px;
  gap: 48px;
  align-items: start;
}
.post-main { min-width: 0; }

.step-block { scroll-margin-top: 90px; margin-top: 44px; }
.step-block:first-child { margin-top: 0; }
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.step-num {
  font-family: 'Baloo 2', sans-serif;
  font-size: 18px;
  font-weight: 700;
  background: #d9527a;
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-block h2 { font-size: 23px; margin: 0; }
.step-block p { font-size: 16px; line-height: 1.7; color: #4a4560; margin: 0 0 20px; }
.step-block .img-slot { height: 300px; }

.inline-cta-link {
  margin: 28px 0 0;
  border-left: 3px solid #d9527a;
  padding: 4px 0 4px 18px;
  font-size: 15px;
  color: #4a4560;
}
.inline-cta-link a { font-weight: 700; text-decoration: underline; color: #d9527a; }

.course-cta-block {
  margin-top: 44px;
  background: #24243e;
  color: #fdf5f2;
  border-radius: 18px;
  padding: 32px 28px;
}
.course-cta-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #e79db3; margin-bottom: 10px; font-weight: 700; }
.course-cta-block .title { font-family: 'Baloo 2', sans-serif; font-size: 21px; font-weight: 700; margin: 0 0 8px; }
.course-cta-block p { font-size: 14px; color: #cfc9dc; margin: 0 0 18px; }
.course-cta-block .btn-primary:hover { background: #f06a90; }

.product-cta-card {
  margin-top: 44px;
  border: 1.5px solid #24243e;
  border-radius: 16px;
  padding: 20px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
}
.product-cta-card .img-slot { height: 90px; }
.product-cta-eyebrow { font-size: 11px; color: #7d7690; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; font-weight: 700; }
.product-cta-name { font-family: 'Baloo 2', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.btn-shop-small {
  background: #d9527a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  display: inline-block;
}
.btn-shop-small:hover { background: #c23f66; color: #fff; }

.post-closing { font-size: 16px; line-height: 1.7; color: #4a4560; margin: 44px 0 0; }

/* SIDEBAR */
.post-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.toc-box {
  border: 1.5px solid #24243e;
  border-radius: 16px;
  padding: 20px;
  background: #fffaf7;
}
.toc-title {
  font-family: 'Baloo 2', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  color: #7d7690;
}
.toc-box nav { display: flex; flex-direction: column; gap: 10px; }
.toc-box nav a { font-size: 14px; font-weight: 600; color: #24243e; }

.sidebar-course-teaser {
  color: inherit;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #24243e;
  color: #fdf5f2;
  padding: 20px;
}
.sidebar-course-teaser .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #e79db3; margin-bottom: 8px; font-weight: 700; }
.sidebar-course-teaser .title { font-family: 'Baloo 2', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.25; }
.sidebar-course-teaser .explore { font-size: 13px; font-weight: 700; text-decoration: underline; }

.sidebar-product-teaser {
  color: inherit;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1.5px solid #24243e;
  border-radius: 16px;
  padding: 16px;
  background: #fffaf7;
}
.sidebar-product-teaser .img-slot { width: 56px; height: 56px; flex-shrink: 0; }
.sidebar-product-teaser .title { font-size: 14px; font-weight: 700; font-family: 'Baloo 2', sans-serif; }
.sidebar-product-teaser .price { font-size: 12px; color: #d9527a; font-weight: 700; }

/* RELATED */
.related-posts { max-width: 760px; margin: 56px auto 0; padding: 0 32px 56px; }
.related-posts h2 { font-size: 21px; margin: 0 0 20px; }
.related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.related-card { color: inherit; border: 1.5px solid #24243e; border-radius: 14px; padding: 18px; }
.related-card .tag { font-size: 12px; color: #d9527a; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; font-weight: 700; }
.related-card .title { font-family: 'Baloo 2', sans-serif; font-size: 17px; font-weight: 700; }

/* ---------- GALLERY POST ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.gallery-item { display: flex; flex-direction: column; gap: 8px; }
.gallery-item .img-slot { height: 240px; cursor: pointer; }
.gallery-caption { font-size: 13px; color: #4a4560; line-height: 1.4; }
.gallery-shop-link { font-size: 12px; font-weight: 700; color: #d9527a; }

.gallery-course-ad {
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  background: #24243e;
  color: #fdf5f2;
  border-radius: 12px;
  padding: 22px;
  height: 240px;
}
.gallery-course-ad .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #e79db3; font-weight: 700; }
.gallery-course-ad .title { font-family: 'Baloo 2', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.3; }
.gallery-course-ad .explore { font-size: 13px; font-weight: 700; text-decoration: underline; }

.gallery-product-ad {
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.5px solid #24243e;
  border-radius: 12px;
  padding: 18px;
  background: #fffaf7;
  height: 240px;
}
.gallery-product-ad .img-slot { height: 120px; }
.gallery-product-ad .cat { font-size: 11px; color: #7d7690; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.gallery-product-ad .title { font-family: 'Baloo 2', sans-serif; font-size: 15px; font-weight: 700; }
.gallery-product-ad .price { font-size: 12px; font-weight: 700; color: #d9527a; }

.floating-cta {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 60;
  background: #d9527a;
  color: #fff;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(36,36,62,0.25);
  display: flex;
  align-items: center;
  gap: 8px;
}
.floating-cta:hover { background: #c23f66; color: #fff; }

.recap-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.recap-item { color: inherit; display: flex; flex-direction: column; gap: 10px; }
.recap-item .img-slot { height: 100px; }
.recap-item .name { font-size: 13px; font-weight: 700; }
.recap-item .shop { font-size: 12px; color: #d9527a; font-weight: 700; }

/* ---------- COURSE PAGE ---------- */
.course-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 32px 0;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr);
  gap: 48px;
  align-items: center;
}
.course-hero .eyebrow-simple { font-size: 13px; color: #d9527a; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; font-weight: 700; }
.course-hero h1 { font-size: clamp(32px,4.5vw,48px); line-height: 1.1; margin: 0 0 18px; }
.course-hero .lede { font-size: 17px; line-height: 1.6; color: #4a4560; margin: 0 0 26px; }
.course-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.course-price { font-family: 'Baloo 2', sans-serif; font-size: 32px; font-weight: 700; }
.course-price-old { font-size: 15px; color: #7d7690; text-decoration: line-through; }
.course-meta { font-size: 13px; font-weight: 700; color: #d9527a; }
.course-guarantee { font-size: 13px; color: #7d7690; margin-top: 14px; }
.course-hero .img-slot { height: 380px; border: 1.5px solid #24243e; }

.course-learn { max-width: 1180px; margin: 0 auto; padding: 64px 32px 0; }
.course-learn h2 { font-size: 26px; margin: 0 0 28px; }
.learn-content { font-size: 16px; line-height: 1.75; color: #4a4560; max-width: 760px; }
.learn-content h3 { font-family: 'Baloo 2', sans-serif; font-size: 18px; color: #24243e; margin: 24px 0 6px; }
.learn-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.learn-item { display: flex; gap: 14px; align-items: flex-start; }
.learn-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #f8e7ec;
  color: #d9527a;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.learn-item .title { font-family: 'Baloo 2', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.learn-item .desc { font-size: 14px; color: #4a4560; line-height: 1.5; }

.course-testimonial { max-width: 820px; margin: 64px auto 0; padding: 0 32px; }
.testimonial-box { border: 1.5px solid #24243e; border-radius: 18px; padding: 32px; background: #fffaf7; }
.testimonial-quote { font-size: 20px; line-height: 1.6; font-family: 'Baloo 2', sans-serif; font-weight: 600; margin-bottom: 16px; }
.testimonial-author { font-size: 14px; color: #7d7690; font-weight: 700; }

.course-final-cta { max-width: 1180px; margin: 56px auto 0; padding: 0 32px; }
.course-final-cta-inner { background: #24243e; color: #fdf5f2; border-radius: 20px; padding: 48px; text-align: center; }
.course-final-cta h2 { font-size: 28px; margin: 0 0 12px; }
.course-final-cta p { font-size: 15px; color: #cfc9dc; margin: 0 0 24px; }
.course-final-cta .btn-primary:hover { background: #f06a90; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero,
  .course-hero,
  .course-banner-inner,
  .course-final-cta-inner,
  .post-layout,
  .footer-cols {
    grid-template-columns: 1fr !important;
  }
  .post-grid,
  .related-grid,
  .product-grid,
  .recap-grid,
  .learn-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .post-sidebar { position: static; }
}

@media (max-width: 600px) {
  .post-grid,
  .related-grid,
  .product-grid,
  .recap-grid,
  .learn-grid,
  .gallery-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }
  body { padding-top: 60px; }
}
