/* =========================================================
   Ruth S. Norman — Responsive from 1600px
   Match coachgenethompson.com (Gene) breakpoints & sizes
   Gene already scales :root / .bnner-img / .logo / footer
   This file only stops Ruth overrides from fighting Gene
   ========================================================= */

/* ---------- 1600 ---------- */
@media (max-width: 1600px) {
  .bnner-img.ruth-book-img {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0;
  }

  .book-column-area .ruth-book-img {
    width: 100%;
    max-width: 520px;
  }

  .my-books-sect .book-image-with-buy {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-author-name {
    font-size: 15rem;
  }

  .contact-page-heading {
    font-size: 8rem;
  }
}

/* ---------- 1440 ---------- */
@media (max-width: 1440px) {
  .bnner-img.ruth-book-img,
  .book-column-area .ruth-book-img {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ---------- 1399 ---------- */
@media (max-width: 1399px) {
  .bnner-img.ruth-book-img {
    width: 100% !important;
    max-width: 360px !important;
    margin-left: 0;
  }

  .book-column-area .ruth-book-img {
    width: 100%;
    max-width: 440px;
  }

  .my-books-sect .book-image-with-buy {
    max-width: 440px;
  }

  .right-img-area {
    max-width: 100%;
  }

  .author-portrait-wrap {
    max-width: 360px;
  }

  .footer-author-name {
    font-size: 15rem;
  }

  .author-brass-plate .plate-name {
    font-size: 1.5rem;
  }

  .author-brass-plate .plate-book {
    font-size: 1.15rem;
  }

  .contact-page-heading {
    font-size: 8rem;
  }

  .contact-page-intro {
    font-size: 1.8rem;
  }
}

/*
 * ---------- 1600 → 1200 = exact 1366 stack ----------
 * At 1366 these already apply via Gene@1399 + Ruth@1399 + this block.
 * At 1600 Gene/Ruth 1399 do NOT run — copy every winning rule here.
 */
@media (max-width: 1600px) and (min-width: 1200px) {
  /* Gene @1399 */
  :root {
    font-size: 8.5px;
  }

  .logo > a {
    font-size: 5.2rem;
  }

  .header {
    padding: 0;
  }

  .ring-img-2 {
    width: 450px;
    height: auto;
  }

  .my-books-text::before,
  .my-books-text-2::before {
    font-size: 9.6rem;
  }

  .audio-box-abs img {
    width: 220px;
    left: -60%;
  }

  .mybooks-sec-head {
    font-size: 10.6rem;
  }

  .star-books img {
    width: 30px;
    height: auto;
  }

  .my-books-text,
  .my-books-text-2 {
    font-size: 6rem;
  }

  .audio-boxes-2-abs {
    width: 250px;
    top: -7rem;
  }

  .audio-boxes-2 {
    height: 180px;
  }

  .inner-audio-box {
    transform: scale(0.8);
    top: 30px;
  }

  .audio-box-abs-2 {
    width: 72%;
  }

  .book-shadow {
    box-shadow: -28px 18px 20px 150px #00000038;
  }

  /* Gene @1440 (also active at 1366) */
  .audio-box-abs {
    left: -7%;
    width: 89%;
  }

  .img-arrow {
    top: -16px;
    left: 20%;
    height: 59px;
  }

  /* Ruth @1399 */
  .right-img-area {
    max-width: 100%;
  }

  .author-portrait-wrap {
    max-width: 360px;
  }

  .footer-author-name {
    font-size: 15rem;
  }

  .author-brass-plate .plate-name {
    font-size: 1.5rem;
  }

  .author-brass-plate .plate-book {
    font-size: 1.15rem;
  }

  .contact-page-heading {
    font-size: 8rem;
  }

  .contact-page-intro {
    font-size: 1.8rem;
  }

  /* Ruth 1366 books + banner */
  .banner .right-img-area {
    width: 100% !important;
    max-width: 100% !important;
  }

  .banner {
    padding: 70px 0 0 0 !important;
  }

  .banner .bnner-img.ruth-book-img,
  .bnner-img.ruth-book-img,
  .bnner-img {
    width: 100% !important;
    max-width: 560px !important;
    margin-left: 0 !important;
    height: auto !important;
  }

  .book-column-area .ruth-book-img {
    width: 100% !important;
    max-width: 560px !important;
  }

  .my-books-sect .book-image-with-buy {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Gene @1399 phool — exact 1366 */
  .right-img-area .pen-img-anim,
  .banner .pen-img-anim,
  .pen-img-anim {
    width: 150px !important;
    max-width: 150px !important;
  }

  .right-img-area .pen-img-area,
  .banner .pen-img-area,
  .pen-img-area {
    right: 14% !important;
    bottom: -5% !important;
    left: auto !important;
  }

  /* Banner heading — same 3-line wrap as 1366 */
  .banner .main-heading {
    max-width: 550px;
  }
}

/* ---------- 1600 → 1400 — header only = fullscreen (logo + nav + padding) ---------- */
@media (max-width: 1600px) and (min-width: 1400px) {
  .header {
    padding: 10px 0 !important; /* fullscreen 1rem @ 10px */
  }

  .logo > a {
    font-size: 72px !important; /* fullscreen 7.2rem @ 10px */
  }

  .links-1 > ul > li > a,
  .links-2 > ul > li > a {
    font-size: 18px !important; /* fullscreen 1.8rem */
  }

  .links-1 > ul > li {
    padding: 0 20px;
  }

  .links-2 > ul > li {
    padding: 10px 20px;
  }
}

/* ---------- 1199 ---------- */
@media (max-width: 1199px) {
  .bnner-img.ruth-book-img {
    width: 100% !important;
    max-width: 470px !important;
  }
  
  .banner{
      padding:60px 0 0 0;
  }

  .book-column-area .ruth-book-img {
    width: 100%;
    max-width: 400px;
  }

  .my-books-sect .book-image-with-buy {
    max-width: 400px;
  }

  .author-portrait-wrap {
    max-width: 320px;
  }

  .story-section .col-8 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .contact-page-intro {
    padding: 0 1.5rem;
  }
}

/* ---------- 1024 — dono book images (same idea as 1366) ---------- */
@media (max-width: 1024px) and (min-width: 992px) {
  .banner .right-img-area {
    width: 100% !important;
    max-width: 100% !important;
  }

  .banner .bnner-img.ruth-book-img,
  .bnner-img.ruth-book-img {
    width: 100% !important;
    max-width: 520px !important;
    margin-left: 0 !important;
    height: auto !important;
  }

  .book-column-area .ruth-book-img {
    width: 100% !important;
    max-width: 520px !important;
  }

  .my-books-sect .book-image-with-buy {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- 1024 — dono book images (same as 1366) ---------- */
@media (max-width: 1024px) and (min-width: 992px) {
  .banner .right-img-area {
    width: 100% !important;
    max-width: 100% !important;
  }

  .banner .bnner-img.ruth-book-img,
  .bnner-img.ruth-book-img {
    width: 100% !important;
    max-width: 520px !important;
    margin-left: 0 !important;
    height: auto !important;
  }

  .book-column-area .ruth-book-img {
    width: 100% !important;
    max-width: 520px !important;
  }

  .my-books-sect .book-image-with-buy {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Leave — same corner as desktop */
  .pen-img-anim {
    width: 140px !important;
    max-width: 140px !important;
  }

  .pen-img-area {
    right: 8% !important;
    bottom: -5% !important;
    left: auto !important;
  }
}

/* ---------- 991 — Gene :root 6px, bnner-img 260px, story-sec-head 12rem ---------- */
@media (max-width: 991px) {
  /* Kill footer / author empty gap on tablet+mobile */
  .author-section,
  .footer {
    min-height: 0 !important;
    height: auto !important;
  }

  .footer {
    display: block !important;
  }

  .author-section {
    padding: 3rem 0 1.5rem;
  }

  .foot-middle {
    flex-grow: 0 !important;
    min-height: 0 !important;
    padding: 1.5rem 0 0.5rem !important;
  }

  .footer-links {
    margin-bottom: 1rem !important;
  }

  .foot-bottom {
    margin: 0.8rem 0 0 !important;
    padding: 0 0 8px !important;
  }

  .foot-bottom p,
  .foot-bottom .text-story-sec {
    margin-bottom: 0 !important;
  }

  .foot-top {
    display: none !important;
    height: 0 !important;
  }

  html,
  body,
  .inner-body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    max-height: none !important;
  }

  .author-section {
    overflow: visible !important;
  }

  .banner .bnner-img,
  .bnner-img.ruth-book-img {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    display: block;
  }

  .banner .right-col,
  .banner .right-img-area {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Leave — stick to book (not full column) */
  .banner .right-img-area,
  .right-img-area {
    position: relative !important;
    overflow: visible !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .pen-img-anim {
    width: 110px !important;
    max-width: 110px !important;
    display: block;
  }

  .pen-img-area {
    position: absolute !important;
    right: 0 !important;
    bottom: -6% !important;
    left: auto !important;
    top: auto !important;
    z-index: 3;
  }

  /* MY BOOK — Gene book-container is 670px here; widen so book can grow */
  .my-books-sect .book-container {
    max-width: 920px;
  }

  .my-books-sect .offset-md-1 {
    margin-left: 0 !important;
  }

  .my-books-sect .book-content-area.col-md-5 {
    width: 45% !important;
    max-width: 45% !important;
    flex: 0 0 45% !important;
  }

  .my-books-sect .col-md-6 {
    width: 55% !important;
    max-width: 55% !important;
    flex: 0 0 55% !important;
  }

  .my-books-sect .book-column-area {
    transform: none !important;
    scale: none !important;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .book-column-area .ruth-book-img {
    width: 100% !important;
    max-width: 320px !important;
    display: block;
    margin: 0 auto;
  }

  .my-books-sect .col-md-6:has(.book-image-with-buy) {
    display: flex !important;
    justify-content: center !important;
  }

  .my-books-sect .book-image-with-buy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100%;
    max-width: 300px;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .my-books-sect .book-column-area {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .my-books-sect .book-column-area .ruth-book-img {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .my-books-sect .book-buy-under-img,
  .my-books-sect .btns-book.book-buy-under-img {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 12px auto 0 !important;
    position: relative !important;
    z-index: 2;
  }

  .my-books-sect .book-buy-under-img .book-btn-2 {
    margin: 0 auto !important;
    display: inline-block !important;
  }

  .book-image-with-buy {
    width: 100%;
  }

  .right-col {
    padding-left: 0;
  }

  .right-img-area {
    width: 100%;
    max-width: 100%;
  }

  .author-portrait-wrap {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 2rem;
  }

  .footer-author-name {
    font-size: 12rem;
    padding: 0 1.5rem;
  }

  /* Footer nav — one line */
  .foot-middle .col-md-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .footer-links {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
  }

  .footer-link {
    padding: 1rem 0.8rem;
    white-space: nowrap;
  }

  .author-tags-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .author-tags-label {
    font-size: 11px !important;
    white-space: nowrap !important;
    flex-shrink: 1 !important;
    min-width: 0;
  }

  .author-tag-btn {
    font-size: 11px !important;
    white-space: nowrap !important;
    flex-shrink: 1 !important;
    padding: 4px 8px 4px 4px !important;
    gap: 4px !important;
  }

  .author-tag-icon {
    width: 20px !important;
    height: 20px !important;
  }

  .author-tag-icon img {
    width: 11px !important;
    height: 11px !important;
  }

  .book-meta-row,
  .my-books-sect .book-meta-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    overflow: visible !important;
  }

  .book-meta-item,
  .my-books-sect .book-meta-item {
    gap: 6px !important;
    white-space: nowrap !important;
    flex-shrink: 1 !important;
    min-width: 0;
  }

  .book-meta-icon {
    height: 24px !important;
    width: auto !important;
  }

  .book-meta-label {
    font-size: 11px !important;
    letter-spacing: 0.02em !important;
  }

  .book-meta-value {
    font-size: 12px !important;
    margin-top: 2px !important;
  }

  .my-books-sect .offset-md-1 {
    margin-left: 0;
  }

  .contact-page-section {
    padding: 5rem 0 3rem;
  }

  .contact-page-heading {
    font-size: 8rem;
  }

  .contact-page-intro {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }

  .contact-info-list {
    max-width: 480px;
    font-size: 1.8rem;
  }

  .about-hero-label {
    text-align: center;
    display: block;
  }

  .video-area,
  .video-tag {
    width: 100%;
    max-width: 100%;
  }
}

/* ---------- 767 — stack MY BOOK (override 991 !important columns) ---------- */
@media (max-width: 767px) {
  .my-books-sect .book-container {
    max-width: 100%;
  }

  .my-books-sect .row {
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Break 2-col — full width stack + center */
  .my-books-sect .offset-md-1,
  .my-books-sect .book-content-area.col-md-5,
  .my-books-sect .col-md-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-left: 0 !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .my-books-sect .section-top-heading,
  .my-books-sect .book-content-area,
  .my-books-sect .my-book-sec {
    width: 100% !important;
    text-align: center;
  }

  .my-books-sect .anim-hds,
  .my-books-sect .mybooks-sec-head {
    transform: none !important;
    translate: none !important;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .my-books-sect .featured-book-label {
    display: block;
    text-align: center;
  }

  .my-books-sect .star-books {
    display: flex;
    justify-content: center;
  }

  .my-books-sect .my-books-text,
  .my-books-sect .m-text,
  .my-books-sect .my-book-para {
    text-align: center !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .my-books-sect .book-meta-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: visible !important;
  }

  .my-books-sect .book-meta-item {
    justify-content: center;
    gap: 5px !important;
    white-space: nowrap !important;
  }

  .my-books-sect .book-meta-icon {
    height: 22px !important;
  }

  .my-books-sect .book-meta-text {
    align-items: flex-start;
    text-align: left;
  }

  .my-books-sect .book-meta-label {
    font-size: 10px !important;
    margin-left: 0;
    margin-right: 0;
  }

  .my-books-sect .book-meta-value {
    font-size: 11px !important;
  }

  .my-books-sect .btns-book {
    justify-content: center;
  }

  .banner .bnner-img,
  .bnner-img.ruth-book-img {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto;
    display: block;
  }

  /* Leave — book ke bottom-right pe (767) */
  .banner .right-img-area,
  .right-img-area {
    position: relative !important;
    overflow: visible !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 2rem auto 0 !important;
  }

  .pen-img-anim {
    width: 90px !important;
    max-width: 90px !important;
    display: block;
  }

  .pen-img-area {
    position: absolute !important;
    right: 0 !important;
    bottom: -8% !important;
    left: auto !important;
    top: auto !important;
    z-index: 3;
  }

  .my-books-sect .book-column-area {
    transform: none !important;
    scale: none !important;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .book-column-area .ruth-book-img {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto;
    display: block;
  }

  .my-books-sect .col-md-6:has(.book-image-with-buy) {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .my-books-sect .book-image-with-buy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    max-width: 280px;
    width: 100%;
    margin: 2rem auto 0 !important;
    text-align: center !important;
  }

  .my-books-sect .book-buy-under-img,
  .my-books-sect .btns-book.book-buy-under-img {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 14px auto 0 !important;
  }

  .my-books-sect .book-buy-under-img .book-btn-2 {
    margin: 0 auto !important;
    display: inline-block !important;
  }

  .story-section .col-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .author-portrait-wrap {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 2.5rem;
  }

  .author-portrait-frame {
    border-width: 10px;
    padding: 14px 14px 16px;
  }

  .author-brass-plate .plate-name {
    font-size: 1.35rem;
  }

  .author-brass-plate .plate-book {
    font-size: 1.1rem;
  }

  /* Gene footer name = 6rem → 36px at :root 6px */
  .footer-author-name {
    font-size: 6rem !important;
    word-break: break-word;
    text-align: center;
    line-height: 1.1;
    width: 100%;
    padding: 0 1rem;
  }

  .foot-middle {
    text-align: center;
    width: 100%;
  }

  .foot-middle .container {
    width: 100%;
  }

  /* Footer links — single horizontal line */
  .footer-links {
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem 1rem;
    width: 100%;
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .footer-link {
    padding: 0.8rem 0.5rem;
    font-size: 1.8rem;
    white-space: nowrap;
  }

  .story-section .px-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .book-buy-under-img {
    margin-top: 1.5rem;
  }

  .trailer-section .video-area {
    padding: 0;
    width: 100%;
  }

  .contact-page-section {
    padding: 4rem 0 2.5rem;
  }

  .contact-page-heading {
    font-size: 6rem;
    padding: 0 1rem;
  }

  .contact-page-intro {
    font-size: 1.8rem;
    padding: 0 2rem;
    margin-bottom: 2rem;
  }

  .contact-info-list {
    font-size: 1.6rem;
    padding: 0 2rem;
    max-width: 100%;
  }

  .about-hero-label {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
}

/* ---------- 480 ---------- */
@media (max-width: 480px) {
  .banner .bnner-img,
  .bnner-img.ruth-book-img {
    width: 100% !important;
    max-width: 100% !important;
  }

  .pen-img-anim {
    width: 75px !important;
    max-width: 75px !important;
    display: block;
  }

  .pen-img-area {
    position: absolute !important;
    right: 0 !important;
    bottom: -8% !important;
    left: auto !important;
    top: auto !important;
    z-index: 3;
  }

  .my-books-sect .book-column-area {
    max-width: 240px;
    margin: 0 auto;
  }

  .book-column-area .ruth-book-img {
    width: 100% !important;
    max-width: 240px !important;
    margin: 0 auto;
    display: block;
  }

  .my-books-sect .book-image-with-buy {
    max-width: 240px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .banner .right-img-area,
  .right-img-area {
    position: relative !important;
    overflow: visible !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .banner .bnner-img,
  .bnner-img.ruth-book-img {
    max-width: 260px !important;
  }

  .story-section .col-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .author-portrait-wrap {
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto 2rem !important;
  }

  .author-brass-plate .plate-name {
    font-size: 14px !important;
  }

  .author-brass-plate .plate-role {
    font-size: 11px !important;
  }

  .author-brass-plate .plate-book {
    font-size: 13px !important;
  }

  .footer-author-name {
    font-size: 6rem !important;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.3rem 0.6rem;
  }

  .footer-link {
    padding: 0.6rem 0.35rem;
    font-size: 1.6rem;
  }

  .contact-page-heading {
    font-size: 5rem;
  }

  .contact-page-intro {
    font-size: 1.6rem;
    padding: 0 1.5rem;
  }

  .contact-info-list {
    font-size: 1.5rem;
    padding: 0 1.5rem;
  }
}

/* ---------- 400 ---------- */
@media (max-width: 400px) {
  .banner .bnner-img,
  .bnner-img.ruth-book-img,
  .book-column-area .ruth-book-img {
    width: 100% !important;
    max-width: 100% !important;
  }

  .banner .right-img-area,
  .right-img-area {
    max-width: 100% !important;
  }

  .author-portrait-wrap {
    max-width: 320px !important;
  }

  .footer-author-name {
    font-size: 6rem !important;
  }

  .footer-links {
    flex-wrap: nowrap;
    gap: 0.2rem 0.4rem;
  }

  .footer-link {
    padding: 0.5rem 0.25rem;
    font-size: 1.5rem;
  }

  .contact-page-heading {
    font-size: 4.5rem;
  }
}

/* ---------- 375 ---------- */
@media (max-width: 375px) {
  .banner .bnner-img,
  .bnner-img.ruth-book-img,
  .book-column-area .ruth-book-img {
    width: 100% !important;
    max-width: 100% !important;
  }

  .banner .right-img-area,
  .right-img-area {
    max-width: 100% !important;
  }

  .author-portrait-wrap {
    max-width: 300px !important;
  }

  .footer-author-name {
    font-size: 6rem !important;
  }

  .footer-links {
    flex-wrap: nowrap;
    gap: 0.15rem 0.3rem;
  }

  .footer-link {
    padding: 0.5rem 0.2rem;
    font-size: 1.4rem;
  }

  .contact-page-heading {
    font-size: 4rem;
  }
}
