.youtube-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}
.youtube-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.eb_privacypolicy .button_cookie {
    position: static;
    text-decoration: none;
    float: right;
    margin: 0px 0px 5px 0px;
}

.breadcrumb-item img {
display: none;
}

.chatgpt-quote {
border-color: #FFCFFA;
border-style: solid;
border-width: 0px 0px 0px 5px;
background-color: #FFFAFE;
padding-left: 5px;
padding-right: 5px;
font-size: 1.05em;
    font-weight: 400;
    font-style: italic;
}
.authorbox {
padding-left: 5px;
padding-right: 5px;
font-size: .80em;
    font-weight: 400;
line-height: 130%;
}

.authorbox a {
   font-weight: 400;
    color: #232323;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: #232323;
    text-decoration-thickness: 1px;
}
.shadyback {
background-color: #f5f5f5;
}
.shadyback p > a {
    text-decoration: none !important;
}
.shadybackcurvy {
background-color:#f9f9f9;
border-radius: 20px!important;
font-size: 12px;
padding: 7px 16px 9px!important;
margin: 10px 0px 0px 0px;
}

.introtext {
    font-size: 23px;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
    margin-top: 10px;
    margin-bottom: 10px;
}

.disclosures {
background-color: #f5f5f5;
padding-left: 10px;
padding-right: 10px;
border-top: 1px solid #b3b3b3;
font-size: 0.8em;
}
.product-shadow-border {
border-radius: 10px !important;
border: solid 2px #e4e4e4;
box-shadow: 0 23px 19px -18px rgb(101 104 120 / 32%) !important;
}
.video-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; }

.video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: auto;
    float: right;
}
.article-list .article .article-intro-image img, .article-list .article .article-featured-video img, .article-list .article .article-featured-audio img, .article-list .article .article-feature-gallery img {
    margin-top: 14px;} 
.article-list .article .article-intro-image, .article-list .article .article-featured-video, .article-list .article .article-featured-audio, .article-list .article .article-feature-gallery {
    margin: -18px -20px 2px 1px;}
.article-list .article {
    padding: 8px 19px 11px 1px;border:none;margin-bottom:1px;}
.tocwrapper{
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2rem;
  color: black;
  background: #f7f7f7;
  margin: auto;
  width: 100%;
}

ol.tocwrapper{
  list-style: none;
  margin: 0;
  padding: 0;
  background: #f7f7f7;
}
ol ol li.tocwrapper{
  padding: 1px;
  background: #f7f7f7;
  list-style: none;
  margin-left: -20px;
}

ol ol li.tocwrapper a {
    text-decoration: none !important;
}
label{
  display: block;
  cursor: pointer;
  padding: 4px;
  border: none;
  border-bottom: none;
  text-align: center;
  margin-bottom: .1rem;
}

label:hover{
  background: #f7f7f7;
}

label.last{
  border-bottom: 1px solid #fff;
}

input[type="checkbox"]{
  position: absolute;
  left: -9999px;
  text-align: center;
}

input[type="checkbox"] ~ ol{
  height: 0;
  transform: scaleY(0);
}

input[type="checkbox"]:checked ~ ol{
  height: 100%;
  transform-origin: top;
  transition: transform .2s ease-out;
  transform: scaleY(1); 
}

input[type="checkbox"]:checked + label{
  background: #f7f7f7;
  border-bottom: 1px solid #fff;
  text-align: center;
}
p.engagebox {
  margin-bottom: 0rem;
  line-height: 17px;
}

table a {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none !important;
}

table th,
table td {
  text-align: center;
  padding: .625em;
  font-size: 12pt;
}

.gold-stars { color: gold; }
.gray-stars { color: lightgray; }

.td-left-align { text-align: left; }


blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201C""\201C""\201C";
}
blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
  font-size: 19px;
}
.centered {
   float: none;
}

.imagecaption {
font-size:0.8em;
font-weight:200;
}

.leftalign {
   float:left;
}
.disclosure {
   font-size: 13px;
   line-height: 1.4;
}
.mostpopularlist a {
  text-decoration: none !important;
  color: #333;
}

.mostpopularlist.section-header {
  font-size: 18px;
  font-weight: 400;
  margin-top: 0px !important;
  padding-top: 0px;
  border-top: 1px solid #e5e5e5;
  color: #111;
}

