/*
Theme Name:  Inoterior Child Theme
Description: Child theme for the Inoterior theme
Author:      ThemetechMount
Author URI:  https://www.themetechmount.com/
Template:    inoterior
Version:     1.1.3
Text Domain: inoterior-child
Domain Path: /languages
Tags:        light, white, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, responsive, retina
*/

/* NOTE: Main theme's style.css file is already added in head tag. /*

/* =Theme customization starts here
-------------------------------------------------------------- */

#site-header-menu #site-navigation div.nav-menu > ul > li > a,
.tm-mmmenu-override-yes #site-header-menu #site-navigation .mega-menu-wrap .mega-menu.mega-menu-horizontal > li.mega-menu-item > a {
  color: #232323;
}

.is_stuck .tm-header-icons .themetechmount-fbar-btn a,
.is_stuck #site-header-menu #site-navigation div.nav-menu > ul > li > a,
.is_stuck.tm-mmmenu-override-yes
  #site-header-menu
  #site-navigation
  div.mega-menu-wrap
  ul.mega-menu.mega-menu-horizontal
  > li.mega-menu-item
  > a,
#site-header-menu.is_stuck #site-navigation div.nav-menu > ul > li > a,
.tm-mmmenu-override-yes
  #site-header-menu
  .is_stuck
  #site-navigation
  div.mega-menu-wrap
  ul.mega-menu.mega-menu-horizontal
  > li.mega-menu-item
  > a,
#site-header-menu.is_stuck #site-navigation div.nav-menu > ul > li > a,
.tm-mmmenu-override-yes
  #site-header-menu.is_stuck
  #site-navigation
  div.mega-menu-wrap
  ul.mega-menu.mega-menu-horizontal
  > li.mega-menu-item
  > a {
  color: #232323;
}

.tm-header-icon.tm-header-social-box a.tm-social-btn-link i,
.tm-header-icons .tm-header-search-link a,
.tm-header-icons .tm-header-wc-cart-link a {
  color: #232323;
}

.is_stuck .tm-header-icon.tm-header-social-box a.tm-social-btn-link i,
.is_stuck .tm-header-icons .tm-header-search-link a,
.is_stuck .tm-header-icons .tm-header-wc-cart-link a {
  color: #232323;
}

.tm-header-style-infostack .tm-header-top-wrapper .headerlogo .tm-header-site-desc {
  height: 124px;
}

.tm-textcolor-white .tm-bread-sep,
.tm-textcolor-white .tm-titlebar-main .breadcrumb-wrapper a {
  color: #ffffff;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button {
  text-transform: uppercase;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:hover a,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  color: #ffffff;
}

.tm-extra-product-options .tm-extra-product-options-textarea .tmcp-field-wrap label {
  flex: 1 1 100%;
}

.homepage-recent-posts-blog-box-wrapper .themetechmount-blogbox-stylethree .tm-featured-wrapper {
  max-height: 225px;
}

.homepage-recent-posts-blog-box-wrapper .themetechmount-blogbox-stylethree .themetechmount-box-content .themetechmount-box-title h4 {
  overflow: hidden;
  max-height: 50px;
  font-size: 18px;
  line-height: 26px;
}

.homepage-recent-posts-blog-box-wrapper .themetechmount-blogbox-stylethree .themetechmount-box-content .themetechmount-box-title h4 a {
  font-size: 18px;
}

.themetechmount-box-blog.themetechmount-blogbox-styleone {
  margin-bottom: 35px;
}

.themetechmount-box-blog.tm-no-featured-content:not(.themetechmount-blog-box-view-left-image):not(.themetechmount-blog-box-view-right-image)
  .tm-box-post-date {
  position: relative;
  bottom: 0;
}

.themetechmount-box-blog.themetechmount-blogbox-styleone.tm-no-featured-content .themetechmount-box-desc {
  position: absolute;
  left: 94px;
  border: 0;
  top: 0;
  padding: 15px 0 15px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  width: calc(100% - 100px);
}

p {
  text-align: justify;
}

