/*
Theme Name: Coursera Academy 2026
Theme URI: https://example.com/coursera-academy-2026
Author: Coursera Academy
Description: A forward-looking 2026 education theme with expressive motion, immersive course discovery, Tutor LMS, WooCommerce and GTranslate integration.
Version: 3.1.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: coursera-academy
*/

:root {
  --blue: #155b8f;
  --blue-dark: #0f456e;
  --blue-pale: #eaf3fa;
  --orange: #bd570b;
  --orange-dark: #963e05;
  --ink: #263442;
  --muted: #53636f;
  --line: #cdd8df;
  --paper: #fff;
  --cream: #f5f4ef;
  --shadow: 0 2px 8px rgba(25, 46, 63, .16);
  --wrap: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap; }
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; margin: 0; padding: 12px 16px; overflow: visible; clip: auto; background: #fff; color: #0f456e; font-weight: 700; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--orange-dark); }
button, input, textarea { font: inherit; }
.site-wrap { width: 100%; max-width: none; margin: 0; background: var(--paper); border: 0; box-shadow: none; }
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 32px; }
.section { padding: 70px 0; scroll-margin-top: 82px; }
.section--soft { background: var(--cream); border-block: 1px solid #e2dfd6; }
.section--blue { background: #edf5fa; border-block: 1px solid #cfdee8; }
.section-heading { max-width: 670px; margin: 0 auto 38px; text-align: center; }
.eyebrow { margin: 0 0 7px; color: var(--orange-dark); font-size: 12px; font-weight: bold; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { color: #203348; font-family: Georgia, 'Times New Roman', serif; line-height: 1.18; }
h1 { margin: 0 0 18px; font-size: clamp(37px, 5vw, 58px); letter-spacing: -.02em; }
h2 { margin: 0 0 13px; font-size: clamp(28px, 3vw, 38px); }
h3 { margin: 0 0 8px; font-size: 21px; }
.lead { color: #4c5f6d; font-size: 19px; }
.muted { color: var(--muted); }
.button {
  display: inline-block;
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid var(--blue-dark);
  border-radius: 3px;
  background: linear-gradient(#347db7, #1f5f99);
  box-shadow: inset 0 1px rgba(255,255,255,.28), 0 1px 2px rgba(0,0,0,.18);
  background-color: var(--blue);
  color: #fff !important;
  font-weight: bold;
  line-height: 20px;
  text-decoration: none;
  text-shadow: 0 -1px rgba(0,0,0,.25);
  cursor: pointer;
}
.button:hover, .button:focus { background: linear-gradient(#246d9f, #0f456e); color: #fff !important; }
.button--orange { border-color: #7e3103; background: linear-gradient(#c96114, #a74606); background-color: #a74606; }
.button--orange:hover, .button--orange:focus { background: linear-gradient(#ad4b08, #7e3103); }
.button--light { border-color: #8295a2; background: linear-gradient(#fff, #e1e8ec); background-color: #fff; color: #173f5e !important; text-shadow: none; }
.button--light:hover, .button--light:focus { background: #fff; color: #0b3657 !important; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.skip-link { position: fixed; z-index: 9999; top: -80px; left: 12px; padding: 10px 14px; background: #fff; }
.skip-link:focus { top: 12px; }

/* Header */
.utility-bar { border-bottom: 1px solid #c5d0d7; background: #eaf0f3; color: #3f505c; font-size: 12px; }
.utility-bar .container { display: flex; align-items: center; justify-content: space-between; min-height: 30px; }
.trust-note { margin: 0; }
.language-switcher { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.language-switcher > a, .language-switcher > span, .language-switcher .glink { display: inline-flex; min-width: 32px; min-height: 26px; align-items: center; justify-content: center; padding: 2px 7px; border: 1px solid #8799a5; border-radius: 2px; background: #fff; color: #173f5e !important; font-size: 11px; font-weight: bold; line-height: 20px; text-decoration: none !important; text-transform: uppercase; }
.language-switcher .glink span { padding: 0; border: 0; }
.language-switcher .glink img { width: 18px; height: auto; margin-right: 4px; }
.language-switcher > a:hover, .language-switcher > a:focus, .language-switcher .glink:hover, .language-switcher .glink:focus { border-color: #0f456e; background: #155b8f; color: #fff !important; }
.site-header { position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid #9bacb7; background: linear-gradient(#fff, #eef3f6); box-shadow: 0 2px 4px rgba(31,51,67,.13); }
body.admin-bar .site-header { top: 32px; }
.header-inner { position: relative; display: flex; align-items: center; min-height: 72px; gap: 22px; }
.brand { flex: 0 0 auto; text-decoration: none; }
.brand img { display: block; max-height: 52px; width: auto; }
.brand-text { color: var(--blue); font: bold 31px/1 Georgia, serif; letter-spacing: -.04em; }
.brand-dot { color: var(--orange); }
.main-nav { display: flex; align-items: center; margin-left: auto; gap: 2px; }
.main-nav > a:not(.button), .account-menu > button { padding: 9px 8px; border: 0; background: transparent; color: #243f53 !important; font-size: 13px; font-weight: bold; text-decoration: none; white-space: nowrap; }
.main-nav > a:hover, .main-nav > a:focus, .account-menu > button:hover { color: var(--blue); text-decoration: underline; }
.site-header .main-nav > a.nav-button.button { margin-left: 4px; padding: 8px 13px; border-color: #0f456e; background: linear-gradient(#246d9f, #155b8f); background-color: #155b8f; color: #fff !important; text-decoration: none; }
.site-header .main-nav > a.nav-button.button--orange { border-color: #7e3103; background: linear-gradient(#c96114, #a74606); background-color: #a74606; color: #fff !important; }
.site-header .main-nav > a.nav-button:hover, .site-header .main-nav > a.nav-button:focus { background: #0f456e; color: #fff !important; text-decoration: none; }
.site-header .main-nav > a.nav-button.button--orange:hover, .site-header .main-nav > a.nav-button.button--orange:focus { background: #7e3103; }
.menu-toggle { display: none; margin-left: auto; padding: 8px 10px; border: 1px solid #9aabb6; border-radius: 3px; background: linear-gradient(#fff, #e4eaed); color: #29445b; font-weight: bold; }
.account-menu { position: relative; }
.account-menu > button::after { content: ' \25BE'; }
.account-dropdown { position: absolute; top: 100%; right: 0; display: none; min-width: 160px; padding: 6px; border: 1px solid #aebbc4; background: #fff; box-shadow: var(--shadow); }
.account-menu.is-open .account-dropdown { display: block; }
@media (hover: hover) { .account-menu:hover .account-dropdown { display: block; } }
.account-dropdown a { display: block; padding: 7px 9px; color: #203c50 !important; text-decoration: none; }
.account-dropdown a:hover { background: var(--blue-pale); }

/* Hero */
.hero { position: relative; overflow: hidden; min-height: 520px; border-bottom: 1px solid #aebdc7; background: #eaf2f7; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,252,253,1) 0%, rgba(250,252,253,.97) 44%, rgba(250,252,253,.32) 70%, rgba(250,252,253,.04) 100%); }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: 520px; }
.hero-copy { width: min(56%, 660px); padding: 55px 0; }
.hero-copy .lead { max-width: 590px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 22px 0 0; padding: 0; list-style: none; color: #405665; font-size: 14px; }
.hero-checks li::before { content: '\2713'; margin-right: 6px; color: #54842c; font-weight: bold; }
.proof-strip { border-bottom: 1px solid #c8d3da; background: linear-gradient(#fff, #f1f4f6); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 20px 18px; border-right: 1px solid #d2dbe0; text-align: center; }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; color: var(--blue-dark); font: bold 22px Georgia, serif; }
.proof-item span { color: #667783; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }

/* Sections */
.impact-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 50px; }
.photo-frame { padding: 7px; border: 1px solid #b8c5cd; background: #fff; box-shadow: var(--shadow); transform: rotate(-1deg); }
.photo-frame img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.outcome-list { display: grid; gap: 13px; margin: 24px 0 0; padding: 0; list-style: none; }
.outcome-list li { position: relative; padding-left: 34px; }
.outcome-list li::before { content: '\2713'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border: 1px solid #9db485; background: #edf5e7; color: #4d7d27; font-weight: bold; line-height: 20px; text-align: center; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-card { display: flex; min-height: 190px; flex-direction: column; padding: 24px; border: 1px solid #c6d1d8; border-top: 4px solid var(--blue); background: #fff; box-shadow: 0 1px 4px rgba(26,47,62,.1); }
.benefit-number { float: right; margin: -6px 0 10px 12px; color: #dce6ec; font: bold 38px Georgia, serif; }
.benefit-card p { margin-top: auto; }
.reward-section { border-block: 1px solid #0a304c; background: linear-gradient(135deg, #123e5e, #1b6088); color: #fff; }
.reward-heading { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.reward-heading .eyebrow { color: #ffd477; }
.reward-heading h2 { color: #fff; }
.reward-heading > p:last-child { margin-bottom: 0; color: #dfedf5; font-size: 18px; }
.reward-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.reward-card { display: flex; min-height: 340px; flex-direction: column; padding: 24px 21px 20px; border: 1px solid #9fb5c3; border-top: 5px solid #e7b957; background: #fff; color: #263442; box-shadow: 0 8px 20px rgba(3,25,39,.24); }
.reward-card h3 { color: #183a52; font-size: 21px; }
.reward-card > p { color: #506675; }
.reward-stat { display: flex; min-height: 70px; align-items: center; gap: 10px; margin-bottom: 13px; }
.reward-stat > span { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e9f2f7; color: #155b8f; font: bold 23px/1 Georgia, serif; }
.reward-stat strong { color: #155b8f; font: bold clamp(29px, 2.7vw, 40px)/1 Georgia, serif; letter-spacing: -.03em; }
.reward-source { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 16px; border-top: 1px dotted #aebbc4; color: #194e73 !important; font-size: 12px; font-weight: bold; line-height: 1.3; text-decoration: none; }
.reward-source:hover, .reward-source:focus { color: #963e05 !important; text-decoration: underline; }
.reward-brand-mark { display: grid; width: 48px; height: 36px; flex: 0 0 48px; place-items: center; overflow: hidden; border: 1px solid #9bb0bd; border-radius: 3px; background: #edf4f8; color: #174f72; font-size: 11px; font-weight: 900; letter-spacing: .04em; text-decoration: none; }
.reward-brand-mark img { display: block; width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.reward-note { max-width: 880px; margin: 24px auto 0; color: #d4e5ef; font-size: 12px; text-align: center; }
.flex-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 55px; }
.schedule-box { padding: 26px; border: 1px solid #becbd3; background: #fff; box-shadow: var(--shadow); }
.schedule-row { display: grid; grid-template-columns: 78px 1fr; align-items: center; padding: 12px 0; border-bottom: 1px dotted #b6c2c9; }
.schedule-row:last-child { border-bottom: 0; }
.schedule-row time { color: var(--blue-dark); font-weight: bold; }
.schedule-bar { height: 12px; border: 1px solid #bac8d1; background: #e8eef2; }
.schedule-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #75a6ca); }

/* Courses */
.course-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding: 10px 12px; border: 1px solid #ccd6dc; background: linear-gradient(#fff, #edf1f3); color: #5a6d7a; font-size: 13px; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card { display: flex; flex-direction: column; border: 1px solid #b9c7d0; background: #fff; box-shadow: var(--shadow); }
.course-card__image { position: relative; overflow: hidden; border-bottom: 1px solid #aebbc4; background: #dce7ee; }
.course-card__image img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .25s ease; }
.course-card:hover .course-card__image img { transform: scale(1.025); }
.course-label { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border: 1px solid #687b88; background: #fff; color: #203c50; font-size: 11px; font-weight: bold; text-transform: uppercase; }
.course-card__body { display: flex; flex: 1; flex-direction: column; padding: 19px; }
.course-card h3 a { color: #203b52; text-decoration: none; }
.course-card h3 a:hover { color: var(--blue); text-decoration: underline; }
.purchased-course-card h2 { margin: 0 0 10px; font-size: 23px; }
.purchased-course-card h2 a { color: #203b52; text-decoration: none; }
.purchased-course-card h2 a:hover { color: var(--blue); text-decoration: underline; }
.course-card__body p { margin: 0 0 15px; color: #657580; font-size: 14px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: auto; padding-top: 14px; border-top: 1px dotted #b9c4ca; color: #536875; font-size: 12px; }
.course-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.course-price { color: var(--orange-dark); font: bold 19px Georgia, serif; }
.empty-state { grid-column: 1 / -1; padding: 30px; border: 1px solid #c8d3da; background: #fff; text-align: center; }

/* Theme-owned course catalogue */
.course-catalog-page { min-height: 620px; background: #f6f7f9; }
.course-catalog-hero { padding: 54px 0; border-bottom: 1px solid #0a3355; background: linear-gradient(120deg, #153f68, #0f5c93); color: #fff; }
.course-catalog-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .65fr); align-items: center; gap: 52px; }
.course-catalog-hero .eyebrow { color: #b9d9ee; }
.course-catalog-hero h1 { max-width: 780px; margin-bottom: 14px; color: #fff; font-size: clamp(38px, 4vw, 58px); line-height: 1.05; }
.course-catalog-hero .lead { max-width: 760px; margin: 0; color: #e4f0f8; }
.course-catalog-search { display: flex; gap: 9px; padding: 13px; border: 1px solid rgba(255,255,255,.45); border-radius: 4px; background: #fff; box-shadow: 0 8px 24px rgba(5,30,49,.22); }
.course-catalog-search input { min-width: 0; flex: 1; padding: 12px 13px; border: 1px solid #8798a4; border-radius: 2px; background: #fff; color: #243441; font-size: 16px; }
.course-catalog-search .button { flex: 0 0 auto; }
.course-catalog-body { padding: 46px 0 76px; }
.course-catalog-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); align-items: start; gap: 32px; }
.course-category-panel { position: sticky; top: var(--ca-catalog-sticky-top, 98px); display: flex; flex-direction: column; max-height: var(--ca-catalog-sticky-max-height, calc(100vh - 116px)); overflow: hidden; border: 1px solid #c4cdd4; border-radius: 3px; background: #fff; box-shadow: 0 2px 8px rgba(25,45,60,.08); }
.course-category-panel h2 { flex: 0 0 auto; margin: 0; padding: 19px 18px 14px; border-bottom: 1px solid #d6dde2; color: #1f3342; font-size: 20px; }
.course-category-nav { display: grid; flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 8px; overscroll-behavior: contain; scrollbar-gutter: stable; }
.course-category-nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 10px; border-left: 4px solid transparent; color: #324c60; font-weight: 600; text-decoration: none; }
.course-category-nav a:hover, .course-category-nav a:focus, .course-category-nav a[aria-current="page"] { border-left-color: var(--blue); background: #e9f2f8; color: #0f4f7f; }
.course-category-nav small { min-width: 27px; padding: 2px 6px; border-radius: 12px; background: #e5eaee; color: #53636f; font-size: 11px; text-align: center; }
.course-catalog-results { min-width: 0; }
.course-catalog-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid #c8d1d7; }
.course-catalog-toolbar h2 { margin: 0 0 3px; font-size: 28px; }
.course-catalog-toolbar p { margin: 0; color: #657580; }
.course-catalog-toolbar form { display: flex; align-items: center; gap: 8px; }
.course-catalog-toolbar label { font-weight: 700; white-space: nowrap; }
.course-catalog-toolbar select { min-height: 39px; padding: 7px 30px 7px 9px; border: 1px solid #8999a5; background: #fff; color: #263442; }
.course-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }
.course-catalog-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #bdc7ce; border-radius: 2px; background: #fff; box-shadow: 0 2px 7px rgba(25,45,60,.1); transition: transform .18s ease, box-shadow .18s ease; }
.course-catalog-card:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(25,45,60,.16); }
.course-catalog-card__image { position: relative; display: block; overflow: hidden; background: #dce7ee; }
.course-catalog-card__image img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .25s ease; }
.course-catalog-card:hover .course-catalog-card__image img { transform: scale(1.03); }
.course-catalog-card__image > span { position: absolute; right: 9px; bottom: 9px; padding: 4px 8px; border: 1px solid rgba(24,48,66,.35); border-radius: 2px; background: rgba(255,255,255,.95); color: #193a53; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.course-catalog-card__body { display: flex; min-height: 285px; flex: 1; flex-direction: column; padding: 18px; }
.course-catalog-card__category { min-height: 18px; margin: 0 0 8px; color: #176398; font-size: 11px; font-weight: 800; letter-spacing: .04em; line-height: 1.35; text-transform: uppercase; }
.course-catalog-card__category a { color: inherit; text-decoration: none; }
.course-catalog-card__category a:hover, .course-catalog-card__category a:focus { text-decoration: underline; }
.course-catalog-card h2 { margin: 0 0 10px; font: bold 22px/1.2 Arial, Helvetica, sans-serif; }
.course-catalog-card h2 a { color: #172f43; text-decoration: none; }
.course-catalog-card h2 a:hover, .course-catalog-card h2 a:focus { color: var(--blue); text-decoration: underline; }
.course-catalog-card__excerpt { margin: 0 0 16px; color: #596b78; font-size: 14px; }
.course-catalog-card__meta { display: flex; flex-wrap: wrap; gap: 6px 11px; margin-top: auto; padding-top: 13px; border-top: 1px solid #e0e4e7; color: #4d6271; font-size: 12px; }
.course-catalog-card__meta .course-rating { width: 100%; color: #8e4208; font-weight: 700; }
.course-catalog-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; }
.course-catalog-card__footer > strong { color: #182f40; font-size: 19px; }
.course-catalog-card__footer .button { min-width: 112px; padding: 8px 12px; text-align: center; }
.course-catalog-empty { padding: 48px 28px; border: 1px dashed #aebcc5; background: #fff; text-align: center; }
.course-catalog-pagination { margin-top: 32px; }
.course-catalog-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.course-catalog-pagination .page-numbers { display: inline-flex; min-width: 38px; min-height: 38px; align-items: center; justify-content: center; padding: 6px 10px; border: 1px solid #aebcc5; background: #fff; color: #1c557f; text-decoration: none; }
.course-catalog-pagination .page-numbers:hover, .course-catalog-pagination .page-numbers:focus, .course-catalog-pagination .page-numbers.current { border-color: #175e91; background: #175e91; color: #fff; }

/* Reviews and CTA */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { position: relative; margin: 0; padding: 26px 23px 22px; border: 1px solid #c6d0d7; background: #fff; box-shadow: 0 1px 4px rgba(20,42,58,.1); }
.review-card::before { content: '\201C'; position: absolute; top: 8px; right: 14px; color: #dce6ec; font: 52px/1 Georgia, serif; }
.review-card blockquote { margin: 0 0 20px; color: #455a68; font-family: Georgia, serif; font-size: 16px; font-style: italic; }
.review-person { display: flex; align-items: center; gap: 11px; border-top: 1px dotted #bdc8ce; padding-top: 14px; }
.review-avatar { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #99abb7; border-radius: 50%; background: var(--blue-pale); color: var(--blue-dark); font-weight: bold; }
.stars { color: #9e4908; letter-spacing: 1px; }
.review-person small { display: block; color: #73818a; }
.final-cta { padding: 55px 20px; border-block: 1px solid #174773; background: #1f5f99 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M0 71.5h72M71.5 0v72' stroke='%233470a4' stroke-width='1'/%3E%3C/svg%3E"); color: #fff; text-align: center; }
.final-cta h2 { color: #fff; }
.final-cta p { max-width: 650px; margin: 0 auto; color: #dceaf3; }
.final-cta .button-row { justify-content: center; }

/* Footer and inner pages */
.site-footer { border-top: 5px solid var(--orange); background: #273b4a; color: #cbd6dd; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 45px; padding: 42px 0 30px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer .brand-text { color: #fff; }
.site-footer a { color: #d9e9f4; }
.site-footer a:hover, .site-footer a:focus { color: #fff; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { padding: 3px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid #405563; color: #aebbc4; font-size: 12px; }
.content-shell { min-height: 520px; padding: 55px 0 75px; }
.page-header { margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid #cbd5db; }
.content-card { padding: 30px; border: 1px solid #c5d0d7; background: #fff; box-shadow: var(--shadow); }
.post-list-card { margin-bottom: 20px; }
.article-content { max-width: 760px; }
.article-content > *:first-child { margin-top: 0; }
.course-single-hero { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border: 1px solid #afbec8; background: #eef4f7; box-shadow: var(--shadow); }
.course-single-copy { padding: 40px; }
.course-single-media img { width: 100%; height: 100%; min-height: 410px; object-fit: cover; }
.course-facts { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 15px 0; border-block: 1px dotted #aebdc6; color: #506776; }
.course-body-grid { display: grid; grid-template-columns: 1fr 280px; gap: 30px; margin-top: 32px; }
.sidebar-box { align-self: start; padding: 22px; border: 1px solid #c2ced5; background: #f4f6f7; }
.contact-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 35px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 4px; font-weight: bold; }
.field input, .field textarea { width: 100%; padding: 9px 10px; border: 1px solid #aebcc5; background: #fff; }
.notice { margin-bottom: 20px; padding: 12px 15px; border: 1px solid #9fbd8c; background: #eef6e8; color: #3d6525; }
.notice--error { border-color: #b8705d; background: #fff1ed; color: #762b1a; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-help { margin-top: 5px; color: #53636f; font-size: 13px; }
.form-check { display: flex; align-items: flex-start; gap: 9px; margin: 18px 0; }
.form-check input { flex: 0 0 auto; margin-top: 6px; }
.form-check label { font-weight: normal; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.account-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
.account-actions { display: grid; gap: 10px; }
.my-courses-grid { align-items: stretch; }
.purchased-course-card .course-card__body { gap: 12px; }
.purchased-course-card .course-meta { margin-top: 0; }
.purchased-course-card .button { margin-top: 2px; text-align: center; }
.my-course-progress { margin-top: auto; padding-top: 8px; }
.my-course-progress__label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; color: #405665; font-size: 13px; }
.my-course-progress__track { overflow: hidden; height: 11px; border: 1px solid #aebdc6; border-radius: 8px; background: #e7edf1; }
.my-course-progress__track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #75a6ca); }
.my-courses-empty { min-height: 180px; padding: 36px; border: 1px dashed #b9c7d0; background: #f7f9fa; color: #53636f; text-align: center; }
.login-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; padding-top: 16px; border-top: 1px dotted #aebdc6; }
#loginform p { margin: 0 0 16px; }
#loginform label { display: block; margin-bottom: 4px; color: #263442; font-weight: bold; }
#loginform .input { width: 100%; padding: 10px; border: 1px solid #8295a2; background: #fff; color: #263442; }
#loginform .login-remember label { display: inline-flex; align-items: center; gap: 7px; font-weight: normal; }
#loginform #wp-submit { min-height: 42px; padding: 10px 20px; border: 1px solid #0f456e; border-radius: 3px; background: linear-gradient(#246d9f, #155b8f); color: #fff !important; font-weight: bold; cursor: pointer; }
.pagination { margin-top: 30px; }

/* Tutor LMS compatibility */
.tutor-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-right: 32px; padding-left: 32px; }
.tutor-lms .tutor-btn-primary, .tutor-lms a.tutor-btn-primary { border-color: #0f456e !important; background: #155b8f !important; color: #fff !important; }
.tutor-lms .tutor-btn-primary:hover, .tutor-lms .tutor-btn-primary:focus { background: #0f456e !important; color: #fff !important; }
.tutor-lms .tutor-dashboard-menu-item.active a, .tutor-lms .tutor-dashboard-menu-item a:hover { background: #e7f1f7; color: #0f456e !important; }
.tutor-lms .tutor-form-control { border-color: #8295a2; background: #fff; color: #263442; }
.tutor-lms .tutor-card, .tutor-lms .tutor-course-card { color: #263442; }
.single-courses .tutor-course-details-instructors,
.single-courses .tutor-course-details-info > div > a.tutor-d-flex,
.single-courses .tutor-course-details-info > div > span.tutor-mr-16 { display: none !important; }

/* Theme-owned Tutor learning experience */
body.single-lesson,
body.single-tutor_quiz,
body.single-tutor_assignments { background: #eef2f4; }
body.single-lesson .site-wrap,
body.single-tutor_quiz .site-wrap,
body.single-tutor_assignments .site-wrap { min-height: 100vh; }
.tutor-course-single-content-wrapper {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 680px;
  grid-template-columns: minmax(285px, 340px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 2.5vw, 34px);
  margin: 0 !important;
  padding: clamp(22px, 3vw, 42px) clamp(18px, 4vw, 64px) 60px !important;
  background: #eef2f4;
}
.tutor-course-single-sidebar-wrapper {
  position: sticky !important;
  z-index: 5;
  top: 118px;
  overflow: hidden auto;
  width: 100% !important;
  max-height: calc(100vh - 144px);
  border: 1px solid #aebdc7;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(25,46,63,.12);
}
.tutor-course-single-sidebar-title {
  padding: 17px 18px !important;
  border-bottom: 1px solid #aebdc7;
  background: linear-gradient(#204f76, #173f61) !important;
}
.tutor-course-single-sidebar-title span { color: #fff !important; font-weight: 800 !important; }
.tutor-course-single-sidebar-wrapper .tutor-course-topic { border-bottom: 1px solid #d4dde2; }
.tutor-course-single-sidebar-wrapper .tutor-accordion-item-header {
  position: relative;
  display: flex !important;
  align-items: center;
  box-sizing: border-box;
  gap: 10px;
  width: 100%;
  padding: 13px 46px 13px 16px !important;
  background: #edf3f7 !important;
  color: #20384a !important;
}
.tutor-course-single-sidebar-wrapper .tutor-course-topic-summary {
  min-width: 34px;
  flex: 0 0 auto;
  margin-left: auto !important;
  padding: 1px 0 1px 10px !important;
  border-left: 1px solid currentColor;
  opacity: .82;
  text-align: right;
  white-space: nowrap;
}
.tutor-course-single-sidebar-wrapper .tutor-accordion-item-header:hover,
.tutor-course-single-sidebar-wrapper .tutor-accordion-item-header.is-active { background: #dcebf5 !important; color: #0f4b77 !important; }
.tutor-course-single-sidebar-wrapper .tutor-course-topic-item a {
  min-height: 48px;
  padding: 11px 14px !important;
  border-left: 4px solid transparent;
  color: #314b5e !important;
  text-decoration: none;
}
.tutor-course-single-sidebar-wrapper .tutor-course-topic-item a:hover,
.tutor-course-single-sidebar-wrapper .tutor-course-topic-item.is-active > a {
  border-left-color: var(--orange);
  background: #fff6ef !important;
  color: #163f5e !important;
}
.tutor-course-single-sidebar-wrapper .tutor-course-topic-item-title { color: inherit !important; line-height: 1.35; }
#tutor-single-entry-content {
  overflow: hidden;
  min-width: 0;
  width: 100% !important;
  max-width: none !important;
  border: 1px solid #b8c5cd;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(25,46,63,.12);
}
#tutor-single-entry-content .tutor-course-topic-single-header {
  padding: 20px clamp(20px, 3vw, 38px) !important;
  border-bottom: 1px solid #b8c5cd;
  background: linear-gradient(110deg, #153f68, #17689e) !important;
  color: #fff !important;
}
#tutor-single-entry-content .tutor-course-topic-single-header * { color: #fff !important; }
#tutor-single-entry-content .tutor-course-topic-single-body { padding: 0 !important; background: #fff; }
#tutor-single-entry-content .tutor-course-spotlight-wrapper { width: 100%; max-width: none; }
#tutor-single-entry-content .tutor-course-spotlight-tab { width: 100%; }
#tutor-single-entry-content .tutor-tab-item { padding: clamp(22px, 3vw, 46px) !important; }
#tutor-single-entry-content .tutor-video-player-wrapper { background: #17222b; }
#tutor-single-entry-content .tutor-course-topic-single-footer {
  padding: 18px clamp(20px, 3vw, 38px) !important;
  border-top: 1px solid #c6d1d8;
  background: #f3f6f8;
}
.tutor-course-single-content-wrapper .tutor-btn-primary,
.tutor-course-single-content-wrapper a.tutor-btn-primary {
  border-color: #0f456e !important;
  background: #155b8f !important;
  color: #fff !important;
}
.tutor-course-single-content-wrapper .tutor-btn-primary:hover,
.tutor-course-single-content-wrapper .tutor-btn-primary:focus { background: #0f456e !important; }
.tutor-course-single-content-wrapper .tutor-btn-secondary,
.tutor-course-single-content-wrapper .tutor-btn-outline-primary { border-color: #496f89 !important; background: #fff !important; color: #174e77 !important; }
.tutor-course-single-content-wrapper .tutor-btn-secondary:hover,
.tutor-course-single-content-wrapper .tutor-btn-secondary:focus,
.tutor-course-single-content-wrapper .tutor-btn-outline-primary:hover,
.tutor-course-single-content-wrapper .tutor-btn-outline-primary:focus { background: #e8f2f8 !important; color: #0f456e !important; }

/* Explicit Tutor quiz contrast, including newer LMS markup. */
body.single-tutor_quiz #tutor-single-entry-content .tutor-quiz-wrap,
body.single-tutor_quiz #tutor-single-entry-content .tutor-quiz-body,
body.single-tutor_quiz #tutor-single-entry-content .tutor-card,
body.single-tutor_quiz #tutor-single-entry-content form { background: #fff; color: #253746; }
body.single-tutor_quiz #tutor-single-entry-content .tutor-quiz-wrap h1,
body.single-tutor_quiz #tutor-single-entry-content .tutor-quiz-wrap h2,
body.single-tutor_quiz #tutor-single-entry-content .tutor-quiz-wrap h3,
body.single-tutor_quiz #tutor-single-entry-content .tutor-quiz-wrap p,
body.single-tutor_quiz #tutor-single-entry-content .tutor-quiz-wrap label,
body.single-tutor_quiz #tutor-single-entry-content .tutor-quiz-wrap span:not(.tutor-iconic-btn-icon) { color: #253746; }
body.single-tutor_quiz #tutor-single-entry-content .tutor-btn-primary *,
body.single-tutor_quiz #tutor-single-entry-content button[type="submit"] * { color: #fff !important; }

/* Rich, interactive lesson content generated by the course pack */
.ca-lesson-workspace { width: 100%; max-width: 980px; margin: 0 auto; color: #253746; }
.ca-lesson-intro {
  margin: 0 0 28px;
  padding: clamp(23px, 4vw, 40px);
  border: 1px solid #b8cad6;
  border-left: 7px solid var(--blue);
  background: linear-gradient(135deg, #f5faff, #eaf3f8);
}
.ca-lesson-kicker { margin: 0 0 7px; color: var(--orange-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ca-lesson-intro h1 { margin: 0 0 12px; color: #17364d; font-size: clamp(31px, 4vw, 46px); }
.ca-lesson-intro > p:last-child { max-width: 760px; margin: 0; color: #425c6e; font-size: 18px; }
.ca-lesson-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 17px; }
.ca-lesson-meta span { padding: 4px 9px; border: 1px solid #91a9b9; border-radius: 2px; background: #fff; color: #244b65; font-size: 12px; font-weight: 700; }
.ca-lesson-section { margin: 28px 0; }
.ca-lesson-section h2 { margin-bottom: 15px; color: #1b3b52; font-size: clamp(25px, 3vw, 32px); }
.ca-lesson-objectives { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ca-lesson-objectives li { position: relative; min-height: 98px; padding: 17px 15px 15px 43px; border: 1px solid #c1cdd4; background: #fff; box-shadow: 0 1px 3px rgba(25,46,63,.08); }
.ca-lesson-objectives li::before { content: '\2713'; position: absolute; top: 16px; left: 16px; color: #527e2d; font-weight: 900; }
.ca-key-idea { padding: 20px 22px; border: 1px solid #e1bd9e; border-left: 6px solid var(--orange); background: #fff8f1; }
.ca-key-idea h2 { margin: 0 0 8px; font-size: 24px; }
.ca-key-idea p { margin: 0; }
.ca-step-list { display: grid; gap: 12px; margin: 0; padding: 0; counter-reset: ca-step; list-style: none; }
.ca-step-list li { position: relative; min-height: 70px; padding: 16px 18px 16px 66px; border: 1px solid #c5d0d7; background: #f9fbfc; counter-increment: ca-step; }
.ca-step-list li::before { content: counter(ca-step); position: absolute; top: 14px; left: 17px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #155b8f; color: #fff; font-weight: 900; }
.ca-practice { margin: 32px 0; padding: clamp(22px, 3vw, 32px); border: 1px solid #90ad80; background: #f2f8ee; }
.ca-practice h2 { margin-bottom: 8px; color: #315626; }
.ca-practice textarea { width: 100%; min-height: 150px; margin-top: 14px; padding: 14px; resize: vertical; border: 1px solid #7e9580; border-radius: 2px; background: #fff; color: #263b2a; }
.ca-practice__tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; color: #526857; font-size: 12px; }
.ca-clear-notes { padding: 5px 9px; border: 1px solid #86988a; border-radius: 2px; background: #fff; color: #31523a; cursor: pointer; }
.ca-clear-notes:hover, .ca-clear-notes:focus { border-color: #3f6547; background: #e7f1e5; }
.ca-example { margin: 24px 0; border: 1px solid #b9c8d2; background: #fff; }
.ca-example summary { padding: 15px 18px; background: #edf4f8; color: #19496b; font-weight: 800; cursor: pointer; }
.ca-example[open] summary { border-bottom: 1px solid #b9c8d2; }
.ca-example p { margin: 0; padding: 18px; }
.ca-reflection { padding: 20px 22px; border: 1px dashed #9eafba; background: #f7f8f9; }
.ca-reflection h2 { margin-bottom: 8px; font-size: 24px; }
.ca-lesson-checklist { margin-top: 30px; padding: 23px; border: 1px solid #a9bac5; background: #f4f7f9; }
.ca-lesson-checklist__head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 13px; }
.ca-lesson-checklist h2 { margin: 0; font-size: 25px; }
.ca-lesson-checklist__count { min-width: 52px; padding: 4px 9px; border-radius: 16px; background: #dbe7ee; color: #20465f; font-size: 13px; font-weight: 800; text-align: center; }
.ca-lesson-checklist label { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; padding: 10px 12px; border: 1px solid #d2dade; background: #fff; cursor: pointer; }
.ca-lesson-checklist label:has(input:checked) { border-color: #8aab77; background: #f0f7ec; }
.ca-lesson-checklist input { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 2px; accent-color: #4f7b31; }
.ca-lesson-checklist__message { margin: 12px 0 0; color: #315f25; font-weight: 700; }

/* WooCommerce checkout */
.checkout-shell { min-height: calc(100vh - 180px); padding: 38px 0 60px; }
.checkout-content, .checkout-content .woocommerce, .checkout-content form.checkout, .checkout-content .wc-block-checkout { width: 100%; max-width: none !important; }
.checkout-content > .page-header { margin-bottom: 24px; }
.checkout-content .wc-block-components-sidebar-layout { width: 100%; max-width: none; }
.checkout-content .tutor-container { width: 100%; max-width: none; padding-inline: 0; }
.checkout-content .tutor-checkout-container { width: 100%; max-width: none !important; }
.woocommerce-checkout #payment .woocommerce-info,
.wc-block-checkout .wc-block-components-notice-banner.is-info {
  margin: 14px 0;
  padding: 16px 18px;
  border: 1px solid #a9c7da;
  border-left: 5px solid var(--blue);
  border-radius: 3px;
  background: #edf6fb;
  color: #21445b;
  box-shadow: 0 1px 3px rgba(20, 52, 73, .1);
}
.woocommerce-checkout #payment .woocommerce-info a,
.wc-block-checkout .wc-block-components-notice-banner.is-info a { color: #0f456e; font-weight: bold; }
.woocommerce-checkout #payment .woocommerce-info a:hover,
.wc-block-checkout .wc-block-components-notice-banner.is-info a:hover { color: var(--orange-dark); }
.pagination .page-numbers { display: inline-block; padding: 5px 10px; border: 1px solid #b7c4cc; background: #fff; text-decoration: none; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #f0a34b;
  outline-offset: 3px;
}

/* Keep WooCommerce status messages readable even when extension styles load later. */
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.wc-block-components-notice-banner {
  margin: 0 0 18px !important;
  padding: 15px 18px !important;
  border: 1px solid #9bb5c6 !important;
  border-radius: 4px;
  background: #edf6fb !important;
  color: #173f59 !important;
  box-shadow: 0 2px 7px rgba(20, 52, 73, .1);
  list-style: none;
}
.woocommerce .woocommerce-error,
.wc-block-components-notice-banner.is-error { border-color: #c48575 !important; background: #fff0ec !important; color: #6f291a !important; }
.woocommerce .woocommerce-message,
.wc-block-components-notice-banner.is-success { border-color: #91ad7d !important; background: #edf6e8 !important; color: #31551f !important; }
.woocommerce .woocommerce-error a,
.woocommerce .woocommerce-info a,
.woocommerce .woocommerce-message a,
.wc-block-components-notice-banner a { color: #0f456e !important; font-weight: 700; }

@media (max-width: 1120px) {
  .menu-toggle { display: inline-block; }
  .main-nav { position: absolute; top: 100%; right: 32px; left: 32px; display: none; flex-direction: column; align-items: stretch; max-height: calc(100vh - 110px); overflow-y: auto; padding: 9px; border: 1px solid #768b99; background: #fff; box-shadow: 0 5px 16px rgba(20,44,61,.3); }
  .main-nav.is-open { display: flex; }
  .main-nav > a, .account-menu > button { display: block; width: 100%; padding: 10px; text-align: left; }
  .site-header .main-nav > a.nav-button.button { margin-left: 0; text-align: center; }
  .account-dropdown { position: static; display: none; border: 0; box-shadow: none; }
  .hero-copy { width: 65%; }
  .benefit-grid, .course-grid, .review-grid, .reward-grid { grid-template-columns: repeat(2, 1fr); }
  .course-catalog-hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .course-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-single-hero { grid-template-columns: 1fr; }
  .course-single-media { order: -1; }
  .course-single-media img { min-height: 280px; max-height: 420px; }
  .tutor-course-single-content-wrapper { grid-template-columns: minmax(255px, 300px) minmax(0, 1fr); padding-inline: 22px !important; }
}

@media (min-width: 783px) {
  body.admin-bar .tutor-course-single-sidebar-wrapper { top: 150px; }
}

@media (min-width: 721px) and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .tutor-course-single-sidebar-wrapper { top: 164px; }
}

@media (max-width: 720px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 720px) {
  .container { padding-inline: 18px; }
  .section { padding: 52px 0; }
  .utility-bar .trust-note { display: none; }
  .utility-bar .container { justify-content: flex-end; }
  .header-inner { min-height: 64px; }
  .brand-text { font-size: 26px; }
  .main-nav { right: 18px; left: 18px; }
  .hero { min-height: 610px; background: #eaf2f7; }
  .hero-photo { height: 48%; object-position: 67% center; }
  .hero::after { background: linear-gradient(0deg, #fafdff 0%, #fafdff 58%, rgba(250,253,255,.05) 80%); }
  .hero-inner { align-items: flex-end; min-height: 610px; }
  .hero-copy { width: 100%; padding: 280px 0 35px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid #d2dbe0; }
  .impact-grid, .flex-grid, .contact-grid, .course-body-grid { grid-template-columns: 1fr; gap: 30px; }
  .account-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .benefit-grid, .course-grid, .review-grid, .reward-grid { grid-template-columns: 1fr; }
	.reward-card { min-height: 0; }
  .course-catalog-hero { padding: 42px 0; }
  .course-catalog-search { align-items: stretch; flex-direction: column; }
  .course-catalog-layout { grid-template-columns: 1fr; gap: 25px; }
  .course-category-panel { position: static; display: block; max-height: none; }
  .course-category-nav { display: flex; overflow-x: auto; overflow-y: hidden; padding: 8px; overscroll-behavior-inline: contain; scrollbar-gutter: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .course-category-nav a { flex: 0 0 auto; border-bottom: 3px solid transparent; border-left: 0; white-space: nowrap; scroll-snap-align: start; }
  .course-category-nav a:hover, .course-category-nav a:focus, .course-category-nav a[aria-current="page"] { border-bottom-color: var(--blue); border-left-color: transparent; }
  .course-catalog-toolbar { align-items: stretch; flex-direction: column; }
  .course-catalog-toolbar form { align-items: stretch; flex-wrap: wrap; }
  .course-catalog-toolbar select { min-width: 0; flex: 1; }
  .course-catalog-grid { grid-template-columns: 1fr; }
  .course-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .course-single-copy { padding: 25px; }
  .tutor-wrap { padding-right: 18px; padding-left: 18px; }
  .tutor-course-single-content-wrapper { display: block !important; min-height: 0; padding: 18px 14px 42px !important; }
  .tutor-course-single-sidebar-wrapper { position: relative !important; top: auto; max-height: none; margin-bottom: 17px; }
  #tutor-single-entry-content .tutor-tab-item { padding: 18px !important; }
  .ca-lesson-objectives { grid-template-columns: 1fr; }
  .ca-lesson-objectives li { min-height: 0; }
  .ca-practice__tools, .ca-lesson-checklist__head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .container { padding-inline: 14px; }
  .brand-text { font-size: 24px; }
  .menu-toggle { padding: 7px 9px; }
  .main-nav { right: 14px; left: 14px; }
  h1 { font-size: 34px; }
  .hero-copy { padding-top: 265px; }
  .button-row .button { width: 100%; text-align: center; }
  .proof-item { padding: 16px 8px; }
  .course-card__footer { align-items: stretch; flex-direction: column; }
  .course-card__footer .button { text-align: center; }
  .course-catalog-card__footer { align-items: stretch; flex-direction: column; }
  .course-catalog-card__footer .button { width: 100%; }
  .content-card, .benefit-card, .review-card { padding: 20px; }
  .ca-lesson-intro { padding: 21px 17px; }
  .ca-step-list li { padding-left: 58px; }
  .ca-practice, .ca-lesson-checklist { padding: 18px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ========================================================================
   Coursera Academy 2020 visual edition
   A restrained, editorial course-platform refresh with accessible motion.
   ======================================================================== */

:root {
  --blue: #0f766e;
  --blue-dark: #115e59;
  --blue-pale: #dff7f2;
  --orange: #c2410c;
  --orange-dark: #9a3412;
  --ink: #172033;
  --muted: #5c6678;
  --line: #d9e2e8;
  --paper: #fff;
  --cream: #f5f7fb;
  --shadow: 0 16px 45px rgba(32, 46, 70, .11);
  --wrap: 1280px;
  --ca20-navy: #172554;
  --ca20-indigo: #4338ca;
  --ca20-teal: var(--blue);
  --ca20-coral: var(--orange);
  --ca20-soft: #eef7f6;
  --ca20-radius: 16px;
  --ca20-ease: cubic-bezier(.2, .75, .3, 1);
}

html { scroll-padding-top: 90px; }

body {
  color: var(--ink);
  background: #f6f8fb;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: #99f6e4; color: #12304d; }

.site-wrap { overflow: clip; background: #fff; }
.container { max-width: var(--wrap); padding-inline: clamp(20px, 4vw, 52px); }
.section { padding: clamp(72px, 8vw, 108px) 0; }
.section--soft { border: 0; background: #f6f8fb; }
.section--blue { border: 0; background: linear-gradient(145deg, #eef9f7 0%, #f2f5fc 100%); }

h1,
h2,
h3 {
  color: #17233c;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 760;
  letter-spacing: -.025em;
}

h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.04; }
h2 { font-size: clamp(31px, 4vw, 48px); line-height: 1.12; }
h3 { font-size: 21px; line-height: 1.3; }
.lead { color: #526075; font-size: clamp(18px, 2vw, 21px); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #dcf8f2;
  color: #0b655e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
}

.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading > p:last-child { color: #606b7c; font-size: 18px; }

a,
button,
.button,
.course-card,
.course-catalog-card,
.benefit-card,
.review-card,
.reward-card {
  transition-duration: .28s;
  transition-timing-function: var(--ca20-ease);
}

.button,
.tutor-btn-primary,
.tutor-btn-secondary,
.tutor-btn-outline-primary {
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ca20-teal);
  box-shadow: 0 9px 22px rgba(15, 118, 110, .2);
  color: #fff !important;
  font-weight: 750;
  line-height: 22px;
  text-shadow: none;
}

.button:hover,
.button:focus,
.tutor-btn-primary:hover,
.tutor-btn-primary:focus {
  background: var(--blue-dark);
  box-shadow: 0 13px 28px rgba(15, 118, 110, .27);
  color: #fff !important;
  transform: translateY(-2px);
}

.button--orange,
.site-header .main-nav > a.nav-button.button--orange {
  background: var(--ca20-coral);
  box-shadow: 0 9px 22px rgba(249, 115, 22, .22);
}

.button--orange:hover,
.button--orange:focus,
.site-header .main-nav > a.nav-button.button--orange:hover,
.site-header .main-nav > a.nav-button.button--orange:focus {
  background: var(--orange-dark);
}

.button--light {
  border: 1px solid #ced8df;
  background: #fff;
  box-shadow: 0 7px 18px rgba(30, 46, 65, .09);
  color: #174a55 !important;
}

.button--light:hover,
.button--light:focus { border-color: var(--blue); background: #f0fbf8; color: #0b5e58 !important; }
.button-row { gap: 12px; }

/* Navigation */
.utility-bar {
  border: 0;
  background: linear-gradient(90deg, #172554, #263b75);
  color: #eef2ff;
}

.utility-bar .container { min-height: 34px; }
.trust-note { color: #e8edff; letter-spacing: .02em; }
.language-switcher > a,
.language-switcher > span,
.language-switcher .glink {
  border-color: rgba(255,255,255,.32);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff !important;
}

.language-switcher > a:hover,
.language-switcher > a:focus,
.language-switcher .glink:hover,
.language-switcher .glink:focus { border-color: #5eead4; background: #fff; color: #164e63 !important; }

.site-header {
  border-bottom: 1px solid rgba(193, 205, 216, .75);
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 28px rgba(37, 49, 75, .08);
  backdrop-filter: saturate(145%) blur(16px);
}

.header-inner { min-height: 78px; gap: 28px; }
.brand-text { color: var(--ca20-navy); font: 800 31px/1 Inter, ui-sans-serif, sans-serif; letter-spacing: -.055em; }
.brand-dot { color: var(--ca20-coral); }
.main-nav { gap: 4px; }
.main-nav > a:not(.button),
.account-menu > button {
  padding: 10px 11px;
  border-radius: 8px;
  color: #344158 !important;
  font-size: 13px;
  font-weight: 700;
}

.main-nav > a:hover,
.main-nav > a:focus,
.account-menu > button:hover { background: #edf8f6; color: #0b655e !important; text-decoration: none; }
.site-header .main-nav > a.nav-button.button { padding: 9px 15px; border: 0; background: var(--ca20-teal); }
.account-dropdown { overflow: hidden; min-width: 190px; padding: 8px; border: 1px solid #d9e3e8; border-radius: 12px; box-shadow: 0 18px 45px rgba(31, 44, 67, .16); }
.account-dropdown a { border-radius: 7px; }
.menu-toggle { border-color: #bfd0d7; border-radius: 10px; background: #fff; color: #233850; }

/* Hero */
.hero {
  min-height: 680px;
  border: 0;
  background: var(--ca20-navy);
}

.hero-photo { object-position: 67% center; filter: saturate(.88) contrast(1.02); transform: scale(1.015); }
.hero::after { background: linear-gradient(90deg, rgba(15, 23, 52, .98) 0%, rgba(23, 37, 84, .95) 43%, rgba(23, 37, 84, .5) 69%, rgba(23, 37, 84, .12) 100%); }
.hero-inner { min-height: 680px; }
.hero-copy { width: min(58%, 700px); padding: 86px 0 122px; animation: ca20HeroIn .8s var(--ca20-ease) both; }
.hero-copy h1 { color: #fff; text-wrap: balance; }
.hero-copy .lead { max-width: 650px; color: #d8e2f1; }
.hero-copy .eyebrow { background: rgba(45, 212, 191, .14); color: #8df4df; }
.hero-checks { gap: 10px 14px; color: #e4ecf7; }
.hero-checks li { padding: 5px 10px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; background: rgba(255,255,255,.07); }
.hero-checks li::before { color: #5eead4; }

body.home main#main-content > .proof-strip {
  position: relative;
  z-index: 4;
  width: min(calc(100% - 48px), 1180px);
  margin: -52px auto 0;
  border: 1px solid rgba(206, 218, 226, .9);
  border-radius: var(--ca20-radius);
  background: rgba(255,255,255,.97);
  box-shadow: 0 20px 55px rgba(27, 42, 68, .17);
  backdrop-filter: blur(14px);
}

.proof-item { padding: 25px 18px; border-color: #e1e8ed; }
.proof-item strong { color: var(--ca20-teal); font: 800 27px/1.1 Inter, ui-sans-serif, sans-serif; }
.proof-item span { color: #617081; font-weight: 750; }

/* Homepage editorial sections */
.impact-grid { gap: clamp(42px, 7vw, 88px); }
.photo-frame {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #dbe7ea;
  box-shadow: 0 25px 60px rgba(30, 54, 75, .18);
  transform: none;
}

.photo-frame img { transition: transform .7s var(--ca20-ease); }
.photo-frame:hover img { transform: scale(1.035); }
.outcome-list { gap: 12px; }
.outcome-list li { padding: 16px 18px 16px 54px; border: 1px solid #e0e7eb; border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgba(31, 50, 72, .06); }
.outcome-list li::before { top: 18px; left: 18px; border: 0; border-radius: 50%; background: #d9f5ef; color: #087169; line-height: 22px; }

.benefit-grid { gap: 20px; }
.benefit-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid #e0e7ec;
  border-top: 1px solid #e0e7ec;
  border-radius: var(--ca20-radius);
  box-shadow: 0 12px 35px rgba(35, 51, 74, .08);
}

.benefit-card:hover { border-color: #a8dcd5; box-shadow: 0 20px 48px rgba(25, 62, 77, .13); transform: translateY(-6px); }
.benefit-number { display: grid; width: 50px; height: 50px; margin: 0 0 22px; place-items: center; border-radius: 14px; background: #e3f8f4; color: #0d756d; font: 800 16px/1 Inter, sans-serif; }
.benefit-card h3 { font-size: 22px; }
.benefit-card p { color: #5d6979; }

.reward-section {
  border: 0;
  background: linear-gradient(130deg, #172554 0%, #293a79 48%, #0f766e 135%);
}

.reward-heading { max-width: 820px; margin-bottom: 48px; }
.reward-heading .eyebrow { background: rgba(255,255,255,.12); color: #99f6e4; }
.reward-heading > p:last-child { color: #dce5f5; }
.reward-grid { gap: 18px; }
.reward-card { min-height: 370px; padding: 27px 24px 22px; border: 1px solid rgba(255,255,255,.18); border-top: 1px solid rgba(255,255,255,.18); border-radius: var(--ca20-radius); box-shadow: 0 20px 45px rgba(7, 18, 45, .25); }
.reward-card:hover { box-shadow: 0 28px 60px rgba(7, 18, 45, .34); transform: translateY(-6px); }
.reward-stat > span { background: #e2f7f3; color: #0c7169; }
.reward-stat strong { color: var(--ca20-teal); font-family: Inter, sans-serif; }
.reward-brand-mark { border-radius: 9px; }
.reward-note { color: #ccd8ec; }

.flex-grid { gap: clamp(45px, 7vw, 90px); }
.schedule-box { padding: 32px; border: 1px solid #dce7e9; border-radius: 20px; box-shadow: 0 22px 55px rgba(31, 57, 73, .13); }
.schedule-row { border-color: #dce4e8; }
.schedule-bar { height: 11px; overflow: hidden; border: 0; border-radius: 999px; background: #e5ecef; }
.schedule-bar span { border-radius: inherit; background: linear-gradient(90deg, var(--ca20-teal), #2dd4bf); }

/* Course cards and catalogue */
.course-toolbar,
.course-catalog-toolbar {
  padding: 14px 17px;
  border: 1px solid #dae3e8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(29, 47, 67, .05);
}

.course-grid,
.course-catalog-grid { gap: 25px; }
.course-card,
.course-catalog-card,
.purchased-course-card {
  overflow: hidden;
  border: 1px solid #dbe4e9;
  border-radius: var(--ca20-radius);
  box-shadow: 0 13px 36px rgba(32, 48, 71, .1);
}

.course-card:hover,
.course-catalog-card:hover { border-color: #9dd6cf; box-shadow: 0 22px 52px rgba(26, 57, 73, .16); transform: translateY(-7px); }
.course-card__image,
.course-catalog-card__image { border: 0; }
.course-label,
.course-catalog-card__category { border: 0; border-radius: 999px; background: rgba(255,255,255,.94); color: #174b56; font-weight: 800; box-shadow: 0 5px 16px rgba(18, 35, 52, .14); }
.course-card__body,
.course-catalog-card__body { padding: 24px; }
.course-meta,
.course-catalog-card__meta { color: #667485; }
.course-price { color: var(--ca20-teal); font-family: Inter, sans-serif; font-size: 23px; font-weight: 820; }

.course-catalog-hero {
  border: 0;
  background: linear-gradient(125deg, #172554, #34449a 65%, #0f766e 145%);
}

.course-catalog-hero h1,
.course-catalog-hero h2 { color: #fff; }
.course-catalog-hero p { color: #d9e4f3; }
.course-catalog-search { overflow: hidden; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: #fff; box-shadow: 0 16px 35px rgba(9, 20, 50, .23); }
.course-catalog-search input { border: 0; }
.course-category-panel,
.sidebar-box { border: 1px solid #dbe4e9; border-radius: 14px; box-shadow: 0 12px 32px rgba(30, 48, 68, .08); }
.course-category-nav a { border-radius: 8px; }

/* Reviews and closing CTA */
.review-grid { gap: 22px; }
.review-card { padding: 29px; border: 1px solid #dfe7eb; border-radius: var(--ca20-radius); box-shadow: 0 13px 36px rgba(31, 47, 69, .08); }
.review-card:hover { box-shadow: 0 20px 46px rgba(31, 47, 69, .13); transform: translateY(-5px); }
.stars { color: #b94700; letter-spacing: .08em; }
.review-avatar { background: linear-gradient(135deg, var(--ca20-teal), #2a4b8d); }

.final-cta {
  padding: clamp(72px, 9vw, 112px) 0;
  border: 0;
  background: linear-gradient(120deg, #eef9f7 0%, #f3f5ff 58%, #fff3e8 100%);
  color: var(--ink);
}

.final-cta .container { position: relative; max-width: 1040px; padding: clamp(32px, 6vw, 68px); overflow: hidden; border: 1px solid #dbe4e9; border-radius: 26px; background: #fff; box-shadow: 0 25px 70px rgba(37, 53, 78, .14); }
.final-cta .container::after { content: ''; position: absolute; right: -75px; bottom: -95px; width: 240px; height: 240px; border-radius: 50%; background: linear-gradient(135deg, rgba(45,212,191,.24), rgba(67,56,202,.15)); pointer-events: none; }
.final-cta h2 { color: #17233c; }
.final-cta p { color: #5b6879; }

/* Interior pages, accounts and checkout */
.content-shell,
.checkout-shell { background: #f6f8fb; }
.content-card,
.article-content,
.contact-grid > *,
.account-grid > *,
.my-courses-empty {
  border: 1px solid #dce5ea;
  border-radius: var(--ca20-radius);
  background: #fff;
  box-shadow: 0 15px 42px rgba(31, 48, 69, .09);
}

.input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea,
.tutor-form-control {
  border-color: #cbd8df;
  border-radius: 10px;
  background: #fff;
  color: #1f2d40;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.input:focus,
input:focus,
select:focus,
textarea:focus,
.tutor-form-control:focus { border-color: var(--ca20-teal); box-shadow: 0 0 0 4px rgba(15,118,110,.13); outline: 0; }

.course-single-hero { overflow: hidden; border: 1px solid #dce5e9; border-radius: 22px; box-shadow: 0 22px 55px rgba(31, 47, 68, .13); }
.course-single-copy { background: #fff; }
.course-single-media { background: #dce8ea; }
.course-facts > * { border-radius: 10px; background: #f5f8fa; }

.checkout-content .woocommerce,
.checkout-content .wc-block-checkout { padding: clamp(20px, 4vw, 38px); border: 1px solid #dce5e9; border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(30, 46, 67, .1); }

/* Tutor learning workspace */
.tutor-wrap,
.tutor-course-spotlight-wrapper { color: #263348; }
.tutor-course-single-content-wrapper { gap: 20px; background: #f4f7fa !important; }
.tutor-course-single-sidebar-wrapper { overflow: hidden; border: 1px solid #d8e2e7 !important; border-radius: 14px; background: #fff !important; box-shadow: 0 13px 38px rgba(31, 48, 70, .1); }
.tutor-course-single-sidebar-title { background: linear-gradient(120deg, #172554, #294184) !important; }
.tutor-course-topic { border-color: #dbe4e9 !important; border-radius: 10px; }
.tutor-course-topic-item:hover { background: #eaf8f5 !important; }
#tutor-single-entry-content .tutor-tab-item,
.tutor-course-topic-single-body,
.tutor-quiz-wrap { border: 1px solid #dce5ea; border-radius: 16px; background: #fff !important; box-shadow: 0 15px 42px rgba(31, 48, 70, .08); }

.ca-lesson-intro { border: 0; border-radius: 18px; background: linear-gradient(135deg, #edf9f7, #f1f4ff); box-shadow: 0 14px 38px rgba(31, 50, 72, .09); }
.ca-lesson-intro h1 { color: #172c4b; }
.ca-lesson-objectives li,
.ca-step-list li,
.ca-key-idea,
.ca-practice,
.ca-example,
.ca-reflection,
.ca-lesson-checklist { border-radius: 12px; }
.ca-step-list li::before { background: var(--ca20-teal); }
.ca-practice { border-color: #a9d8c0; background: #f0faf5; }
.ca-lesson-checklist { background: #f5f8fa; }

/* Footer */
.site-footer {
  border-top: 0;
  background: #111a35;
  color: #c9d3e6;
}

.site-footer h3,
.site-footer .brand-text { color: #fff; }
.site-footer a { color: #dce5f7; }
.site-footer a:hover,
.site-footer a:focus { color: #5eead4; }
.footer-bottom { border-color: rgba(255,255,255,.13); color: #aebbd1; }
.site-footer .language-switcher > a,
.site-footer .language-switcher .glink { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.08); }

/* Restrained movement: page entrance, hover lift and scroll-reveal support. */
@keyframes ca20HeroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .main-nav { right: 24px; left: 24px; gap: 3px; padding: 12px; border: 1px solid #d5e0e6; border-radius: 14px; background: rgba(255,255,255,.98); box-shadow: 0 22px 55px rgba(28, 44, 67, .2); }
  .hero-copy { width: 68%; }
  .reward-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reward-card { min-height: 320px; }
}

@media (max-width: 720px) {
  .container { padding-inline: 20px; }
  .section { padding: 68px 0; }
  .header-inner { min-height: 68px; }
  .hero,
  .hero-inner { min-height: 660px; }
  .hero-photo { inset: 0; height: 100%; object-position: 69% center; }
  .hero::after { background: linear-gradient(0deg, rgba(15,23,52,.99) 0%, rgba(23,37,84,.94) 58%, rgba(23,37,84,.28) 100%); }
  .hero-inner { align-items: flex-end; }
  .hero-copy { width: 100%; padding: 220px 0 100px; }
  .hero-copy h1 { font-size: clamp(39px, 11vw, 56px); }
  body.home main#main-content > .proof-strip { width: calc(100% - 28px); margin-top: -45px; }
  .proof-item { padding: 20px 10px; }
  .benefit-card { min-height: 0; }
  .reward-grid { grid-template-columns: 1fr; }
  .reward-card { min-height: 0; }
  .final-cta { padding-inline: 14px; }
  .final-cta .container { border-radius: 20px; }
  .course-single-hero { border-radius: 16px; }
  .tutor-course-single-sidebar-wrapper { border-radius: 12px; }
}

@media (max-width: 420px) {
  .container { padding-inline: 16px; }
  h2 { font-size: 32px; }
  .hero-copy { padding-bottom: 94px; }
  .hero-checks li { width: 100%; }
  .proof-item strong { font-size: 23px; }
  .proof-item span { font-size: 10px; }
  .benefit-card,
  .review-card,
  .reward-card { padding: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy { animation: none; }
  .course-card:hover,
  .course-catalog-card:hover,
  .benefit-card:hover,
  .review-card:hover,
  .reward-card:hover,
  .button:hover,
  .button:focus { transform: none; }
}

/* 2.1 palette: warm editorial plum, forest, ivory and gold.
   These overrides deliberately remove the blue/orange resemblance of the
   classic theme while retaining WCAG-friendly text and action contrast. */
:root {
  --blue: #5a2a5d;
  --blue-dark: #3d1c40;
  --blue-pale: #f3e8f1;
  --orange: #80560d;
  --orange-dark: #5a3a08;
  --ink: #29222f;
  --muted: #675f69;
  --line: #e4d9df;
  --paper: #fffdf9;
  --cream: #f8f2ed;
  --ca20-navy: #3d1c40;
  --ca20-indigo: #6f3f70;
  --ca20-teal: #5a2a5d;
  --ca20-coral: #80560d;
  --ca20-soft: #f5edf3;
  --ca21-plum: #5a2a5d;
  --ca21-plum-deep: #351738;
  --ca21-forest: #2f6256;
  --ca21-forest-deep: #21483f;
  --ca21-gold: #e8bf5a;
  --ca21-gold-light: #f7e6b7;
  --ca21-ivory: #fffaf3;
  --ca21-rose: #f6edf3;
  --ca21-ink: #29222f;
}

body { color: var(--ca21-ink); background: #f8f3ed; }
::selection { background: var(--ca21-gold-light); color: #2b1b2e; }
.site-wrap { background: var(--ca21-ivory); }
.section--soft { background: var(--ca21-rose); }
.section--blue { background: linear-gradient(145deg, #f0e8ee 0%, #f5f0e8 100%); }
h1, h2, h3 { color: #332438; }
.lead, .section-heading > p:last-child { color: #675f69; }

.eyebrow { background: #efe0eb; color: #5a2a5d; }

.button,
.tutor-btn-primary,
.tutor-btn-secondary,
.tutor-btn-outline-primary {
  background: var(--ca21-forest);
  box-shadow: 0 9px 22px rgba(47, 98, 86, .23);
  color: #fff !important;
}

.button:hover,
.button:focus,
.tutor-btn-primary:hover,
.tutor-btn-primary:focus {
  background: var(--ca21-forest-deep);
  box-shadow: 0 13px 28px rgba(33, 72, 63, .28);
}

.button--orange,
.site-header .main-nav > a.nav-button.button--orange {
  background: var(--ca21-gold);
  box-shadow: 0 9px 24px rgba(99, 70, 16, .22);
  color: #30230e !important;
}

.button--orange:hover,
.button--orange:focus,
.site-header .main-nav > a.nav-button.button--orange:hover,
.site-header .main-nav > a.nav-button.button--orange:focus {
  background: #d8a939;
  color: #241807 !important;
}

.button--light { border-color: #d9cbd3; background: #fffdf9; color: #4b284d !important; }
.button--light:hover,
.button--light:focus { border-color: var(--ca21-plum); background: #f7edf4; color: #3d1c40 !important; }

.utility-bar { background: var(--ca21-gold); color: #30230e; }
.trust-note { color: #30230e; font-weight: 700; }
.language-switcher > a,
.language-switcher > span,
.language-switcher .glink { border-color: rgba(61, 28, 64, .45); background: rgba(255,255,255,.34); color: #3d1c40 !important; }
.language-switcher > a:hover,
.language-switcher > a:focus,
.language-switcher .glink:hover,
.language-switcher .glink:focus { border-color: var(--ca21-plum-deep); background: var(--ca21-plum-deep); color: #fff !important; }

.site-header { border-bottom-color: rgba(113, 83, 103, .22); background: rgba(255,250,243,.94); box-shadow: 0 8px 28px rgba(67, 43, 61, .09); }
.brand-text { color: var(--ca21-plum-deep); }
.brand-dot { color: var(--ca21-gold); }
.main-nav > a:not(.button),
.account-menu > button { color: #4e3f50 !important; }
.main-nav > a:hover,
.main-nav > a:focus,
.account-menu > button:hover { background: #f1e5ed; color: var(--ca21-plum) !important; }
.site-header .main-nav > a.nav-button.button {
  background: var(--ca21-forest);
  color: #fff !important;
}
.site-header .main-nav > a.nav-button.button:hover,
.site-header .main-nav > a.nav-button.button:focus {
  background: var(--ca21-forest-deep);
  color: #fff !important;
}
.account-dropdown { border-color: #e3d6de; background: #fffdf9; box-shadow: 0 18px 45px rgba(61, 38, 55, .16); }

.hero { background: var(--ca21-plum-deep); }
.hero-photo { filter: sepia(.08) saturate(.76) contrast(1.03); }
.hero::after { background: linear-gradient(90deg, rgba(48, 18, 50, .98) 0%, rgba(70, 31, 70, .95) 43%, rgba(70, 31, 70, .52) 69%, rgba(70, 31, 70, .12) 100%); }
.hero-copy .lead { color: #f0e8ef; }
.hero-copy .eyebrow { background: rgba(232,191,90,.17); color: #f8d982; }
.hero-checks { color: #f7eef5; }
.hero-checks li { border-color: rgba(255,255,255,.19); background: rgba(255,255,255,.08); }
.hero-checks li::before { color: #f2cc6a; }

body.home main#main-content > .proof-strip { border-color: #e4d7dd; background: rgba(255,253,249,.98); box-shadow: 0 20px 55px rgba(62, 39, 57, .18); }
.proof-item { border-color: #eadfe4; }
.proof-item strong { color: var(--ca21-plum); }
.proof-item span { color: #6e626b; }

.photo-frame { background: #e5d8df; box-shadow: 0 25px 60px rgba(69, 42, 61, .19); }
.outcome-list li { border-color: #e8dde2; background: #fffdf9; box-shadow: 0 8px 22px rgba(70, 44, 62, .07); }
.outcome-list li::before { background: #e4efe9; color: var(--ca21-forest-deep); }

.benefit-card { border-color: #e8dde2; background: #fffdf9; box-shadow: 0 12px 35px rgba(70, 45, 62, .09); }
.benefit-card:hover { border-color: #cbaec1; box-shadow: 0 20px 48px rgba(74, 42, 64, .14); }
.benefit-number { background: #efe0eb; color: var(--ca21-plum); }
.benefit-card p { color: #6b626b; }

.reward-section { background: linear-gradient(132deg, #351738 0%, #572653 57%, #2f6256 145%); }
.reward-heading .eyebrow { background: rgba(232,191,90,.17); color: #f7d77f; }
.reward-heading > p:last-child { color: #eee5ed; }
.reward-card { border-color: rgba(255,255,255,.22); background: #fffdf9; box-shadow: 0 20px 45px rgba(34, 15, 35, .29); }
.reward-stat > span { background: #eee4ea; color: var(--ca21-plum); }
.reward-stat strong { color: var(--ca21-plum); }
.reward-source { color: #4e3950 !important; }
.reward-source:hover,
.reward-source:focus { color: var(--ca21-forest-deep) !important; }
.reward-note { color: #e7dce5; }

.schedule-box { border-color: #e2d6dc; background: #fffdf9; box-shadow: 0 22px 55px rgba(67, 43, 59, .13); }
.schedule-row { border-color: #e6dce1; }
.schedule-row time { color: var(--ca21-plum); }
.schedule-bar { background: #e7dfe2; }
.schedule-bar span { background: linear-gradient(90deg, var(--ca21-forest), #7b9b72); }

.course-toolbar,
.course-catalog-toolbar { border-color: #e4d9df; background: #fffdf9; box-shadow: 0 7px 20px rgba(67, 44, 59, .06); }
.course-card,
.course-catalog-card,
.purchased-course-card { border-color: #e4d9df; background: #fffdf9; box-shadow: 0 13px 36px rgba(66, 42, 59, .1); }
.course-card:hover,
.course-catalog-card:hover { border-color: #caaebf; box-shadow: 0 22px 52px rgba(72, 39, 62, .16); }
.course-label,
.course-catalog-card__category { background: rgba(255,253,249,.96); color: #543254; }
.course-price { color: var(--ca21-plum); }

.course-catalog-hero { background: linear-gradient(125deg, #351738, #612b5b 67%, #2f6256 145%); }
.course-catalog-hero p { color: #eee5ed; }
.course-catalog-search { border-color: rgba(255,255,255,.42); background: #fffdf9; box-shadow: 0 16px 35px rgba(32, 13, 32, .26); }
.course-category-panel,
.sidebar-box { border-color: #e4d9df; background: #fffdf9; box-shadow: 0 12px 32px rgba(66, 43, 59, .09); }
.course-category-nav a:hover,
.course-category-nav a:focus,
.course-category-nav a[aria-current="page"] { border-left-color: var(--ca21-plum); background: #f2e7ef; color: #4a224d; }

.review-card { border-color: #e6dbe1; background: #fffdf9; box-shadow: 0 13px 36px rgba(65, 42, 57, .09); }
.review-card:hover { box-shadow: 0 20px 46px rgba(67, 40, 58, .14); }
.stars { color: #80560d; }
.review-avatar { background: linear-gradient(135deg, var(--ca21-plum), var(--ca21-forest)); }

.final-cta { background: linear-gradient(120deg, #f6edf3 0%, #f8f2e8 58%, #eef3eb 100%); }
.final-cta .container { border-color: #e3d7dd; background: #fffdf9; box-shadow: 0 25px 70px rgba(66, 42, 58, .14); }
.final-cta .container::after { background: linear-gradient(135deg, rgba(90,42,93,.17), rgba(232,191,90,.24)); }
.final-cta h2 { color: #35243a; }
.final-cta p { color: #6a606a; }

.content-shell,
.checkout-shell { background: #f8f3ed; }
.content-card,
.article-content,
.contact-grid > *,
.account-grid > *,
.my-courses-empty { border-color: #e4d9df; background: #fffdf9; box-shadow: 0 15px 42px rgba(65, 42, 58, .1); }
.input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea,
.tutor-form-control { border-color: #d9cbd3; background: #fffdf9; color: #302634; }
.input:focus,
input:focus,
select:focus,
textarea:focus,
.tutor-form-control:focus { border-color: var(--ca21-plum); box-shadow: 0 0 0 4px rgba(90,42,93,.14); }
.course-single-hero { border-color: #e2d6dc; box-shadow: 0 22px 55px rgba(66, 42, 58, .14); }
.course-single-copy { background: #fffdf9; }
.course-single-media { background: #e4d7de; }
.course-facts > * { background: #f6f0ed; }
.checkout-content .woocommerce,
.checkout-content .wc-block-checkout { border-color: #e4d9df; background: #fffdf9; box-shadow: 0 18px 50px rgba(65, 42, 58, .11); }

.tutor-course-single-content-wrapper { background: #f7f2ed !important; }
.tutor-course-single-sidebar-wrapper { border-color: #dfd2d9 !important; background: #fffdf9 !important; box-shadow: 0 13px 38px rgba(64, 40, 56, .11); }
.tutor-course-single-sidebar-title { background: linear-gradient(120deg, #351738, #612b5b) !important; }
.tutor-course-topic { border-color: #e3d7dd !important; }
.tutor-course-topic-item:hover { background: #f3e8f0 !important; }
#tutor-single-entry-content .tutor-tab-item,
.tutor-course-topic-single-body,
.tutor-quiz-wrap { border-color: #e4d9df; background: #fffdf9 !important; box-shadow: 0 15px 42px rgba(65, 42, 58, .09); }
.ca-lesson-intro { background: linear-gradient(135deg, #f5eaf2, #f5f1e7); box-shadow: 0 14px 38px rgba(66, 42, 58, .1); }
.ca-lesson-intro h1 { color: #3c2940; }
.ca-step-list li::before { background: var(--ca21-plum); }
.ca-practice { border-color: #a9c8b9; background: #f0f7f2; }

.site-footer { background: #281c2b; color: #ddd1dc; }
.site-footer a { color: #eee5ed; }
.site-footer a:hover,
.site-footer a:focus { color: #f2cd6f; }
.footer-bottom { border-color: rgba(255,255,255,.14); color: #c8b9c6; }
.site-footer .language-switcher > a,
.site-footer .language-switcher .glink { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.09); color: #fff !important; }

@media (max-width: 720px) {
  .hero::after { background: linear-gradient(0deg, rgba(48,18,50,.99) 0%, rgba(70,31,70,.95) 58%, rgba(70,31,70,.3) 100%); }
}
