/*
 * Theme Name:  Recap Child
 * Theme URI:   https://recap.codesupply.co/
 * Description: Recap Child Theme
 * Author:      Code Supply Co.
 * Author URI:  https://codesupply.co/
 * Template:    recap
 * Version:     1.0.0
 */

/* Copy any classes from parent theme here. They will override the parent's version. */
/* Horizontal layout — image left, content right */
.cms-card__title a:hover{color:#737373;}
	.cs-post-slider.cs-post-slider-type-2 .cs-entry__content{padding:1.5rem;}
.cs-post-slider.cs-post-slider-type-2 .cs-entry__outer .cs-entry__thumbnail .cs-overlay-background>img{object-fit:contain;}
.cs-post-slider.cs-post-slider-type-2 .cs-entry__outer,.cs-post-slider.cs-post-slider-type-2 .cs-entry__outer .cs-entry__thumbnail,.cs-post-slider.cs-post-slider-type-2 .cs-entry__outer .cs-entry__thumbnail .cs-overlay-background{height:inherit;}
button.wpcp-btn.wpcp-btn-primary:hover {
    background: #03284E;
}
.wpcp-btn-secondary:hover {
    background: #f5f5f5;
    color: #414651;
}
button.wpcp-btn.wpcp-btn-primary {
    background: #043664;
    border-radius: 8px;
    font-size: 16px;
    padding: 8px 16px;
    min-height: 40px;
}
button.wpcp-btn.wpcp-btn-link {
    color: #414651;
    text-decoration: underline;
    font-size: 16px;
}
.wpcp-btn-secondary {
    border: 1px solid #d5d7da;
    color: #414651;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 16px;
    min-height: 40px;
}
.wpcp-actions {
    justify-content: space-between;
}
.wpcp-text {
    flex: auto;
	color:#414651;
	font-size: 16px;
}
.wpcp-title {
    color: #181d27;
    font-size: 20px;
}
.wpcp-layout-box.wpcp-banner {left:0;background: #fff;max-width:475px;}
.cs-post-slider__pagination .swiper-pagination-bullet-active .circle-progress{stroke:#043664;}
.saboxplugin-wrap{margin-top:32px!important;}
.cs-entry__footer {
    margin-top: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #dbdbdb;
}
.navigation.pagination .nav-links > .page-numbers.current {
    background: #043664;
}
button:disabled, button:disabled[disabled]{padding:0;}
.csco-rbc .csco-rbc__nav-btn,.csco-rbc__nav-btn:focus {
    height: 38px!important;
    width: 38px!important;
}
.csco-rbc .csco-rbc__nav-btn:active {
    height: 38px;
    width: 38px;
}
button:before{border:none;}
.grx-ss .card .img {
    height: unset;
}
.cs-subscribe__form .cs-button {
    background: #043664;
}
.cs-subscribe__form input {
    border: none;
    padding: 0;
}
.cs-subscribe__form-group{width:100%;}
.cs-subscribe__content .cs-subscribe__form {
    margin-top: 0;
    width: 100%;
    border-radius: 8px;
    padding: 0 6px 0 16px;
    background: #ffffff;
    height: 48px;
    display: flex;
    justify-content: space-between;
	max-width:450px;
}
.cs-subscribe__content {
    display: flex;
    max-width: unset;
    background: #043664;
    padding: 30px;
    border-radius: 12px;
    align-items: center;
	gap:24px;
}
.cs-subscribe__content .cs-subscribe__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
	flex:2;
}
.cs-subscribe__content .cs-subscribe__heading {
    font-size: 20px;
    color: #ffffff;
}
.cs-subscribe__content .cs-subscribe__sub-heading {
    color: #ffffffcc;
	text-align:left;
}
.cs-entry__metabar-reading_time.cms-readtime-moved .cs-entry__metabar-reading_time__bar {
    display: none;
}
.cs-entry__metabar-reading_time.cms-readtime-moved {
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}
.cs-entry__header-standard .cs-entry__post-meta-bottom .cs-entry__header-date:last-child {
    border-left: 2px solid #d5d7da;
    padding-left: 12px;
}
.rmp-rating-widget .rmp-rating-widget__icons-list li.js-rmp-rating-item:has(~ li.js-rmp-rating-item:hover) i.rmp-icon,
.rmp-rating-widget .rmp-rating-widget__icons-list li.js-rmp-rating-item:has(~ li.js-rmp-rating-item i.rmp-icon--hovered) i.rmp-icon {
  color: #F5A623 !important;
  -webkit-text-fill-color: #F5A623 !important;
}


.cms-bestsellers__header .cms-bestsellers__view-more {
    color: #043664;
    font-size: 18px;
    font-weight: 600;
    text-decoration: underline;
}
.cs-container.cs-categories-container {
    display: none;
}
.grx-ss .btn{color:#181d27!important}
.category .cs-featured-archive {
    display: none;
}
.cs-entry__post-meta .cs-meta-author-avatar img{width:40px;height:40px;}
.cs-entry__post-meta .cs-meta-date:last-child:not(:first-child){margin-left:0}
.home .cs-posts-area__pagination{display:none;}
.cs-entry__header-standard .cs-entry__header-meta{gap:12px}
.cs-header__nav-inner li.current-menu-item > a{color:#043664;}
.cms-citations__sources ul {
    display: flex;
    gap: 30px;
    margin: 0;
	flex-wrap:wrap;
	row-gap:0;
}
@media (min-width: 768px) {
    .cs-page__author {
        grid-template-columns:unset;
    }
.cs-post-slider.cs-post-slider-type-2 .cs-entry{height:360px;}
}
.cs-page__author-name .cs-page__title{font-size:24px;}
.cs-page__author-additional{max-width:unset}
.cs-read-next__heading {
    font-size: 20px;
    color: #161616;
    text-transform: capitalize;
    letter-spacing: 0;
}
.su-note,.cs-page__author-social-links{display:none;}
.grx-ss .title a{color:#181d27!important}
.entry-content a {color:#0059ad!important;}
.grx-ss .card .generic {overflow:visible;}
.grx-ss h2 {
    font-size: 24px!important;
}
.cs-entry__post-meta .post-categories a,.cs-entry__metabar-toc a.active{color:#043664;}
.cs-header__custom-button:hover,.cs-search__submit:hover{
	background-color:#03284E;
}
.cs-header__custom-button,.cs-entry__metabar-reading_time__fill,.cs-search__submit{
	background-color:#043664;
}
.cs-post-slider__item .cs-entry__title{
	font-size: 36px!important;
	font-weight: 600;
	line-height: 44px;
}

.cms-card-grid--horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cms-card--horizontal {
    flex-direction: row;
    align-items: stretch;
}

.cms-card--horizontal .cms-card__image-link {
    width: 100%;
	height: 210px;
    flex-shrink: 0;
    aspect-ratio: auto;
}

.cms-card--horizontal .cms-card__image {
    height: 100%;
}

.cms-card--horizontal .cms-card__body {
    flex: 1;
    padding: 20px;
    gap: 12px;
}

.cms-card--horizontal .cms-card__title {
    font-size: 26px;
    line-height: 31px;
	font-weight:600;
}

@media (max-width: 768px) {
    .cms-card-grid--horizontal {
        grid-template-columns: 1fr;
    }
    .cms-card--horizontal {
        flex-direction: column;
    }
    .cms-card--horizontal .cms-card__image-link {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
	.cms-bestsellers__header {
		padding-right:24px;
	}
	.cs-entry__header-standard {
    margin-bottom: 0;
}
	.cs-subscribe__content{flex-direction:column;}
	.cs-subscribe__content .cs-subscribe__form{max-width:unset;}
	.read-by-category .cs-container {
    padding-right: 0;
}
	.read-by-category .cs-container .csco-rbc__header {
    padding-right: 24px;
}
	.cs-entry__header-meta .cms-post-rating .cs-entry__metabar-reading_time__label {
    margin: 0 0 0 20px;
}
.cs-post-slider.cs-post-slider-type-2 .cs-entry__outer .cs-entry__thumbnail{height:225px;}
	.cs-entry__header-meta .cs-entry__metabar-reading_time__label{margin:0}
}


.csco-custom-section {
    margin: 60px 0;
}

.csco-custom-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.csco-custom-section__title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.csco-custom-section__viewall {
    color: #043664;
	font-size:18px;
    font-weight: 600;
    text-decoration: underline;
}


/* Card grid */
.cms-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Card */
.cms-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.cms-card__image-link {
    display: block;
    aspect-ratio: 16 / 9;
	height:210px;
    overflow: hidden;
    background: #f3f4f6;
}

.cms-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cms-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
	justify-content:space-between;
}

.cms-card__category {
    color: #043664;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: capitalize;
}

.cms-card__category:hover {
    text-decoration: underline;
}

.cms-card__title {
    font-size: 26px;
    font-weight: 600
    line-height: 31px;
    color: #181d27;
    margin: 0;
}

.cms-card__title a {
    color: inherit;
    text-decoration: none;
}
.single-post .cs-content-area .cs-entry__post-meta .post-categories::before {
  content: "Explore more articles on ";
  margin-right: 4px;
	color:#181d27;
}


/* Author row — avatar left, name + date stacked right */
.cms-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.cms-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.cms-card__author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
	gap:2px;
}

.cms-card__author-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.cms-card__date {
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 768px) {
    .cms-card-grid {
        grid-template-columns: 1fr;
    }
    .csco-custom-section__title {
        font-size: 22px;
    }
    .cms-card__title {
        font-size: 18px;
    }
}

.csco-rbc {
    margin: 60px 0;
}

.csco-rbc__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.csco-rbc__title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.csco-rbc__nav {
    display: flex;
    gap: 12px;
}

/* Force-override any theme button styles */
.csco-rbc__nav-btn,
.csco-rbc__nav-btn:focus,
.csco-rbc__nav-btn:active {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e5e7eb !important;
    background: #fff !important;
    color: #374151 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: none !important;
    outline: none !important;
    padding: 0;
}

.csco-rbc__nav-btn:hover {
    background: #f9fafb !important;
    border-color: #d1d5db !important;
}

/* ✅ Completely hide disabled nav button (instead of just dimming) */
.csco-rbc__nav-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Swiper container fixes */
.csco-rbc__slider {
    overflow: hidden;
}

.csco-rbc .swiper-slide {
    height: auto !important;
}

/* The card itself */
.csco-rbc__card {
    display: block;
    position: relative;
    width: 100%;
    min-height: 320px;
    aspect-ratio: 1 / 1.15;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    background-color: #f3f4f6;
}

.csco-rbc__card-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* ✅ removed transition + hover scale */
}

.csco-rbc__card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
}

.csco-rbc__card-title {
    position: absolute;
    bottom: 20px;
    left: 24px;
    right: 24px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
	text-align: center;
}

@media (max-width: 768px) {
    .csco-rbc__title { font-size: 22px; }
    .csco-rbc__card-title { font-size: 18px; bottom: 16px; left: 18px; right: 18px; }
    .csco-rbc__nav-btn { width: 38px; height: 38px; }
    .csco-rbc__card { min-height: 260px; }
}

.csco-rbc__header {
    display: flex;
    justify-content: space-between;
}
@media (min-width: 768px) {
    .cs-posts-area__horizontal .cs-entry__meta .cs-entry__post-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.cms-bestsellers {
    margin: 50px 0;
}

.cms-bestsellers__header {
    margin-bottom: 24px;
	display: flex;
    align-items: center;
    justify-content: space-between;
}

.cms-bestsellers__title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.cms-bestsellers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cms-product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
	min-width: 282px;
}

.cms-product-card__image-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #f9fafb;
}

.cms-product-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
}

.cms-product-card__info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 14px 0;
}

.cms-product-card__generic {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1;
}

.cms-product-card__name {
    font-size: 18px;
    font-weight: 500;
    color: #111827;
    margin: 0;
    line-height: 1.3;
}

.cms-product-card__name a {
    color: inherit;
    text-decoration: none;
}

.cms-product-card__name a:hover {
    text-decoration: underline;
}

.cms-product-card__rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 4px;
}