.tm-product-image-box {
  max-height: 300px;
  overflow: hidden;
}

.themetechmount-box-blog .themetechmount-box-content h4 {
  line-height: 24px;
  font-size: 18px;
}

.themetechmount-box-blog.themetechmount-blogbox-styleeight .themetechmount-box-desc .themetechmount-box-desc-text {
  max-height: 60px;
  overflow: hidden;
  line-height: 18px;
}

.tm-box-col-wrapper.col-md-4 .themetechmount-box-blog.themetechmount-blogbox-styleone .themetechmount-box-desc,
.tm-box-col-wrapper.col-md-4 .themetechmount-box-blog.themetechmount-blogbox-stylesix .themetechmount-box-desc {
  padding: 30px 15px 15px 15px;
  height: 115px;
  overflow: hidden;
}

.tm-box-col-wrapper.col-md-4 .themetechmount-box-blog.themetechmount-blogbox-stylesix .themetechmount-box-desc {
  padding: 10px 15px 10px 15px;
  height: 103px;
  overflow: hidden;
  min-height: 103px;
}

.tm-box-col-wrapper.col-md-4
  .themetechmount-box-blog.themetechmount-blogbox-styleone
  .themetechmount-box-content
  .themetechmount-box-desc
  h4,
.tm-box-col-wrapper.col-md-4
  .themetechmount-box-blog.themetechmount-blogbox-stylesix
  .themetechmount-box-content
  .themetechmount-box-desc
  h4 {
  font-size: 16px;
  line-height: 19px;
  height: 78px;
  overflow: hidden;
}

.themetechmount-box-blog-classic .entry-header:not(.tm-titlebar) .entry-title {
  font-size: 18px;
  line-height: 24px;
}

.multi-column-row.articles-pdf .tm-box-col-wrapper {
  margin-bottom: 15px;
}

#sidebar-right .widget.themetechmount_widget_recent_entries .post-detail {
  max-height: 82px;
  overflow: hidden;
  line-height: 19px;
}

#sidebar-right .widget.themetechmount_widget_recent_entries .post-detail a {
  font-size: 14px;
  line-height: 13px;
}

#totop {
  bottom: 100px;
}

.breadcrumb-wrapper .breadcrumb-wrapper-inner > span:last-child {
  display: none;
}

.breadcrumb-wrapper .breadcrumb-wrapper-inner span.tm-bread-sep:nth-last-child(2) {
  display: none;
}

.tm-titlebar-main .tm-titlebar-main-inner .entry-title {
  font-size: 28px;
  line-height: 38px;
}

.themetechmount-topbar-wrapper.tm-bgcolor-darkgrey.tm-textcolor-white {
  background-color: #ffffff;
  border-bottom: 1px solid #ccc;
  color: #000000;
}

.themetechmount-topbar-wrapper.tm-bgcolor-darkgrey.tm-textcolor-white .container.tm-container-for-topbar {
  width: 100%;
  margin: 0;
  padding: 0;
}

.themetechmount-topbar-wrapper.tm-bgcolor-darkgrey.tm-textcolor-white .container.tm-container-for-topbar .tm-wrap-cell {
  text-align: center;
}

.themetechmount-topbar-wrapper.tm-bgcolor-darkgrey.tm-textcolor-white .container.tm-container-for-topbar .tm-wrap-cell img {
  height: auto;
  max-height: 480px;
  max-width: 100%;
  object-fit: contain;
}

.themetechmount-box-blog.themetechmount-blogbox-stylethree .themetechmount-box-desc {
  margin-left: 25px;
  padding-top: 15px;
  padding-left: 18px;
}

.themetechmount-blogbox-stylethree .themetechmount-box-title {
  max-height: 78px;
  overflow: hidden;
}

.headerlogo img {
  max-height: 128px;
  height: auto;
  width: auto;
}

.tm-search-overlay {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .tm-search-overlay .tm-search-outer {
    width: 80%;
  }
}

@media screen and (min-width: 1200px) {
  .hide-desktop {
    display: none !important;
  }
}

