/* =====================================================
   NETWORKMARKETINGPRO1.COM — MAIN STYLESHEET
   File: nmpro1.css
===================================================== */


/* =====================================================
   1. GLOBAL RESET & BASE STYLES
===================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #222222;
  background: #ffffff;
  line-height: 1.6;
}

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

a {
  color: #c62828;
}

a:hover {
  color: #8e1b1b;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}


/* =====================================================
   2. HEADER / TOP NAVIGATION
===================================================== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  z-index: 1000;
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.site-logo a,
.logo a {
  color: #222222;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.site-logo span,
.logo span {
  color: #c62828;
}

.main-nav ul,
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav li,
.site-nav li {
  position: relative;
}

.main-nav a,
.site-nav a {
  color: #222222;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 0;
  display: block;
}

.main-nav a:hover,
.site-nav a:hover {
  color: #c62828;
}


/* Dropdown menus */

.main-nav ul ul,
.site-nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  z-index: 9999;
}

.main-nav ul ul li,
.site-nav ul ul li {
  width: 100%;
}

.main-nav ul ul a,
.site-nav ul ul a {
  padding: 12px 16px;
  font-size: 14px;
  white-space: nowrap;
}

.main-nav li:hover > ul,
.site-nav li:hover > ul {
  display: block;
}


/* =====================================================
   3. BUTTONS
===================================================== */

.hero-btn,
.primary-btn,
.secondary-btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}

.primary-btn,
.hero-btn.primary-btn {
  background: #c62828;
  color: #ffffff;
}

.primary-btn:hover,
.hero-btn.primary-btn:hover {
  background: #8e1b1b;
  color: #ffffff;
}

.secondary-btn,
.hero-btn.secondary-btn {
  background: #ffffff;
  color: #c62828;
  border: 2px solid #c62828;
}

.secondary-btn:hover,
.hero-btn.secondary-btn:hover {
  background: #c62828;
  color: #ffffff;
}

.hero-buttons,
.wlt-buttons,
.shop-buttons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}


/* =====================================================
   4. HERO SECTIONS
===================================================== */

.hero-section {
  min-height: 560px;
  background: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)),
    url('/images/home-hero.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 90px 24px;
}

.hero-content {
  max-width: 980px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 54px;
  line-height: 1.15;
  margin: 0 0 24px;
}

.hero-content p {
  font-size: 22px;
  line-height: 1.7;
  max-width: 850px;
  margin: 0 auto;
}

.page-hero {
  background: #222222;
  color: #ffffff;
  text-align: center;
  padding: 90px 24px;
}

.page-hero h1 {
  font-size: 52px;
  line-height: 1.15;
  margin: 0 0 20px;
}

.page-hero p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 22px;
  line-height: 1.7;
}


/* Page-specific hero backgrounds */

.start-here-hero {
  background: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)),
    url('/images/start-here-bg.jpg');
  background-size: cover;
  background-position: center;
}

.about-hero {
  background: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)),
    url('/images/about-bg.jpg');
  background-size: cover;
  background-position: center;
}

.videos-hero {
  background: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)),
    url('/images/videos-bg.jpg');
  background-size: cover;
  background-position: center;
}

.books-hero {
  background: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)),
    url('/images/books-bg.jpg');
  background-size: cover;
  background-position: center;
}

.resources-hero {
  background: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)),
    url('/images/resources-bg.jpg');
  background-size: cover;
  background-position: center;
}

.webinars-hero {
  background: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)),
    url('/images/webinars-bg.jpg');
  background-size: cover;
  background-position: center;
}

.pathways-hero {
  background: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)),
    url('/images/pathways-bg.jpg');
  background-size: cover;
  background-position: center;
}

.contact-hero {
  background: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)),
    url('/images/contact-bg.jpg');
  background-size: cover;
  background-position: center;
}

.shop-hero {
  background: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)),
    url('/images/shop-bg.jpg');
  background-size: cover;
  background-position: center;
}


/* =====================================================
   5. GENERAL CONTENT SECTIONS
===================================================== */

.intro-section,
.pathways-section,
.wlt-section,
.video-index-section,
.video-group-section,
.books-section,
.resources-section,
.webinars-section,
.pathways-overview-section,
.contact-section,
.shop-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.intro-section,
.wlt-section,
.video-group-section,
.books-section,
.resources-section,
.webinars-section,
.pathways-overview-section,
.contact-section,
.shop-section {
  background: #ffffff;
}