.cms-star {
    width: 16px;
    height: 16px;
}

.cms-product-card__rating-count {
    margin-left: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #5206D1;
}

.cms-product-card__price {
    display: flex;
    flex-direction: row;
    gap: 2px;
	align-items: center;
}

.cms-product-card__price-label {
    font-size: 14px;
	font-weight: 600;
    color: #181d27;
}

.cms-product-card__price-value {
    font-size: 12x;
    font-weight: 600;
    color: #66C61C;
}

.cms-product-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    background: #FFD400;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    margin-top: auto;
}

@media (max-width: 1024px) {
    .cms-bestsellers__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .cms-bestsellers__grid { display:flex;overflow: auto; }
    .cms-bestsellers__title { font-size: 22px; }
	.cs-sidebar__area {text-align:center;}
	.csco-bestsellers {
    padding-right: 0;
	}
	.cs-entry__footer .cs-entry__footer-inner{flex-direction:column;align-items: flex-start;}
}

.cs-posts-area__horizontal .cs-entry:not(:last-child) {
    border-bottom: none;
}

.cs-posts-area__horizontal .cs-entry__outer:has(.cs-entry__thumbnail) {
    background: #fff;
    border-radius: 12px;
    outline: 1px solid var(--cs-layout-background);
	box-shadow: 0 8px 32px 0 rgba(var(--cs-light-primary-color-rgb), 0.07);
	row-gap: 0 !important;
}