@media screen and (max-width: 1200px) {
  .themetechmount-topbar-wrapper {
    display: block !important;
  }
  .hide-mobile {
    display: none !important;
  }
}
@media screen and (max-width: 768px) {
  .tm-header-style-infostack .headerlogo {
    height: 80px;
    line-height: 80px !important;
  }

  .tm-header-style-infostack .headerlogo .tm-header-site-desc {
    height: 80px;
    line-height: 80px;
  }

  .tm-header-style-infostack .headerlogo .site-title {
    display: block;
  }

  .tm-header-style-infostack .headerlogo img {
    max-height: 80px;
    max-width: 290px;
    height: auto;
  }

  .tm-header-style-infostack #site-header-menu #site-navigation .menu-toggle {
    top: 28px;
  }

  .site-main {
    padding-top: 10px;
  }

  #sidebar-right .widget {
    text-align: center;
  }

  .tm-textcolor-white .tm-titlebar-main .entry-title {
    font-size: 20px;
    line-height: 30px;
  }
}

@media screen and (max-width: 375px) {
  .tm-header-style-infostack .headerlogo img {
    padding-right: 30px;
  }
}

@media screen and (max-width: 350px) {
  .tm-header-style-infostack .headerlogo img {
    max-width: 230px;
    height: auto;
    margin-top: 12px;
  }
}

.tm-mobile-search-trigger {
  display: none;
}