ul .mostpopularlist.section-header:first-child {
  border-top: none;
  margin-top: 0;
}

.cf-content-wrap, .cf-form-wrap {
font-family: 'Open Sans',sans-serif;    
padding: 0px;
}
.convertforms .cf-control-group {
padding-top: 1px;
    padding-bottom: 9px;
    padding-left: 9px;
    padding-right: 9px;
    max-width: 100%;
    width: 100%;
    min-width: 120px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}
.convertforms .cf-content-wrap, .convertforms .cf-form-wrap {
   padding: 1px;
}
.icon-facebook {
font-size: 30px;
}
.icon-twitter {
font-size: 30px;
}
.icon-pinterest {
font-size: 30px;
}
.icon-envelope {
font-size: 30px;
}
.icon-linkedin {
font-size: 30px;
}

li {
  font-size: 19px;
  font-family: 'Open Sans',sans-serif;
  margin-bottom: 10px;
}
.article-list .article .article-header h2 a {
    font-size: 25px;
    font-family: 'Poppins';
    font-weight: 600;
    color: #323232;
}

.h2, h2 {
    font-family: 'Poppins'!important;
    font-weight: 400;
    font-size: 24px!important;
    scroll-margin-top: 60px;
}

.h3, h3 {
    font-family: 'Poppins'!important;
    font-weight: 400;
    font-size: 23px!important;
    scroll-margin-top: 60px;
}
.h4, h4 {
    font-family: 'Poppins'!important;
    font-weight: 400;
    font-size: 22px!important;
    scroll-margin-top: 60px;
}



.article-details .article-header h1 {
   font-family:
    'Poppins',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
    font-weight: 600;
    font-size: 25px;
    color: #353535;
    margin-top: 10px;
    margin-bottom: 0px;
}



.article-list .article .readmore a {
  color: #0345bf;  
  font-weight: bold;
}
body{font-family: 'Open Sans',sans-serif;font-weight:300;font-size:19px;}

body a{font-family: 'Open Sans',sans-serif;color: #5873c4;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: #5873c4;
    text-decoration-thickness: 1px;
}



h2 a {
  font-size: 26px;
font-weight: bold;
text-decoration: none !important;
    scroll-margin-top: 60px;
}
h3 a {
  font-size: 24px;
text-decoration: none !important;
    scroll-margin-top: 60px;
}
h4 a {
  font-size: 24px;
text-decoration: none !important;
    scroll-margin-top: 60px;
}
#sp-main-body {
    padding: 6px 0 !important;
}
.sp-megamenu-parent > li > a {
    font-family: 'Open Sans';
     font-size: 16px;
}
#sp-right .sp-module {
    border: 0px solid #f3f3f3;
padding: 10px;
margin-top: 10px;
 }
.socialicons {
    display: block;
float:left;
}
#sp-right .sp-module .sp-module-title {
    margin: 0 0 0px;
    padding-bottom: 10px;
    font-weight: 400;
}

.sp-megamenu-parent>li.active>a {
    color: #63a9e1;
}
#sp-footer a, #sp-bottom a {
    color: #171616;
}
#sp-footer, #sp-bottom {
    background: #8db6d9;
    color: #fff;
}
.convertforms form {
    margin: 8.5px 0px 0px 0px;
}
#sppb-addon-1693581233054 {
    padding: 10px 10px 10px 10px;
}
.footerleftfloat {
float: left;
}
.sp-scroll-up {
    bottom: 75px;
    right: 5px;
}
.video-container-responsive {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio (9 / 16 = 0.5625) */
}

.video-container-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
span.badge.bg-danger.featured-article-badge {
    display: none;
}
a.sp-pagebuilder-page-edit {
    display: none !important;
}
.article-can-edit {
    display: none !important;
}

/* === Mommyhood101 Responsive Table (Stacked Card with Full Border) === */

.responsive-table {
  width: 100%;
  border: 1px solid #e3e6ea;   /* soft full border */
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  margin: 1.5em 0;
  border-spacing: 0;
  text-align: center;
}
.responsive-table .book-desc {
    font-weight: 400 !important;
}
/* Each row is its own stacked "card" */
.responsive-table tr {
  display: block;
  background: #ffffff;
  margin: 0 0 18px 0;
  padding: 18px 16px 20px;
  border-radius: 14px;
  border: 1px solid #e3e6ea;             /* full subtle border around each row */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* gentle shadow for lift */
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.responsive-table tr:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  border-color: #d6d9df; /* slightly darker on hover for emphasis */
}