.cms-citations {
  margin: 32px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e6e6ef;
  background: #fff;
}
.cms-citations__header {
    background: #0f3a72;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    padding: 8px 16px;
}
.cms-citations__body {
  padding: 16px;
  line-height: 1.6;
  color: #414651
}
.cms-citations__body p:last-child { margin-bottom: 0; }
.cms-citations__body a {
  color: #414651
  text-decoration: underline;
}
.cms-citations__sources {
    list-style: disc;
    margin: 0;
    padding: 16px 0 16px 0;
    background: #E9EAEB;
}
.cms-citations__sources li { margin: 4px 0; }
.cms-citations__sources a {
  color: #414651!important;
  text-decoration: underline;
}

.cms-warning {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e6e6ef;
  margin: 24px 0;
  background: #fff;
}
.cms-warning__header {
    background: #DC6803;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cms-warning__icon {
  font-size: 20px;
  line-height: 1;
}
.cms-warning__body {
  padding: 16px;
  color: #414651
  line-height: 1.6;
}
.cms-warning__body p:last-child { margin-bottom: 0; }

.rmp-widgets-container.rmp-wp-plugin.rmp-main-container .rmp-rating-widget__icons-list:before {
    display:none;
}

.cms-dyk {
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0 0 0;
    border: 1px solid #d5d7da;
}