.alt-section,
.video-group-section.alt-section,
.books-section.alt-section,
.resources-section.alt-section,
.webinars-section.alt-section,
.pathways-overview-section.alt-section,
.shop-section.alt-section {
  background: #f7f7f7;
}

.intro-section h2,
.pathways-section h2,
.wlt-section h2,
.video-index-section h2,
.video-group-section h2,
.books-section h2,
.resources-section h2,
.webinars-section h2,
.pathways-overview-section h2,
.contact-section h2,
.shop-section h2 {
  font-size: 40px;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 18px;
}

.intro-section p,
.wlt-section p,
.video-group-section p,
.books-section p,
.resources-section p,
.webinars-section p,
.pathways-overview-section p,
.contact-section p,
.shop-section p {
  font-size: 17px;
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: 20px;
}

.section-intro {
  max-width: 900px;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 34px;
}


/* =====================================================
   6. PATHWAY CARDS / GENERAL CARDS
===================================================== */

.pathway-grid,
.book-grid,
.resource-grid,
.webinar-grid,
.webinar-pathway-grid,
.pathways-overview-grid,
.shop-support-grid {
  display: grid;
  gap: 26px;
}

.pathway-grid {
  grid-template-columns: repeat(4, 1fr);
}

.book-grid,
.resource-grid {
  grid-template-columns: repeat(4, 1fr);
}

.webinar-grid,
.webinar-pathway-grid,
.shop-support-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pathways-overview-grid {
  grid-template-columns: repeat(3, 1fr);
}

.two-column-grid,
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.pathway-card,
.book-card,
.resource-card,
.webinar-card,
.webinar-pathway-card,
.pathway-overview-card,
.shop-card,
.shop-support-card,
.contact-info,
.contact-form-box,
.video-card {
  background: #ffffff;
  padding: 30px 28px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.pathway-card h3,
.book-card h3,
.resource-card h3,
.webinar-card h3,
.webinar-pathway-card h3,
.pathway-overview-card h3,
.shop-card h3,
.shop-support-card h3,
.video-card h3 {
  font-size: 23px;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 14px;
}

.pathway-card p,
.book-card p,
.resource-card p,
.webinar-card p,
.webinar-pathway-card p,
.pathway-overview-card p,
.shop-card p,
.shop-support-card p,
.video-card p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.pathway-card a,
.resource-card a,
.webinar-pathway-card a,
.pathway-overview-card a,
.shop-support-card a {
  color: #c62828;
  font-weight: 700;
  text-decoration: none;
}

.pathway-card a:hover,
.resource-card a:hover,
.webinar-pathway-card a:hover,
.pathway-overview-card a:hover,
.shop-support-card a:hover {
  text-decoration: underline;
}

.resource-card,
.pathway-overview-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.resource-card:hover,
.pathway-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.resource-icon,
.pathway-icon {
  font-size: 34px;
  color: #c62828;
  margin-bottom: 18px;
}

.book-author {
  font-weight: 700;
  color: #c62828;
  margin-bottom: 16px;
}


/* =====================================================
   7. START HERE CARD FIX
===================================================== */

.start-pathway-grid {
  align-items: stretch;
}

.start-pathway-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.start-pathway-card h3 {
  margin-bottom: 14px;
}

.start-pathway-card p {
  margin-bottom: 12px;
}

.start-pathway-card a {
  margin-top: 0;
  display: inline-block;
  color: #c62828;
  font-weight: 700;
  text-decoration: none;
}

.start-pathway-card a:hover {
  text-decoration: underline;
}


/* =====================================================
   8. VIDEO PAGE
===================================================== */

.video-index-section {
  background: #f7f7f7;
}

.video-index-title {
  font-size: 36px;
  margin-bottom: 28px;
  text-align: center;
}

.video-accordion {
  max-width: 950px;
  margin: 0 auto;
}

.video-index-item {
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
}

.video-index-item summary {
  cursor: pointer;
  padding: 18px 24px;
  font-size: 22px;
  font-weight: 700;
  color: #222222;
  list-style: none;
  position: relative;
}

.video-index-item summary::-webkit-details-marker {
  display: none;
}

.video-index-item summary::before {
  content: "+";
  display: inline-block;
  margin-right: 12px;
  color: #c62828;
  font-size: 26px;
  font-weight: 700;
}

.video-index-item[open] summary::before {
  content: "−";
}

.video-index-item ul {
  list-style: none;
  padding: 0 24px 22px 60px;
  margin: 0;
}

.video-index-item li {
  margin-bottom: 12px;
}

.video-index-item a {
  color: #c62828;
  font-weight: 600;
  text-decoration: none;
}

.video-index-item a:hover {
  text-decoration: underline;
}

.video-group-section h2 {
  font-size: 40px;
  margin-bottom: 12px;
}

.video-card {
  padding: 30px;
  margin-bottom: 70px;
  border-bottom: 1px solid #d8d8d8;
}

.video-card:last-child {
  border-bottom: none;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #000000;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.return-top {
  display: inline-block;
  margin-top: 18px;
  color: #c62828;
  font-weight: 700;
  text-decoration: none;
}

.return-top:hover {
  text-decoration: underline;
}


/* =====================================================
   9. WEBINARS PAGE
===================================================== */

.featured-webinar {
  border-top: 5px solid #c62828;
}

.webinar-card {
  display: flex;
  flex-direction: column;
}

.webinar-label {
  display: inline-block;
  align-self: flex-start;
  background: #c62828;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.webinar-details {
  list-style: none;
  padding: 0;
  margin: 0 0 26px 0;
}

.webinar-details li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.webinar-card .hero-btn {
  margin-top: auto;
  align-self: flex-start;
}


/* =====================================================
   10. CONTACT PAGE
===================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info h2,
.contact-form-box h2 {
  font-size: 34px;
  margin-top: 0;
  margin-bottom: 18px;
}

.contact-detail {
  margin-top: 24px;
  font-size: 17px;
}

.contact-detail a {
  color: #c62828;
  font-weight: 700;
  text-decoration: none;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 20px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: none;
  cursor: pointer;
  align-self: flex-start;
}


/* =====================================================
   11. SHOP PAGE
===================================================== */

.shop-card {
  padding: 34px 32px;
}

.shop-card h3 {
  font-size: 28px;
}

.shop-card p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 26px;
}