/* Stack all cells vertically */
.responsive-table td,
.responsive-table th {
  display: block;
  width: 100%;
  text-align: center;
  border: none;
  padding: 10px 12px;
  box-sizing: border-box;
}

/* Header style (optional if used) */
.responsive-table th {
  font-weight: 700;
  font-size: 1.1em;
  color: #333;
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 8px;
}

/* Cell text styling */
.responsive-table td {
  color: #444;
  line-height: 1.5;
  font-size: 1.05em;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Clean images — no shadows */
.responsive-table img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: none !important;
  border: none !important;
  display: block;
  margin: 0 auto 10px;
  transition: transform 0.25s ease;
}
.responsive-table img:hover {
  transform: scale(1.02);
}

/* First cell (title or image caption) */
.responsive-table td:first-child {
  font-weight: 600;
  margin-bottom: 6px;
}

/* Hide table headers (since stacked layout) */
.responsive-table thead {
  display: none;
}

/* Responsive padding */
@media (max-width: 700px) {
  .responsive-table tr {
    padding: 14px 12px 16px;
  }
}
.responsive-table a {
    font-size: 1.3rem;
}
  .product-title {
    margin-top: 4px; /* Tight spacing between image and title */
  }


/* Table for gender neutral baby names */
.responsive-table-name-list {
  width: 100%;
  border-collapse: collapse;
}

.responsive-table-name-list thead th {
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
  text-align: center;
  padding: 8px;
  border-bottom: 2px solid #ddd;
}

.responsive-table-name-list td {
  text-align: center;
  padding: 8px;
  border-bottom: 1px solid #ddd;
  position: relative;
}

/* Hide the mobile labels by default */
.responsive-table-name-list td::before {
  content: none;
}

@media screen and (max-width: 768px) {
  .responsive-table-name-list thead {
    display: none;
  }

  .responsive-table-name-list,
  .responsive-table-name-list tbody,
  .responsive-table-name-list tr,
  .responsive-table-name-list td {
    display: block;
    width: 100%;
  }

  .responsive-table-name-list tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    padding: 10px;
    background: white;
  }

  .responsive-table-name-list td {
    text-align: right;
    padding-left: 50%;
  }

  /* Now show the data-labels on mobile only */
  .responsive-table-name-list td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 8px;
    font-weight: bold;
    text-align: left;
    white-space: nowrap;
  }
}
  /* hide publication date from home page carousel of gift articles */

.sppb-articles-carousel-meta-date {
    display: none;
}
.blog.com-content-category-blog h1 {
  font-size: 24px !important;
  font-weight: bold;
}

/* --- Responsive Comparison Table --- */

/* Outer wrapper: enables horizontal scroll on small screens */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Base table styling */
.comparison-table {
  width: 100%;
  min-width: 700px; /* ensures scrolling on smaller screens */
  border-collapse: collapse;
  margin: 1.5em 0;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #333;
  background-color: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 10px;
  table-layout: auto; /* allow flexible column widths */
  overflow: hidden;
}

/* Header cells */
.comparison-table th {
  background-color: #f6f8fa;
  color: #222;
  font-weight: 600;
  text-align: center;
  padding: 12px 14px;
  border-bottom: 2px solid #e3e6ea;
}

/* Regular cells */
.comparison-table td {
  text-align: center;
  padding: 12px 14px;
  border-bottom: 1px solid #e9ecef;
}

/* Left column: label alignment */
.comparison-table td:first-child,
.comparison-table th:first-child {
  text-align: left;
  font-weight: 500;
  max-width: 220px;
  white-space: normal;
}