.cms-dyk__header {
    background: #079455;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    padding: 8px 16px;
}

.cms-dyk__body {
    background: #fff;
    padding: 16px;
}

.cms-dyk__stat-row {
    margin-bottom: 10px;
    line-height: 1.4;
}

.cms-dyk__stat {
    font-weight: 600;
    font-size: 20px;
    color: #181d27;
}

.cms-dyk__stat-desc {
    font-size: 16px;
    color: #181d27;
    margin-left: 6px;
	font-weight: 500;
}

.cms-dyk__text {
    color: #414651;
    font-size: 14px;
    line-height: 24px;
}

.cms-dyk__text p {
    margin: 0;
}

.cms-dyk__divider {
    border-top: 1px solid #d5d7da;
    margin: 8px 0;
}

.cms-dyk__source {
    color: #414651;
    font-size: 14px;
    line-height: 24px;
}



.cs-sidebar__area .widget:not(:last-child) {
    border-bottom: none;
    padding-bottom: unset;
}

.cs-logo img {
  width: 100px!important;
}

.cs-entry__header-standard .cs-entry__post-meta-bottom {
	gap:12px;
}

.cs-entry__footer-inner {
	gap: 0.75rem;
}

.cs-entry__footer .cs-col-center {
    grid-template-columns: auto;
    row-gap: 0.5rem;
}