/* =====================================================
   12. FOOTER — FOUR COLUMN LAYOUT
===================================================== */

.site-footer {
  background: #111111;
  color: #dddddd;
  padding: 50px 24px 22px;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.25fr 1fr;
  grid-template-areas: "brand quick pathways resources";
  gap: 46px;
  align-items: start;
}

.footer-brand {
  grid-area: brand;
}

.footer-quick-links {
  grid-area: quick;
}

.footer-pathways {
  grid-area: pathways;
}

.footer-resources {
  grid-area: resources;
}

.footer-column h3,
.footer-column h4 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 16px;
}

.footer-column h3 {
  font-size: 18px;
  letter-spacing: 1.5px;
}

.footer-column h4 {
  font-size: 24px;
}

.footer-column p {
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.site-footer a,
.footer-column a {
  color: #f2f2f2;
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover,
.footer-column a:hover {
  color: #ff6b6b;
  text-decoration: underline;
}

.footer-connect {
  margin-top: 26px;
}

.footer-connect p {
  margin-bottom: 16px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-socials a {
  color: #f2f2f2;
  font-size: 18px;
  line-height: 1;
}

.footer-socials a:hover {
  color: #ff6b6b;
}

.footer-bottom {
  max-width: 1300px;
  margin: 38px auto 0;
  padding-top: 18px;
  border-top: 1px solid #333333;
  text-align: center;
}

.footer-bottom p {
  color: #aaaaaa;
  font-size: 14px;
  margin: 0;
}


/* =====================================================
   13. RESPONSIVE DESIGN
===================================================== */

@media (max-width: 1100px) {
  .pathway-grid,
  .book-grid,
  .resource-grid,
  .pathways-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .webinar-grid,
  .webinar-pathway-grid,
  .shop-support-grid,
  .shop-grid,
  .two-column-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "brand quick"
      "pathways resources";
    gap: 38px;
  }

  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul,
  .site-nav ul {
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 850px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1,
  .page-hero h1 {
    font-size: 40px;
  }

  .hero-content p,
  .page-hero p {
    font-size: 19px;
  }

  .intro-section h2,
  .pathways-section h2,
  .wlt-section h2,
  .video-index-section h2,
  .video-group-section h2,
  .books-section h2,
  .resources-section h2,
  .webinars-section h2,
  .pathways-overview-section h2,
  .contact-section h2,
  .shop-section h2 {
    font-size: 32px;
  }
}

@media (max-width: 700px) {
  .pathway-grid,
  .book-grid,
  .resource-grid,
  .pathways-overview-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-hero,
  .hero-section {
    padding: 70px 20px;
  }

  .hero-buttons,
  .wlt-buttons,
  .shop-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 650px) {
  .footer-container {
    grid-template-columns: 1fr;
    grid-template-areas: "brand"
      "quick"
      "pathways"
      "resources";
    gap: 30px;
  }

  .site-footer {
    padding: 42px 22px 20px;
  }

  .main-nav ul,
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul ul,
  .site-nav ul ul {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 18px;
  }
}
/* =====================================================
   HEADER FIX — NMPro1 MAIN MENU
===================================================== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  z-index: 1000;
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.site-logo a {
  color: #222222;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.main-menu > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-menu > ul > li {
  position: relative;
  margin: 0;
  padding: 0;
}

.main-menu a {
  color: #222222;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 0;
  display: block;
}

.main-menu a:hover {
  color: #c62828;
}


/* Dropdowns */

.main-menu .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  z-index: 9999;
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.main-menu .dropdown li {
  margin: 0;
  padding: 0;
}

.main-menu .dropdown a {
  padding: 12px 16px;
  font-size: 14px;
  white-space: nowrap;
}

.main-menu .has-dropdown:hover > .dropdown {
  display: block;
}

@media (max-width: 1000px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-menu > ul {
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 650px) {
  .main-menu > ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-menu .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 18px;
  }
}
/* =====================================================
   FOOTER CONNECT POSITION FIX
===================================================== */

.footer-brand p {
  margin-bottom: 12px;
}

.footer-connect {
  margin-top: 8px;
}

.footer-connect h4 {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 20px;
  color: #ffffff;
}

.footer-connect p {
  margin-top: 0;
  margin-bottom: 14px;
}


/* =====================================================
   HEADER & FOOTER FONT REFINEMENT — LATO
===================================================== */


/* Header uses Lato with stronger menu weight */

.site-header,
.site-header a,
.header-container,
.site-logo,
.site-logo a,
.main-menu,
.main-menu a {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
}

.main-menu a {
  font-weight: 700;
  letter-spacing: 0.2px;
}


/* Footer uses Lato with lighter 400 weight */

.site-footer,
.site-footer a,
.footer-column,
.footer-column p,
.footer-column li,
.footer-bottom,
.footer-bottom p {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-weight: 400;
}


/* Footer headings can stay slightly stronger for structure */

.footer-column h3,
.footer-column h4,
.footer-connect h4 {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-weight: 700;
}


/* Footer links readable but not too heavy */

.site-footer a,
.footer-column a {
  font-weight: 400;
}


/* Optional: keep email slightly clearer */

.footer-connect a {
  font-weight: 400;
}


/* =====================================================
   FOOTER FIRST COLUMN POSITION FIX
===================================================== */

.footer-brand {
  padding-top: 0 !important;
  align-self: start;
}

.footer-brand p:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 12px !important;
}

.footer-connect {
  margin-top: 8px !important;
}

.footer-connect h4 {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}


/* =====================================================
   VIDEO LIBRARY — TWO UP DESKTOP / SINGLE MOBILE
===================================================== */

.video-library-section {
  background: #ffffff;
  padding-top: 40px;
  padding-bottom: 40px;
}

.video-library-title {
  font-size: 40px;
  margin-top: 0;
  margin-bottom: 32px;
  text-align: center;
}

.video-author-block {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid #d8d8d8;
}

.video-author-block:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.video-author-block h3 {
  font-size: 30px;
  margin-top: 0;
  margin-bottom: 26px;
}

.video-library-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.video-library-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.video-library-card h4 {
  font-size: 22px;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 20px;
}

.return-video-index {
  display: inline-block;
  margin-top: 18px;
  color: #c62828;
  font-weight: 700;
  text-decoration: none;
}

.return-video-index:hover {
  text-decoration: underline;
}

.placeholder-video {
  background: #111111;
  color: #ffffff;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}

.placeholder-video p {
  color: #ffffff;
  font-size: 18px;
  margin: 0;
}

@media (max-width: 850px) {
  .video-library-grid {
    grid-template-columns: 1fr;
  }

  .video-library-title {
    font-size: 32px;
  }

  .video-author-block h3 {
    font-size: 26px;
  }

  .video-library-card {
    padding: 22px;
  }
}
.video-library-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 34px !important;
  align-items: start;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fullscreen-note {
  font-size: 14px;
  color: #666;
  margin-top: 12px;
  margin-bottom: 8px;
  font-style: italic;
}

@media (max-width: 850px) {
  .video-library-grid {
    grid-template-columns: 1fr !important;
  }
}