/* Wrapping rules */
.comparison-table th,
.comparison-table td {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Alternate row shading */
.comparison-table tbody tr:nth-child(even) {
  background-color: #fafbfc;
}

/* Hover effect */
.comparison-table tbody tr:hover {
  background-color: #f2f6ff;
  transition: background-color 0.2s ease;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .comparison-table {
    font-size: 14px;
  }

  .comparison-table th,
  .comparison-table td {
    min-width: 120px;
    padding: 10px;
  }

  .comparison-table td:first-child,
  .comparison-table th:first-child {
    min-width: 160px; /* ensure first column remains readable */
  }

  /* Subtle swipe hint */
  .table-wrapper::after {
    content: "← Swipe to see more →";
    display: block;
    text-align: center;
    font-size: 12px;
    color: #777;
    margin-top: 6px;
  }
}


.holiday-gifts { --card-gap: 18px; --accent:#c81e1e; --accent-2:#155e75; --ok:#16a34a; --soft:#f8fafc; --ink:#0f172a; --muted:#64748b; --ring: rgba(200,30,30,.15); font-size: 16px; line-height: 1.6; color: var(--ink); }
.holiday-gifts a { color: var(--accent-2); text-decoration: none; }
.holiday-gifts a:hover { text-decoration: underline; }
.holiday-gifts .intro { background: linear-gradient(90deg,#fff, #fff8f8); border: 1px solid #fee2e2; padding: 18px; border-radius: 12px; }
.holiday-gifts .intro strong { color: var(--accent); }

.holiday-gifts .toc { margin: 20px 0 28px; padding: 16px; background: var(--soft); border: 1px solid #e5e7eb; border-radius: 12px; }
.holiday-gifts .toc h3 { margin: 0 0 8px; font-size: 18px; }
.holiday-gifts .toc ul { margin: 0; padding-left: 18px; }
.holiday-gifts .toc li { margin: 6px 0; }

.holiday-gifts .notice { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px dashed #e5e7eb; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--muted); }

.holiday-gifts .section { margin: 38px 0; }
.holiday-gifts h2 { font-size: 26px; margin: 0 0 8px; }
.holiday-gifts h3 { font-size: 20px; margin: 18px 0 10px; }
.holiday-gifts .age-intro { color: var(--muted); margin-bottom: 14px; }

.holiday-gifts .tier { margin: 18px 0 8px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background:#fff; border:1px solid #e5e7eb; border-radius: 999px; font-weight: 600; font-size: 14px; }
.holiday-gifts .tier--budget { border-color: #dcfce7; background: #f0fdf4; color: #166534; }
.holiday-gifts .tier--mid { border-color: #e0e7ff; background: #eef2ff; color: #3730a3; }
.holiday-gifts .tier--premium { border-color: #fee2e2; background: #fef2f2; color: #991b1b; }

.holiday-gifts .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gap); }
@media (max-width: 980px) { .holiday-gifts .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .holiday-gifts .grid { grid-template-columns: 1fr; } }

.holiday-gifts .card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.holiday-gifts .card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--ring); }
.holiday-gifts .card img { width: 100%; height: auto; display: block; aspect-ratio: 986/600; object-fit: cover; background: #f1f5f9; margin: 0px;}
.holiday-gifts .card .body { padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.holiday-gifts .tagrow { display: flex; flex-wrap: wrap; gap: 6px; }
.holiday-gifts .tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
.holiday-gifts .price-badge { margin-left: auto; font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid #e5e7eb; background: #fff; }
.holiday-gifts .meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.holiday-gifts .why { font-size: 14px; }
.holiday-gifts .ctas { display: flex; gap: 10px; margin-top: 6px; }
.holiday-gifts .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 12px; border-radius: 10px; font-weight: 600; border: 1px solid transparent; background: var(--accent); color: #fff; }
.holiday-gifts .btn:hover { background: #b91c1c; text-decoration: none; }
.holiday-gifts .btn.secondary { background: #fff; color: var(--accent); border-color: #fecaca; }
.holiday-gifts .note { font-size: 12px; color: var(--muted); }

.holiday-gifts .tips { border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px; background: #fafafa; }
.holiday-gifts .tips h4 { margin: 0 0 8px; }
.holiday-gifts .list-compact { margin: 8px 0 0; padding-left: 18px; }

.holiday-gifts .divider { height: 1px; background: #e5e7eb; margin: 28px 0; }

.holiday-gifts .stockings .chip { display: inline-block; margin: 4px 6px 0 0; padding: 6px 10px; border-radius: 999px; background: #f1f5f9; border: 1px solid #e2e8f0; font-size: 13px; }

.holiday-gifts .backtop { text-align: right; margin-top: 8px; }
.holiday-gifts .section {
  scroll-margin-top: 60px; /* adjust this value as needed */
}
.holiday-gifts h2[id],
.holiday-gifts h3[id] {
  scroll-margin-top: 60px;
}
/* FAQ Styling */
.holiday-gifts .faq {
  margin-top: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 18px 20px;
}

.holiday-gifts .faq .qa {
  border-bottom: 1px solid #f1f5f9;
  padding: 12px 0;
}

.holiday-gifts .faq .qa:last-child {
  border-bottom: none;
}

.holiday-gifts .faq h3 {
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--accent-2);
}

.holiday-gifts .faq p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
/* Rash Image Grid */
.rash-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 15px 0;
  justify-items: center;
}

.rash-images a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rash-images a:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.rash-images img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

@media (min-width: 768px) {
  .rash-images {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.rash-caption {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-top: 5px;
}

/* Lightbox Overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.lightbox:target {
  display: flex;
}
img.centered {
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s 
ease, transform 0.3s 
ease;
}

.mfp-grid img {
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s 
ease, transform 0.3s 
ease;
}
/* === Mommyhood101 Roundup Table (Stacked Card Version) === */

.roundup-table {
  width: 100%;
  border: 1px solid #e6e6e6;   /* subtle soft border */
  border-radius: 16px;         /* rounded corners */
  background-color: #ffffff;
  overflow: hidden;             /* enforce rounding */
  margin: 0.5em 0;
  text-align: center;
  border-spacing: 0;
}

/* === Roundup Table Clickable Product Titles === */
.roundup-table .thumbnail-override a {
  text-decoration: none; /* remove default underline for image links */
  display: inline-block;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.roundup-table .thumbnail-override .product-title {
  font-weight: 600;
  font-size: 1.25em;
  color: #5873c4; /* brand blue */
  margin-top: 8px;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

/* hover state makes it look clearly clickable */
.roundup-table .thumbnail-override a:hover .product-title {
  color: #4157a6; /* darker blue on hover */
  text-decoration: underline;
}


/* Each row is its own card */
.roundup-table tr {
  display: block;
  margin: 0 0 18px 0;
  padding: 18px 16px 22px;
  background: #ffffff;
  border-radius: 16px;
  border-width: 1px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.roundup-table tr:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Stack each cell vertically */
.roundup-table td {
  display: block !important;
  width: 100% !important;
  text-align: center;
  padding: 10px 12px;
  border: none;
  box-sizing: border-box;
}

/* Product title */
.roundup-table .product-title {
  font-weight: 600;
  margin-top: 8px;
  color: #333;
}


/* Stars */
.gold-stars {
  color: #f4b400;
  font-size: 1.3em;
}
.gray-stars {
  color: #ccc;
  font-size: 1.3em;
}

/* === Thumbnail & Rank Overlay === */
.thumbnail-override {
  text-align: center;
  position: relative;
  display: inline-block;
  width: 100%;
}

.thumbnail-override img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.thumbnail-override img:hover {
  transform: scale(1.01);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Auto-number overlays */
.roundup-table tr:nth-of-type(1) .thumbnail-override::before { content: "#1"; }
.roundup-table tr:nth-of-type(2) .thumbnail-override::before { content: "#2"; }
.roundup-table tr:nth-of-type(3) .thumbnail-override::before { content: "#3"; }
.roundup-table tr:nth-of-type(4) .thumbnail-override::before { content: "#4"; }
.roundup-table tr:nth-of-type(5) .thumbnail-override::before { content: "#5"; }

/* Overlay badge styling (floating, centered, subtle rounding) */
.thumbnail-override::before {
  position: absolute;
  content: attr(data-rank); /* or your #1/#2/#3 auto content */
  top: -20px;               /* half overlaps image */
  left: 50%;
  transform: translateX(-50%);
  
  background: #afd1f1;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 8px 16px;
  border-radius: 8px;        /* << subtle corner rounding */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 5;
}



/* Description formatting */
.roundup-table td:last-child {
  text-align: center;
  color: #444;
  line-height: 1.5;
  font-size: 1.05em;
  margin-top: -10px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Remove striping entirely */
.roundup-table tr:nth-child(odd),
.roundup-table tr:nth-child(even) {
  background-color: #ffffff;
}


.slick-slide img {
    border-radius: 10px;
}
.sppb-carousel-inner>.sppb-item>a>img, .sppb-carousel-inner>.sppb-item>img, .sppb-img-responsive {
    border-radius: 10px;
}
.sppb-addon-single-image .sppb-img-responsive, .sppb-text-center .sppb-img-responsive, .sppb-text-left .sppb-img-responsive, .sppb-text-right .sppb-img-responsive {
    border-radius: 10px !important;
}
.sppb-articles-carousel-link {
    font-size: 1.5rem !important;
    line-height: 1.1;
    text-decoration: none;
    color: #3e3e3e !important;
}
.cta-buttons {
  text-align: center;
  margin-top: 8px;
}

.cta-button {
  display: block;              /* Stack buttons on separate lines */
  width: 80%;                  /* Make buttons 80% width */
  margin: 4px auto 0 auto;     /* Center horizontally */
  background-color: #9CCBF5;
  color: #292929;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 15px;             /* Mobile / default size */
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
}

.cta-button:hover,
.cta-button:focus {
  background-color: #8ab8e0;
  text-decoration: none;
  color: #292929;
}

/* Larger font on desktop and larger tablets */
@media (min-width: 768px) {
  .cta-button {
    font-size: 19px;           /* Increase text size on desktop */
    padding: 12px 22px;        /* Optional: slightly bigger button */
    width: 60%;                /* Optional: a bit narrower on wide screens */
  }
}

.cta-buttons-amz {
  text-align: center;
  margin-top: 8px;
}

.cta-button-amz {
  display: block;              /* Stack buttons on separate lines */
  width: 80%;                  /* Make buttons 80% width */
  margin: 4px auto 0 auto;     /* Center horizontally */
  background-color: #FF9A00;
  color: #292929;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 15px;             /* Mobile / default size */
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
}

.cta-button-amz:hover,
.cta-button:focus {
  background-color: #ffaf36;
  text-decoration: none;
  color: #292929;
}

/* Larger font on desktop and larger tablets */
@media (min-width: 768px) {
  .cta-button-amz {
    font-size: 19px;           /* Increase text size on desktop */
    padding: 12px 22px;        /* Optional: slightly bigger button */
    width: 60%;                /* Optional: a bit narrower on wide screens */
  }
}

/* === Mommyhood101 Roundup Table (No-Rank Variant) === */

.roundup-table-no-rank {
  width: 100%;
  border: 1px solid #e6e6e6;   /* subtle soft border */
  border-radius: 16px;         /* rounded corners */
  background-color: #ffffff;
  overflow: hidden;            /* enforce rounding */
  margin: 0.5em 0;
  text-align: center;
  border-spacing: 0;
}

/* Clickable product titles (no-rank version) */
.roundup-table-no-rank .thumbnail-override-no-rank a {
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.roundup-table-no-rank .thumbnail-override-no-rank .product-title {
  font-weight: 700;
  font-size: 1.25em;
  color: #5873c4; /* brand blue */
  margin-top: 10px;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.roundup-table-no-rank .thumbnail-override-no-rank a:hover .product-title {
  color: #4157a6; /* darker blue on hover */
  text-decoration: underline;
}

/* Each row is its own card */
.roundup-table-no-rank tr {
  display: block;
  margin: 0 0 18px 0;
  padding: 18px 16px 22px;
  background: #ffffff;
  border-radius: 16px;
  border-width: 1px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.roundup-table-no-rank tr:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Stack each cell vertically */
.roundup-table-no-rank td {
  display: block !important;
  width: 100% !important;
  text-align: center;
  padding: 10px 12px;
  border: none;
  box-sizing: border-box;
}

/* Product title */
.roundup-table-no-rank .product-title {
  font-weight: 600;
  margin-top: 8px;
  color: #333;
}

/* Thumbnail (no rank overlay) */
.thumbnail-override-no-rank {
  text-align: center;
  position: relative;
  display: inline-block;
  width: 100%;
}

.thumbnail-override-no-rank img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail-override-no-rank img:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Description formatting */
.roundup-table-no-rank td:last-child,
.roundup-table-no-rank td:nth-last-child(2) {
  text-align: center;
  color: #444;
  line-height: 1.5;
  font-size: 1.05em;
  margin-top: 6px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Remove striping entirely */
.roundup-table-no-rank tr:nth-child(odd),
.roundup-table-no-rank tr:nth-child(even) {
  background-color: #ffffff;
}
.roundup-table .product-description {
    text-align: center;
    color: #444;
    line-height: 1.5;
    font-size: 1.05em !important;
    margin-top: 6px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}
/* anchor scroll margin for sticky header */
a[id] {
  scroll-margin-top: 60px; 
}