#rank-math-faq .rank-math-list-item {
  border-bottom: 1px solid #ddd;
}

#rank-math-faq .rank-math-question {
  cursor: pointer;
  position: relative;
  padding: 18px 45px 18px 0;
}

#rank-math-faq .rank-math-question::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  line-height: 1;
}

#rank-math-faq .rank-math-answer {
  display: none;
  padding-bottom: 20px;
}

#rank-math-faq .rank-math-list-item.active .rank-math-answer {
  display: block;
}

#rank-math-faq .rank-math-list-item.active .rank-math-question::after {
  content: "-";
}

.saboxplugin-wrap .saboxplugin-tab .saboxplugin-gravatar img,.saboxplugin-wrap {
	border-radius: 8px;
}
.saboxplugin-wrap .saboxplugin-authorname{margin:0}
.saboxplugin-wrap .saboxplugin-tab .saboxplugin-gravatar {
    padding: 0 16px 0 0;
	float:left;
}
.saboxplugin-wrap .saboxplugin-tab .saboxplugin-authorname {
    font-size: 16px;
    line-height: 28px;
    margin: 0;
    font-weight: 600;
	text-align:left;
}
.su-box.su-box-style-soft.cms-warning-box {
    background: #DC6803;
    border: 1px solid #d5d7da!important;
}
.su-box.su-box-style-soft.cms-didyouknow-box .su-box-title {
	background: #DC6803;
}
.su-box.su-box-style-soft.cms-didyouknow-box {
    background: #079455;
    border: 1px solid #d5d7da!important;
}
.su-box.su-box-style-soft.cms-didyouknow-box .su-box-title{
	background-color: #079455!important;
}
.cms-warning-box .su-box-title {
    display: flex;
    align-items: center;
    gap: 10px;
	background-color: #DC6803 !important;
}

.su-box-style-soft .su-box-title{
	background-image: unset!important;
}

.cms-warning-box .su-box-title::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    background-image: url('https://qablog.cheapmedicineshop.com/wp-content/uploads/2026/05/alert-triangle.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.saboxplugin-wrap .saboxplugin-tab .saboxplugin-desc {
	-webkit-line-clamp: 2!important;
	margin: 0 0 8px 0;
}

.sabox-learn-more {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
	text-align:left;
}
.sabox-learn-more > a {
	color:#043664;
}

.saboxplugin-wrap .saboxplugin-tab .saboxplugin-desc {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
	text-align: left;
}

.cs-entry__metabar{
	display: block
}

/* Make entire slider card clickable - no PHP changes needed */
.cs-post-slider__item {
    position: relative;
}

.cs-post-slider__item .cs-entry__title a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Keep category/author links clickable above the overlay */
.cs-post-slider__item .cs-entry__meta,
.cs-post-slider__item .cs-entry__excerpt {
    position: relative;
    z-index: 2;
}

.cs-entry__post-meta {
    flex-wrap: nowrap;
}

.cs-entry-prev-next .cs-entry__thumbnail {
	display:none;
}

.cs-categories__list .cs-categories__item {
    width: 100%!important;
    align-items: center;
}

.cs-entry__footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.cs-entry__footer-inner ul.post-categories {
    padding: 0!important;
}

.cs-entry__footer-inner ul.post-categories > li {
    margin-bottom: 0!important;
}

.cs-posts-area__horizontal {
    column-gap: 24px;
    --cs-posts-area-grid-columns: 2;
}

.cs-categories__list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.cs-posts-area__horizontal .cs-entry__content {
    grid-template-columns: repeat(1,1fr);
	padding: 1rem;
}

.cs-posts-area__horizontal .cs-entry__thumbnail {
	height:100%;
}

.csco-custom-section__header {
    display: flex;
    justify-content: space-between;
}

.cs-posts-area__horizontal .cs-entry__outer:has(.cs-entry__thumbnail) {
    grid-template-columns: repeat(1,1fr);
    row-gap: 1.5rem;
	height: auto;
}

.cs-content-area .cs-container {
    padding: 0;
}


@media (min-width: 992px) {
	.cs-sticky-sidebar-enabled.cs-stick-to-top .cs-sidebar__area {
		max-width:300px;
	}
}