@media screen and (max-width: 1200px) {
  .tm-mobile-search-trigger {
    display: inline-block;
    position: absolute;
    top: 51px;
    right: 40px;
    z-index: 11;
    line-height: 1;
  }

  .tm-mobile-search-trigger a {
    display: inline-block;
    color: #232323;
    font-size: 20px;
    line-height: 1;
    padding: 0 8px;
  }

  .kw-phone .tm-header-icons .tm-header-search-link {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .tm-mobile-search-trigger {
    top: 32px;
  }
}

/* My account: shared neutral navigation and content surfaces */
.woocommerce-account {
  --cuv-account-primary: #4F4F4F;
  --cuv-account-primary-hover: #3f3f3f;
  --cuv-account-muted: #747474;
  --cuv-account-line: #dedede;
  --cuv-account-surface: #f7f7f7;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  background: transparent;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin: 0;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  align-items: center;
  background: #fff;
  border: 1px solid var(--cuv-account-line);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(79, 79, 79, 0.06);
  color: var(--cuv-account-primary);
  display: flex;
  font-size: 15px;
  font-weight: 600;
  min-height: 48px;
  padding: 12px 16px;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a::before {
  display: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:focus,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--cuv-account-primary);
  border-color: var(--cuv-account-primary);
  box-shadow: 0 8px 20px rgba(79, 79, 79, 0.18);
  color: #fff;
  transform: translateY(-1px);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:focus-visible {
  outline: 2px solid var(--cuv-account-primary);
  outline-offset: 2px;
}

.woocommerce-account .woocommerce-MyAccount-content:not(:has(.cuv-newspapers)) {
  background: linear-gradient(135deg, #fff 0%, var(--cuv-account-surface) 100%);
  border: 1px solid var(--cuv-account-line);
  border-radius: 14px;
  box-shadow: 0 12px 38px rgba(79, 79, 79, 0.06);
  padding: 24px;
}

.woocommerce-account .woocommerce-MyAccount-content p {
  text-align: left;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-account .woocommerce-MyAccount-content legend {
  color: var(--cuv-account-primary);
}

.woocommerce-account .woocommerce-MyAccount-content input:not([type="checkbox"]):not([type="radio"]),
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content textarea {
  border-color: var(--cuv-account-line);
  border-radius: 7px;
}

.woocommerce-account .woocommerce-MyAccount-content input:not([type="checkbox"]):not([type="radio"]):focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus,
.woocommerce-account .woocommerce-MyAccount-content textarea:focus {
  border-color: var(--cuv-account-primary);
  box-shadow: 0 0 0 2px rgba(79, 79, 79, 0.12);
  outline: 0;
}

.woocommerce-account .woocommerce-MyAccount-content .button:not(.wps-sfw-aurora-filter) {
  background-color: var(--cuv-account-primary);
  border-color: var(--cuv-account-primary);
  color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content .button:not(.wps-sfw-aurora-filter):hover,
.woocommerce-account .woocommerce-MyAccount-content .button:not(.wps-sfw-aurora-filter):focus {
  background-color: var(--cuv-account-primary-hover);
  border-color: var(--cuv-account-primary-hover);
  color: #fff;
}

/* My account: protected newspaper library */
.woocommerce-account .woocommerce-MyAccount-content:has(.cuv-newspapers) {
  padding: 0;
}

.cuv-newspapers {
  --cuv-blue: var(--cuv-account-primary, #4F4F4F);
  --cuv-blue-soft: var(--cuv-account-muted, #747474);
  --cuv-line: var(--cuv-account-line, #dedede);
  --cuv-surface: var(--cuv-account-surface, #f7f7f7);
  --cuv-accent: var(--tm-skincolor-bg, #ed1f24);
  --cuv-red: var(--cuv-accent);
  box-sizing: border-box;
  color: var(--cuv-blue);
  background: linear-gradient(135deg, #fff 0%, var(--cuv-surface) 100%);
  border: 1px solid var(--cuv-line);
  border-radius: 14px;
  box-shadow: 0 12px 38px rgba(79, 79, 79, 0.06);
  overflow: hidden;
  padding: 24px;
  width: 100%;
}

.cuv-newspapers *,
.cuv-newspapers *::before,
.cuv-newspapers *::after {
  box-sizing: border-box;
}

.cuv-newspapers svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cuv-newspapers__heading {
  margin-bottom: 18px;
}

.cuv-newspapers__heading h2 {
  color: var(--cuv-blue);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  margin: 0 0 5px;
}

.cuv-newspapers__heading p {
  color: var(--cuv-blue-soft);
  font-size: 16px;
  margin: 0;
}

.cuv-newspapers__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.cuv-stat-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--cuv-line);
  border-radius: 10px;
  display: flex;
  gap: 14px;
  min-height: 88px;
  padding: 15px;
}

.cuv-stat-card__icon {
  align-items: center;
  background: #f1f1f1;
  border-radius: 50%;
  color: var(--cuv-blue);
  display: inline-flex;
  flex: 0 0 50px;
  height: 50px;
  justify-content: center;
}

.cuv-stat-card__icon--favorite {
  background: #fff1f2;
  color: var(--cuv-accent);
}

.cuv-stat-card__icon--favorite svg {
  fill: currentColor;
}

.cuv-stat-card__icon svg {
  height: 25px;
  width: 25px;
}

.cuv-stat-card small,
.cuv-stat-card strong {
  display: block;
}

.cuv-stat-card small {
  color: var(--cuv-blue-soft);
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 4px;
}

.cuv-stat-card strong {
  color: var(--cuv-blue);
  font-size: 25px;
  line-height: 1.15;
}

.cuv-stat-card strong.cuv-stat-card__date {
  font-size: 18px;
}

.cuv-newspapers__toolbar {
  align-items: stretch;
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.cuv-newspapers__filters {
  display: flex;
  flex: 1 1 auto;
  gap: 10px;
  margin: 0;
}

.cuv-newspapers__quick-filters {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.cuv-filter {
  align-items: center;
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  display: flex;
  margin: 0;
  min-height: 46px;
  padding: 0 12px;
}

.cuv-filter svg,
.cuv-favorites-filter svg {
  color: var(--cuv-blue);
  flex: 0 0 21px;
  height: 21px;
  margin-right: 8px;
  width: 21px;
}

.cuv-filter--search {
  flex: 1 1 300px;
}

.cuv-filter--period {
  flex: 0 0 185px;
  max-width: 185px;
  padding-right: 8px;
}

.cuv-filter input,
.cuv-filter select {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--cuv-blue) !important;
  font-family: inherit;
  height: 44px;
  margin: 0 !important;
  min-width: 0;
  outline: 0;
  padding: 0 !important;
  width: 100%;
}

.cuv-filter select {
  appearance: auto;
  cursor: pointer;
  font-size: 13px;
  line-height: normal;
  padding-right: 4px !important;
}

.cuv-filter input::placeholder {
  color: #7a7a7a;
  opacity: 1;
}

.cuv-library-filter {
  align-items: center;
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  color: var(--cuv-blue);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  white-space: nowrap;
}

.cuv-library-filter:hover,
.cuv-library-filter:focus,
.cuv-library-filter.is-active {
  background: var(--cuv-blue);
  border-color: var(--cuv-blue);
  color: #fff;
}

.cuv-favorites-filter svg {
  color: currentColor;
  fill: transparent;
}

.cuv-favorites-filter:hover svg,
.cuv-favorites-filter:focus svg,
.cuv-favorites-filter.is-active svg {
  color: #fff;
  fill: #fff;
}

.cuv-library-filter__dot {
  background: var(--cuv-blue);
  border: 2px solid var(--cuv-blue);
  border-radius: 50%;
  flex: 0 0 10px;
  height: 10px;
  margin-right: 8px;
  width: 10px;
}

.cuv-unviewed-filter:hover .cuv-library-filter__dot,
.cuv-unviewed-filter:focus .cuv-library-filter__dot,
.cuv-unviewed-filter.is-active .cuv-library-filter__dot {
  background: #fff;
  border-color: #fff;
}

.cuv-newspapers__list {
  background: #fff;
  border: 1px solid var(--cuv-line);
  border-radius: 10px;
  overflow: hidden;
}

.cuv-newspapers__list-head,
.cuv-newspaper-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px 100px 145px;
}

.cuv-newspapers__list-head {
  color: var(--cuv-blue-soft);
  font-size: 13px;
  padding: 13px 20px;
}

.cuv-newspaper-row {
  align-items: center;
  border-top: 1px solid var(--cuv-line);
  min-height: 78px;
  padding: 8px 20px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cuv-newspaper-row.is-removing {
  opacity: 0;
  transform: translateX(12px);
}

.cuv-newspaper-row__edition {
  align-items: center;
  display: flex;
  min-width: 0;
}

.cuv-newspaper-row__preview {
  align-items: center;
  background: #f1f1f1;
  border: 1px solid #e2e2e2;
  border-radius: 3px;
  display: flex;
  flex: 0 0 50px;
  height: 58px;
  justify-content: center;
  margin-right: 14px;
  overflow: hidden;
}

.cuv-newspaper-row__preview img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cuv-newspaper-row__preview svg {
  height: 25px;
  width: 25px;
}

.cuv-newspaper-row__title {
  min-width: 0;
}

.cuv-newspaper-row__title strong {
  color: var(--cuv-blue);
  display: inline;
  font-size: 16px;
  line-height: 1.3;
}

.cuv-newspaper-row__title small {
  color: var(--cuv-blue-soft);
  display: block;
  font-size: 13px;
  line-height: 1.35;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cuv-newspaper-row__unread {
  background: var(--cuv-blue);
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  margin-left: 7px;
  vertical-align: 2px;
  width: 8px;
}

.cuv-favorite-toggle {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #777 !important;
  flex: 0 0 38px;
  height: 38px;
  margin: 0 14px 0 auto;
  padding: 7px !important;
}

.cuv-favorite-toggle-spacer {
  flex: 0 0 38px;
  height: 38px;
  margin-left: auto;
  margin-right: 14px;
}

.cuv-favorite-toggle:hover,
.cuv-favorite-toggle:focus,
.cuv-favorite-toggle.is-favorite {
  color: var(--cuv-accent) !important;
}

.cuv-favorite-toggle.is-favorite svg {
  fill: currentColor;
}

.cuv-favorite-toggle.is-loading {
  opacity: 0.45;
}

.cuv-favorite-toggle svg,
.cuv-newspaper-row__format svg,
.cuv-view-button svg {
  height: 21px;
  width: 21px;
}

.cuv-newspaper-row__format,
.cuv-newspaper-row__size {
  color: var(--cuv-blue-soft);
  font-size: 14px;
}

.cuv-newspaper-row__format {
  align-items: center;
  display: flex;
  gap: 8px;
}

.cuv-newspaper-row__actions {
  display: flex;
  justify-content: flex-end;
}

.cuv-view-button {
  align-items: center;
  border: 1px solid var(--cuv-blue);
  border-radius: 7px;
  color: var(--cuv-blue);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
  padding: 7px 14px;
  white-space: nowrap;
}

.cuv-view-button:hover,
.cuv-view-button:focus {
  background: var(--cuv-blue);
  color: #fff;
}

.cuv-view-button.is-disabled {
  border-color: #c7c7c7;
  color: #8a8a8a;
}

.cuv-newspapers__empty {
  align-items: center;
  border-top: 1px solid var(--cuv-line);
  color: var(--cuv-blue-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 48px 20px;
  text-align: center;
}

.cuv-newspapers__empty svg {
  height: 38px;
  width: 38px;
}

.cuv-newspapers__empty a {
  color: var(--cuv-red);
  font-weight: 600;
}

.cuv-newspapers__footer {
  border-top: 1px solid var(--cuv-line);
  padding: 12px 16px 16px;
}

.cuv-newspapers__note {
  align-items: center;
  background: #f3f3f3;
  border-radius: 6px;
  color: var(--cuv-blue-soft);
  display: inline-flex;
  font-size: 12px;
  gap: 8px;
  padding: 8px 10px;
}

.cuv-newspapers__note svg {
  color: var(--cuv-blue);
  flex: 0 0 19px;
  height: 19px;
  width: 19px;
}

.cuv-newspapers__count {
  color: var(--cuv-blue-soft);
  font-size: 13px;
  margin: 12px 4px 0;
}

.cuv-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
  margin-top: -30px;
}

.cuv-pagination .page-numbers {
  align-items: center;
  border: 1px solid var(--cuv-line);
  border-radius: 7px;
  color: var(--cuv-blue);
  display: inline-flex;
  font-size: 13px;
  height: 38px;
  justify-content: center;
  min-width: 38px;
  padding: 0 10px;
}

.cuv-pagination .page-numbers.current,
.cuv-pagination a.page-numbers:hover,
.cuv-pagination a.page-numbers:focus {
  background: var(--cuv-red);
  border-color: var(--cuv-red);
  color: #fff;
}

@media screen and (max-width: 1100px) {
  .cuv-newspapers {
    padding: 18px;
  }

  .cuv-newspapers__list-head,
  .cuv-newspaper-row {
    grid-template-columns: minmax(0, 1fr) 72px 82px 128px;
  }
}

@media screen and (max-width: 767px) {
  .woocommerce-account .woocommerce-MyAccount-content:not(:has(.cuv-newspapers)) {
    border-radius: 10px;
    padding: 15px;
  }

  .cuv-newspapers {
    border-radius: 10px;
    padding: 15px;
  }

  .cuv-newspapers__stats {
    grid-template-columns: 1fr;
  }

  .cuv-stat-card {
    min-height: 74px;
  }

  .cuv-stat-card__icon {
    flex-basis: 44px;
    height: 44px;
  }

  .cuv-newspapers__filters,
  .cuv-filter--period,
  .cuv-newspapers__quick-filters {
    flex: 1 1 100%;
    max-width: none;
    width: 100%;
  }

  .cuv-newspapers__toolbar,
  .cuv-newspapers__filters {
    flex-wrap: wrap;
  }

  .cuv-library-filter {
    flex: 1 1 50%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .cuv-newspapers__list-head {
    display: none;
  }

  .cuv-newspaper-row {
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    padding: 15px;
  }

  .cuv-newspaper-row__edition {
    grid-column: 1 / -1;
  }

  .cuv-newspaper-row__format,
  .cuv-newspaper-row__size {
    align-items: center;
    display: flex;
    gap: 6px;
  }

  .cuv-newspaper-row__format::before,
  .cuv-newspaper-row__size::before {
    color: #7a7a7a;
    content: attr(data-label) ":";
    font-size: 11px;
  }

  .cuv-newspaper-row__actions {
    grid-column: 1 / -1;
  }

  .cuv-view-button {
    width: 100%;
  }

  .cuv-newspapers__note {
    align-items: flex-start;
  }

  .cuv-newspapers__count {
    text-align: center;
  }

  .cuv-pagination {
    justify-content: center;
    margin-top: 14px;
  }
}

/* Subscriptions for WooCommerce: retain its layout, replace the orange palette. */
.wps-sfw-aurora-account,
.wps-sfw-aurora-detail {
  --wps-sfw-aurora-text: #4F4F4F;
  --wps-sfw-aurora-muted: #747474;
  --wps-sfw-aurora-border: #d8d8d8;
  --wps-sfw-aurora-border-soft: #e4e4e4;
  --wps-sfw-aurora-accent: #4F4F4F;
  --wps-sfw-aurora-accent-soft: #f0f0f0;
  --wps-sfw-aurora-bg: #f7f7f7;
  --wps-sfw-aurora-shadow: 0 24px 50px rgba(79, 79, 79, 0.08);
}

.wps-sfw-aurora-next-delivery,
.wps-sfw-aurora-subscription-card__media,
.wps-sfw-aurora-detail__hero-media {
  background: linear-gradient(180deg, #f1f1f1 0%, #fafafa 100%);
}

.wps-sfw-aurora-next-delivery__icon,
.wps-sfw-aurora-manage-button,
.wps-sfw-aurora-action-card__button,
.wps-sfw-aurora-pagination__button,
.wps-sfw-aurora-pro-actions .button,
.wps-sfw-aurora-pro-actions a.button,
.wps-sfw-aurora-pro-actions .btn.button,
.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap .button,
.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap a.button {
  background: linear-gradient(180deg, #5c5c5c 0%, #4F4F4F 100%);
}

.wps-sfw-aurora-pro-actions .button:hover,
.wps-sfw-aurora-pro-actions a.button:hover,
.wps-sfw-aurora-pro-actions .btn.button:hover {
  background: linear-gradient(180deg, #555 0%, #3f3f3f 100%);
}

.wps-sfw-aurora-manage-button:hover,
.wps-sfw-aurora-manage-button:focus,
.wps-sfw-aurora-action-card__button:hover,
.wps-sfw-aurora-action-card__button:focus,
.wps-sfw-aurora-pagination__button:hover,
.wps-sfw-aurora-pagination__button:focus,
.wps-sfw-aurora-pro-actions .button:hover,
.wps-sfw-aurora-pro-actions a.button:hover,
.wps-sfw-aurora-pro-actions .btn.button:hover {
  box-shadow: 0 16px 28px rgba(79, 79, 79, 0.24);
}

.wps-sfw-aurora-next-delivery__icon::after {
  border-color: #4F4F4F;
}

.wps-sfw-aurora-subscription-card__glyph {
  border-color: #4F4F4F;
}

.wps-sfw-aurora-subscription-card__glyph::before {
  border-top-color: #4F4F4F;
}

.wps-sfw-aurora-subscription-card__glyph::after {
  border-left-color: #4F4F4F;
}

.wps-sfw-aurora-action-card,
.wps-sfw-aurora-summary__total,
.wps-sfw-aurora-history__table thead th,
.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap table thead th {
  background: #f3f3f3;
  border-color: #e0e0e0;
}

.wps-sfw-aurora-summary__list li,
.wps-sfw-aurora-history__table tbody td,
.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap table th,
.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap table td {
  border-bottom-color: #e6e6e6;
}

.wps-sfw-aurora-history__table a:hover,
.wps-sfw-aurora-extensions
  .wps_sfw_account_additional_wrap.wps_sfw_account_renewal_wrap
  table
  td
  a:not(.button):hover {
  color: #3f3f3f;
}