@media (min-width: 768px){
	.single .cs-metabar-enabled.cs-sidebar-right:has(.cs-entry__metabar) .cs-entry__container {
    grid-template-columns: minmax(228px, 1fr) minmax(0, var(--cs-entry-content-medium-width));
	}
}

@media (min-width: 1024px) {
.single-post .cs-sidebar-right .cs-main-content {
    display: flex;
    flex-direction: row;
	gap:92px;
}
.single-post .cs-sidebar-right .cs-main-content .cs-content-area .cs-entry__wrap {
    width: 100%;
}

.single-post .cs-sidebar-right .cs-main-content .cs-content-area {
    display: flex;
	width: 100%;
    justify-content: space-between;
	gap:92px;
}
}

@media (max-width: 767.98px) {
  .cs-entry__metabar {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .cs-entry__metabar-inner,
  .cs-entry__metabar-item {
    width: 100%;
    box-sizing: border-box;
  }

  .cs-entry__metabar-toc.is-collapsible {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    background: #ffffff;
    margin-bottom: 16px;
  }

  .cs-entry__metabar-toc.is-collapsible .cs-entry__metabar-toc__heading {
    cursor: pointer;
    position: relative;
    padding: 0 32px 0 0;
    margin: 0;
    user-select: none;
    font-weight: 600;
    letter-spacing: .04em;
  }

  .cs-entry__metabar-toc.is-collapsible .cs-entry__metabar-toc__heading::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-25%) rotate(-135deg);
    transition: transform .2s ease;
  }

  .cs-entry__metabar-toc.is-collapsible.is-collapsed .cs-entry__metabar-toc__heading::after {
    transform: translateY(-75%) rotate(45deg);
  }

  .cs-entry__metabar-toc.is-collapsible .cs-entry__metabar-toc__nav-wrapper {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #e8e8e8;
  }

  .cs-entry__metabar-toc.is-collapsible.is-collapsed .cs-entry__metabar-toc__nav-wrapper {
    display: none;
  }

  .cs-entry__metabar-toc + .widget_block {
    margin-bottom: 20px;
	text-align: center;
  }
	
  .cs-posts-area__horizontal {
    --cs-posts-area-grid-columns: 1;
	}
}

@media (min-width: 576px) {
    .cs-entry__content {
        padding: 1rem;
    }
}
/* Force 2-column grid for custom sections */
.csco-forced-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .csco-forced-grid {
        grid-template-columns: 1fr;
    }
}
/* Spacing for custom category section heading */
.csco-custom-cat-section .csco-custom-section__header {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid currentColor;
}
/* 2-column card grid used by Men's Health and similar sections */
.csco-two-col-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .csco-two-col-grid {
        grid-template-columns: 1fr;
    }
}
/* Full-width homepage banner above newsletter */
.csco-homepage-banner {
    width: 100%;
    margin-bottom: 45px;
}

.csco-homepage-banner img {
    display: block;
    width: 100%;
    height: auto;
}
/* Best Selling Medicines block */
.csco-bestsellers {
    margin: 32px auto;
}

.csco-bestsellers .promo_title h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid currentColor;
}

.csco-bestsellers .promo_section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0;
    margin: 0;
}

.csco-bestsellers .promo_box {
    flex: 1 1 calc(25% - 16px);
    padding: 0 !important;
    min-width: 200px;
}

.csco-bestsellers .promo_card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 12px;
    transition: box-shadow 0.2s;
}

.csco-bestsellers .promo_card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.csco-bestsellers .promo_image img {
    width: 100%;
    height: auto;
    display: block;
}

.csco-bestsellers .promo_product_name {
    padding: 10px 12px 0;
}

.csco-bestsellers .promo_product_name h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.csco-bestsellers .promo_product_name a {
    text-decoration: none;
    color: inherit;
}

.csco-bestsellers .promo_product_name a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .csco-bestsellers .promo_box {
        flex: 1 1 calc(50% - 16px);
    }
	.csco-bestsellers .promo_section {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media (max-width: 480px) {
    .csco-bestsellers .promo_box {
        flex: 1 1 100%;
    }
	.wpcp-actions {
    flex-direction: column-reverse;
}
	.wpcp-actions button {
    width: 100%;
}
}

@media (max-width: 425px) {
	
	.cs-categories__list {
		grid-template-columns: repeat(2,1fr);
	}
	.cs-entry__header-standard .cs-entry__post-meta-bottom .cs-entry__header-date:last-child {
    border: none;
    padding: 0;
	}
}
/* Rate My Post — hover label styling */
.rmp-rating-widget__hover-text {
    display: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 6px;
    min-height: 1.4em;
    color: inherit;
}
/* Remove pre-highlighted average stars from rating widget */
/* Stars will still fill on hover via the plugin's own JS */
.rmp-rating-widget .rmp-icon--full-highlight,
.rmp-rating-widget .rmp-icon--half-highlight {
    color: #ccc !important;
    -webkit-text-fill-color: #ccc !important;
}
/* Average rating green badge above widget title */
p.rmp-results-above-title {
    display: inline-flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 8px 12px !important;
    gap: 8px !important;
    height: 40px !important;
    background: #ECFDF3 !important;
    border: 1px solid #ABEFC6 !important;
    border-radius: 6px !important;
    margin-bottom: 12px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #1a6b3c !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}
.rmp-widgets-container.rmp-wp-plugin.rmp-main-container{
	text-align:left;
}
/* ══════════════════════════════════════
   Rate My Post — Full Figma Component
══════════════════════════════════════ */

/* Main widget container */
.rmp-rating-widget {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0 !important;
    gap: 16px !important;
    max-width: 603px !important;
    margin: 0 auto !important;
}

/* Average rating green badge */
p.rmp-results-above-title {
    box-sizing: border-box !important;
    display: inline-flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 8px 12px !important;
    gap: 8px !important;
    width: auto !important;
	white-space: nowrap !important;
    height: 40px !important;
    background: #ECFDF3 !important;
    border: 1px solid #ABEFC6 !important;
    border-radius: 6px !important;
    margin: 0 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    color: #067647 !important;
}

/* Title — "How useful was this post?" */
.rmp-rating-widget .rmp-heading--title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 24px !important;
    line-height: 32px !important;
    color: #161616 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Subtitle — "Please give rating how you liked it." */
.rmp-rating-widget .rmp-heading--subtitle {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    color: #161616 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Stars row container */
.rmp-rating-widget .rmp-rating-widget__icons-list {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 !important;
    width: 331px !important;
    height: 42px !important;
    list-style: none !important;
    margin: 0 !important;
    gap: 0 !important;
}

/* Individual star box */
.rmp-rating-widget .rmp-rating-widget__icons-list .js-rmp-rating-item {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 3px 5px !important;
    width: 42px !important;
    height: 42px !important;
    border: 1px solid #D5D7DA !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    position: relative !important;
    transition: border-color 0.15s ease !important;
}

/* Star icon */
.rmp-rating-widget .rmp-rating-widget__icons-list .js-rmp-rating-item i {
    font-size: 24px !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    color: #D5D7DA !important;
    -webkit-text-fill-color: #D5D7DA !important;
}

/* Hovered / selected star — border highlight */
.rmp-rating-widget .rmp-rating-widget__icons-list .js-rmp-rating-item:hover,
.rmp-rating-widget .rmp-rating-widget__icons-list .js-rmp-rating-item.rmp-icon--active {
    border-color: #F5A623 !important;
}

/* Keep pre-filled average stars neutral (no color) */
.rmp-rating-widget .rmp-icon--full-highlight,
.rmp-rating-widget .rmp-icon--half-highlight {
    color: #D5D7DA !important;
    -webkit-text-fill-color: #D5D7DA !important;
}

/* Highlighted star icon on hover via JS */
.rmp-rating-widget .js-rmp-rating-item:hover i,
.rmp-rating-widget .js-rmp-rating-item.js-rmp-active i {
    color: #F5A623 !important;
    -webkit-text-fill-color: #F5A623 !important;
}

/* No votes / results text */
.rmp-rating-widget .js-rmp-not-rated,
.rmp-rating-widget .js-rmp-msg,
.rmp-rating-widget .rmp-rating-widget__results {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 24px !important;
    color: #161616 !important;
    margin: 0 !important;
}

/* Hover label "Bad", "Good" etc */
.rmp-rating-widget__hover-text {
    display: none;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #161616 !important;
    margin-top: 4px !important;
    min-height: 20px;
}

/* Mobile */
@media (max-width: 640px) {
    .rmp-rating-widget {
        max-width: 100% !important;
    }

    .rmp-rating-widget .rmp-rating-widget__icons-list {
        width: 100% !important;
    }

    .rmp-rating-widget .rmp-heading--title {
        font-size: 20px !important;
    }
}
/* Star tooltip — hidden by default */
.rmp-rating-widget .js-rmp-rating-item {
    position: relative !important;
}

.rmp-star-tip {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #161616;
    background: #fff;
    border: 1px solid #D5D7DA;
    border-radius: 4px;
    padding: 3px 8px;
    z-index: 10;
    pointer-events: none;
}

/* Show on star hover */
.rmp-rating-widget .js-rmp-rating-item:hover .rmp-star-tip {
    display: block;
}
/* Remove border on star hover */
.rmp-rating-widget .rmp-rating-widget__icons-list .js-rmp-rating-item:hover {
    border-color: #D5D7DA !important;
}

/* Star icon fill on hover */
.rmp-rating-widget .js-rmp-rating-item:hover i {
    color: #F5A623 !important;
    -webkit-text-fill-color: #F5A623 !important;
}

/* Tooltip — no border, no background */
.rmp-star-tip {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #161616;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    z-index: 10;
    pointer-events: none;
}

.rmp-rating-widget .js-rmp-rating-item:hover .rmp-star-tip {
    display: block;
}
/* ── Key Takeaways Box ── */
.csco-key-takeaways {
    width: 100% !important;
    margin-bottom: 28px !important;
}

.csco-key-takeaways__inner {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 16px 16px 20px !important;
    gap: 12px !important;
    width: 100% !important;
    background: #EFF7FF !important;
    border: 1px solid #B5E0FF !important;
    border-radius: 12px !important;
}

.csco-key-takeaways__header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: 28px !important;
}

.csco-key-takeaways__header svg {
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
}

.csco-key-takeaways__title {
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 28px !important;
    letter-spacing: -0.02em !important;
    color: #181D27 !important;
}

.csco-key-takeaways__divider {
    width: 100% !important;
    height: 0 !important;
    border: none !important;
    border-top: 1px dashed #043664 !important;
    margin: 0 !important;
    background: none !important;
}

.csco-key-takeaways__list {
    width: 100% !important;
    margin: 4px 0 0 !important;
    padding-left: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    list-style: disc !important;
}

.csco-key-takeaways__list li {
    line-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.csco-key-takeaways__inner {
    gap: 0 !important;
}

.csco-key-takeaways__divider {
    margin-bottom: 12px !important;
}

.csco-key-takeaways__header {
    margin-bottom: 8px !important;
}
/* Left align the entire rating widget */
.rmp-rating-widget {
    text-align: left !important;
    align-items: flex-start !important;
}

.rmp-rating-widget .rmp-rating-widget__icons {
    display: flex !important;
    justify-content: flex-start !important;
}

/* Left-align stars with fixed gap */
.rmp-rating-widget .rmp-rating-widget__icons-list {
    justify-content: flex-start !important;
    gap: 12px !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}
/* Force full left alignment at every level */
.rmp-widgets-container,
.rmp-rating-widget,
.rmp-rating-widget__icons,
.rmp-rating-widget__icons-list {
    text-align: left !important;
    align-items: flex-start !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.sib-form,
#sib-form-container,
#sib-container {
    text-align: left !important;
}

.rmp-rating-widget .rmp-rating-widget__icons-list {
    justify-content: flex-start !important;
    gap: 12px !important;
    width: auto !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Override plugin's center alignment on container */
.rmp-widgets-container.rmp-wp-plugin {
    text-align: left !important;
}