/**
 Theme Name: Astro
 Description: Astro
 Author: Astronativity
 Template: blocksy
 Text Domain: blocksy
 Version:      2.0.38
 */

/**
 * 1. Category card template
*/

:root {
  /* Define all CSS variables */
  --main-text-color-card: #505050;
  --background-color-card: #fff;
  --border-color-card: #cac4d0;
  --meta-text-color: #666666;
  
  /* Pre-define common spacing units */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  
  /* Pre-define common dimensions */
  --card-image-height: 145px;
  --card-border-radius: 12px;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700; /* Bold */
  font-display: swap;
  src: url('fonts/subset-Inter-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500; /* Medium */
  font-display: swap;
  src: url('fonts/subset-Inter-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600; /* SemiBold */
  font-display: swap;
  src: url('fonts/subset-Inter-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'Georgia';
    src: url('fonts/subset-Georgia.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}


.entry-card {
  border-radius: 12px !important;
  border: var(--border-color-card, #e0e0e0) 1px solid!important;
  background-color: var(--background-color-card, #ffffff);
  overflow: hidden;
  position: relative;
  padding: 0;
  box-sizing: border-box;;
  margin-left: 2px;
  display: flex;
  flex-direction: column;
  min-height: 330px;
}

.entry-card .ct-media-container {
  position: relative;
  display: block;
  overflow: hidden;
}

.entry-card {
  position: relative; /* Set position for ::after */
  cursor: pointer; /* Indicate it's clickable */
}

.entry-card::after {
  content: ""; /* Required for ::after */
  position: absolute; /* Overlay the entire card */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Ensure it sits above other elements */
  background: transparent; /* Keep it invisible */
}

.entry-card a {
  position: relative; /* Ensure links remain clickable */
  z-index: 2; /* Place above the ::after overlay */
}

.entry-card::after {
  pointer-events: auto; /* Allow clicks on the ::after element */
}

.entry-card:hover .ct-media-container img {
  transform: scale(1.05); /* Zoom effect */
  filter: brightness(1.1); /* Optional brightening effect */
}

.entry-card::after {
  pointer-events: none; /* Optional for accessibility if only for visual effect */
}


.entry-card .ct-media-container img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.entry-card.category-zodiac-sign.astro_event .ct-media-container img {
    object-fit: initial;
    transform: none;
}

.entry-card.category-zodiac-sign .ct-media-container img {
  object-fit: contain;
  transform: scale(0.8);
}

.entry-card .entry-title {
  font-weight: 600;
  line-height: 1.5rem;
  letter-spacing: 0.5px;
  position: relative!Important;
  bottom: 0!Important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.entry-card .entry-title a {
  color: var(--main-text-color-card, #333333);
  text-decoration: none;
}

.entry-card .entry-meta {
  list-style: none;
  margin: 0;
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--meta-text-color, #666666);
}

.entry-card .entry-meta[data-id="meta_1"] {
  margin-top: 1rem;
}

.entry-card .entry-meta[data-id="meta_2"] {
  margin-bottom: 1rem;
}

.entry-card .entry-meta li {
  display: flex;
  align-items: center;
}

.entry-card .entry-meta li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  opacity: 0.5;
}

.entry-card .entry-meta a {
  color: inherit;
  text-decoration: none;
}

.entry-card .entry-excerpt {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5; /* Ensures consistent spacing between lines */
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.25px;
  text-align: left;
  box-sizing: border-box;
  width: 100%;
  max-height: calc(
    2 * 1.5em
  ); /* Adjust max-height dynamically based on line-height */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry-card .entry-excerpt p {
  max-width: fit-content;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry-card .entry-block .entry-meta .entry-title a,
.entry-card .entry-block .entry-meta .entry-title a:hover,
.entry-card .entry-block .entry-meta .entry-title a:focus {
  color: var(--main-text-color-card);
}

.entry-card:before,
.ct-query-template .wp-block-group:before {
  content: "\f0a9";
  font: 400 32px FontAwesome;
  display: inline-block;
  margin-left: 5px;
  color: #6750a4;
  position: absolute;
  bottom: 16px;
  right: 16px;
}

/**
block-post
*/
.entry-content .ct-query-template .wp-block-group {
  /* border-radius: 0.25em;
    border: var(--border-color-card, #e0e0e0) 1px solid;
    background-color: var(--background-color-card, #ffffff);
    overflow: hidden;
    position: relative; */
  padding: 0;
  /* box-sizing: border-box;
    width: 100%;
    margin-left: 2px; */
}

.entry-content .ct-query-template .wp-block-post {
  border-radius: 12px;
  border: var(--border-color-card, #e0e0e0) 1px solid;
  background-color: var(--background-color-card, #ffffff);
  overflow: hidden;
  position: relative;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  margin-left: 2px;
}

.entry-content .wp-block-post .ct-dynamic-media {
  position: relative;
  display: block;
  overflow: hidden;
}

/*.entry-content .wp-block-post .ct-dynamic-media img {
  width: 100% !important;
  height: 145px !important;
  object-fit: scale-down;
  transition: transform 0.3s ease;
}*/

.entry-content .wp-block-post h2 {
  max-width: fit-content;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry-content .wp-block-post h2 a {
  text-decoration: none;
}

.entry-content .wp-block-post .has-small-font-size {
  list-style: none;
  padding: 0 1rem;
  margin: 0;
  padding-bottom: 14px;
  font-size: 0.875rem;
  color: var(--meta-text-color, #666666);
}

.entry-content .wp-block-post .wp-elements-75c3acab3cff5557061d009d04e39255 {
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.25px;
  text-align: left;
  padding: 0 1em;
  box-sizing: border-box;
  width: 100%;
  max-height: 106px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 1rem;
}


/** form contacts*/
#nf-form-1-cont {
    height: 750px;
}

.addtoany_content {
    height: 37px;
}


/**
from Child Theme for Astronativity
*/

/* =============================================
-------------------  1.Landing page ---------------
==============================================*/
p.background-color-paragraph {
    background-color: #faf5ff;
    padding: 20px 32px;
    color: #6750a4;
    width: 100% !important;
    margin: 16px auto;
    border-radius: 20px;
}

div.background-color-block {
  display: flex;
  justify-content: center;
  padding: 0 0 16px 0;
  flex-direction: column;
  flex-wrap: wrap;
}

.background-list {
  background-color: #faf5ff;
  padding: 24px 40px;
  margin: 16px auto;
  width: 100% !important;
}

.background-block-list {
    display: flex;
    border-radius: 20px;
    padding: 0;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    flex-wrap: wrap;
    align-content: flex-start;
}

@media (max-width: 767px) {
.background-block-list {
    width: 100%;
}
.background-list {
     width: 100%;
     padding: 24px 16px;
}

#sidebar {
    min-height: 1200px;
} 
}

.ct-sidebar .widget-title {
    text-align: center;
}

.ct-sidebar {
        min-height: 1200px;
}

/* =============================================
-------------------  1.1 Buttons ---------------
==============================================*/

.wp-block-buttons {
  min-width:181px;
  min-height: 40px; /* Reserve height for buttons */
}

.wp-block-button__link {
  display: inline-block;
  padding: 5px 20px;
  font-size: 15px; /* Explicit size to avoid shifts with font loading */
  line-height: 24px;
  text-align: center;
}

@media (max-width: 600px) {
  .wp-block-buttons {
    min-width: 120px; /* Adjust for smaller devices */
  }

  .wp-block-button__link {
    font-size: 14px;
    padding: 5px 16px; /* Slightly smaller padding */
  }
}

/* =============================================
-------------------  1.2 zodiac maket ---------------
==============================================*/

/* Target the main container */
.zodiac-sign-header {
    display: flex; /* Creates a flex container */
    flex-wrap: wrap; /* Allows wrapping of items */
    gap: 20px; /* Adds space between items */
    justify-content: flex-start; /* Aligns items to the left */
}

/* Style the individual figures */
.zodiac-sign-header .wp-block-image {
    text-align: center; /* Centers the image and caption */
    flex: 0 0 auto; /* Prevents figures from stretching */
}

/* Style the images */
.zodiac-sign-header img {
    width: 72px; /* Uniform width for images */
    height: 72px; /* Uniform height for images */
    object-fit: cover; /* Ensures images are cropped properly if needed */
}

/* Style the captions */
.zodiac-sign-header figcaption {
    font-size: 14px; /* Adjust font size as needed */
    color: #333; /* Optional: set text color */
    margin-top: 5px; /* Add space between image and caption */
}

/* Make it scrollable on mobile devices */
@media (max-width: 600px) {
    .zodiac-sign-header {
        overflow-x: auto; /* Enable horizontal scrolling */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        scroll-snap-type: x mandatory; /* Adds snapping for a better user experience */
        width: 100%; /* Ensure it takes up full width */
        padding-bottom: 10px; /* Optional: Adds space at the bottom of the scroll area */
    }

    /* Optional: Add scroll snap to images */
    .zodiac-sign-header .wp-block-image {
        scroll-snap-align: start; /* Ensures each item snaps into place */
    }
}


/* =============================================
-------------------  1.3 images ---------------
==============================================*/
/* Add this to your theme's style.css or Custom CSS section */

/* Desktop styles (default) */
.home-page-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 2rem !important;
    padding: 1rem;
}

.home-page-text {
    flex: 1;
    max-width: 50%;
    padding-left: 2rem;
    text-align: left;
}

.wp-block-image {
    margin: 0 !important;
    margin-bottom: 32px !important;
    flex: 0 0 auto;
}

.wp-block-image .wp-image-370 {
    width: 290px;
    height: 290px;
    object-fit: cover;
}

.wp-block-buttons {
    justify-content: flex-start;
}

/* Mobile and tablet styles (below 768px) */
@media screen and (max-width: 767px) {
    .home-page-container {
        flex-direction: column !important;
        align-items: center !important;
    }

    .home-page-text {
        width: 100% !important;
        max-width: 100%;
        padding-left: 0;
    }

    .wp-block-buttons {
        justify-content: center;
    }
    
    .wp-block-image {
    margin-bottom: 0 !important;
    }
}


/* =============================================
-------------------  1.4 FAQ list ---------------
==============================================*/

.saswp-faq-block-section ol{
    padding-left: 0;
}


/* =============================================
-------------------  3.userWP ---------------
==============================================*/
@media screen and (max-width: 999px) {
  .mobile-menu-show {
    display: block; /* Ensures the element is visible */
  }
}

@media screen and (min-width: 1000px) {
  #menu-item-3080, #menu-item-3081 {
    display: none; /* Hides the element on larger screens */
  }
}

.uwp-login,
.uwp-registration,
.uwp-forgot,
.uwp-account {
  background-color: transparent;
  padding: 0;
}
.uwp_social_login_ul .uwp_social_login_icon a {
  background: transparent;
}

.uwp_social_login_ul li {
  background: transparent;
}
.uwp_social_login_ul li:hover a {
  background: transparent;
}

.uwp-social-class {
  display: flex;
  justify-content: center;
}

.uwp_page .uwp-login-form input[type="submit"],
.uwp_page .uwp-registration-form input[type="submit"],
.uwp_page .uwp-forgot-form input[type="submit"],
.uwp_page .uwp-change-form input[type="submit"],
.uwp_page .uwp-account-form input[type="submit"],
.uwp_widgets .uwp-login-form input[type="submit"],
.uwp_widgets .uwp-registration-form input[type="submit"],
.uwp_widgets .uwp-forgot-form input[type="submit"],
.uwp_widgets .uwp-change-form input[type="submit"],
.uwp_widgets .uwp-account-form input[type="submit"],
.uwp_adv_search_form .uwp-login-form input[type="submit"],
.uwp_adv_search_form .uwp-registration-form input[type="submit"],
.uwp_adv_search_form .uwp-forgot-form input[type="submit"],
.uwp_adv_search_form .uwp-change-form input[type="submit"],
.uwp_adv_search_form .uwp-account-form input[type="submit"] {
  background: #6750a4 none repeat scroll 0 0;
  border: 0;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  width: 100%;
}

.uwp-account > h2 {
  display: none;
}

.uwp_page .uwp-profile-tab-label {
  font-size: 20px;
  line-height: inherit;
  text-transform: none;
}

.uwp_page .uwp-profile-nav .active,
.uwp_page .uwp-profile-subnav .active {
  border-bottom: 3px solid #735eab;
}

/* =============================================
-------------------  4.es-form ---------------
==============================================*/

.emaillist input[type="submit"] {
  width: 100%;
}

.es-field-wrap * {
  width: 100%;
}

.emaillist .es_subscription_message.success {
  color: #ffff;
}

.emaillist {
  width: 100%;
}

.widget_categories .widgettitle {
  display: none;
}

.widget_categories {
  margin-top: 5px;
}

@media (max-width: 767px) {
  #block-25 h3 {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* =============================================
-------------------  5.zodiacpress ---------------
==============================================*/
#zp-offset-wrap {
    display: flex!important;
    align-items: center;
}

#zp-submit-wrap #zp-fetch-birthreport[disabled],
#zp-submit-wrap #zp-fetch-birthreport[disabled]:hover {
  color: #1d1b2061;
  background-color: #1d1b201f;
}

#zp-form-wrap #zp-birthreport-form .zp-input-text:focus,
#zp-form-wrap #zp-birthreport-form select:focus {
  border: 1px solid #49454f;
  outline: 0;
  transition: 0.2s ease-in;
}

#zp-form-wrap .zp-button {
  background: #6750a4;
  border-width: 0;
}

#zp-form-wrap .zp-button:hover {
  box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
  opacity: 0.9;
  border-width: 0;
}

#zp-report-content .zp-subheading {
  margin-bottom: 16px;
  margin-top: 32px;
}

.zp-birthdate legend,
.zp-birthtime legend {
  width: 100%;
}
.zp-form #day,
.zp-form #month,
.zp-form #year {
  width: calc(100% / 3)!important;
  max-width: 170px!important;
  margin-right: 14px!important; 
}

.zp-form #year {
    margin-right: 0!important; 
}

/*.zp-form #minute, .zp-form #hour {
    width: calc(100% / 2)!important;
    max-width: 170px!important;
} */

.zp-form #hour, .zp-form #minute {
    display: inline-block;
    width: calc(50% - 7px)!important;/* Поделя пространството, като се изважда gap */
    max-width: 170px !important;
    min-width: 80px;
    vertical-align: middle; /* Подравняване по вертикала */
}

.zp-form #hour {
    margin-right: 14px!important; /* Разстояние между двете полета */
}


/* =============================================
-------------------  5.1 current-planetary-positions ---------------
==============================================*/
.widget_cpp_widget, .widget_dmf_widget {
    min-height: 500px;
    border-radius: 12px;
    border: 1px solid var(--border-color-card);
    padding-left: 0;
    overflow: hidden;
    padding: 16px;
}

.es_textbox_button {
    margin-top: 12px;
}

.widget_cpp_widget #current-planets {
  display: block;
  font-size: 14px;
  min-width: 240px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

#currentplanets_sprite {
  margin-left: 0.5em;
}


#current-planets {
  font-family: inherit;
  margin: 1em auto;
  text-rendering: optimizelegibility;
  font-size: 12px;
  line-height: 2em;
}
#current-planets table {
  border-spacing: 0px;
  border-collapse: collapse;
  text-align: left;
  min-width: 250px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  table-layout: fixed;
  width: 100%;
}

#current-planets td:first-child {
  width: 30%;
}

#current-planets td:last-child {
  width: 70%;
}

#currentplanets_sprite {
  background: url(icons/sprites.png) no-repeat top left;
  margin: 0;
  padding: 0;
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}
#currentplanets_sprite.aquarius {
  background-position: 0 0;
}
#currentplanets_sprite.aries {
  background-position: -26px 0;
}
#currentplanets_sprite.cancer {
  background-position: -52px 0;
}
#currentplanets_sprite.capricorn {
  background-position: -78px 0;
}
#currentplanets_sprite.gemini {
  background-position: -104px 0;
}
#currentplanets_sprite.leo {
  background-position: -130px 0;
}
#currentplanets_sprite.libra {
  background-position: -156px 0;
}
#currentplanets_sprite.pisces {
  background-position: -182px 0;
}
#currentplanets_sprite.sagittarius {
  background-position: -208px 0;
}
#currentplanets_sprite.scorpio {
  background-position: -234px 0;
}
#currentplanets_sprite.taurus {
  background-position: -260px 0;
}
#currentplanets_sprite.virgo {
  background-position: -286px 0;
}

#current-planets tbody tr {
  background-color: transparent;
}
#current-planets td {
  padding: 0 0;
}
/* Twenty fourteen theme compatibility */

#current-planets table,
#current-planets th,
#current-planets td {
  border: 0;
}

/* Twenty Fourteen and Twenty Thirteen theme - fit icons to thinner sidebar */

#secondary #primary-sidebar #currentplanets_sprite,
#supplementary .footer-sidebar .widget_cpp_widget #currentplanets_sprite,
.site-footer .sidebar-container .widget_cpp_widget #currentplanets_sprite {
  background: url(icons/sprites-mini.png) no-repeat top left;
  width: 14px;
  height: 14px;
}

#secondary #primary-sidebar #currentplanets_sprite.aquarius,
.site-footer
  .sidebar-container
  .widget_cpp_widget
  #currentplanets_sprite.aquarius,
#supplementary
  .footer-sidebar
  .widget_cpp_widget
  #currentplanets_sprite.aquarius {
  background-position: 0 0;
}
#secondary #primary-sidebar #currentplanets_sprite.aries,
.site-footer .sidebar-container .widget_cpp_widget #currentplanets_sprite.aries,
#supplementary .footer-sidebar .widget_cpp_widget #currentplanets_sprite.aries {
  background-position: -22px 0;
}
#secondary #primary-sidebar #currentplanets_sprite.cancer,
.site-footer
  .sidebar-container
  .widget_cpp_widget
  #currentplanets_sprite.cancer,
#supplementary
  .footer-sidebar
  .widget_cpp_widget
  #currentplanets_sprite.cancer {
  background-position: -44px 0;
}
#secondary #primary-sidebar #currentplanets_sprite.capricorn,
.site-footer
  .sidebar-container
  .widget_cpp_widget
  #currentplanets_sprite.capricorn,
#supplementary
  .footer-sidebar
  .widget_cpp_widget
  #currentplanets_sprite.capricorn {
  background-position: -66px 0;
}
#secondary #primary-sidebar #currentplanets_sprite.gemini,
.site-footer
  .sidebar-container
  .widget_cpp_widget
  #currentplanets_sprite.gemini,
#supplementary
  .footer-sidebar
  .widget_cpp_widget
  #currentplanets_sprite.gemini {
  background-position: -88px 0;
}
#secondary #primary-sidebar #currentplanets_sprite.leo,
.site-footer .sidebar-container .widget_cpp_widget #currentplanets_sprite.leo,
#supplementary .footer-sidebar .widget_cpp_widget #currentplanets_sprite.leo {
  background-position: -110px 0;
}
#secondary #primary-sidebar #currentplanets_sprite.libra,
.site-footer .sidebar-container .widget_cpp_widget #currentplanets_sprite.libra,
#supplementary .footer-sidebar .widget_cpp_widget #currentplanets_sprite.libra {
  background-position: -132px 0;
}
#secondary #primary-sidebar #currentplanets_sprite.pisces,
.site-footer
  .sidebar-container
  .widget_cpp_widget
  #currentplanets_sprite.pisces,
#supplementary
  .footer-sidebar
  .widget_cpp_widget
  #currentplanets_sprite.pisces {
  background-position: -154px 0;
}
#secondary #primary-sidebar #currentplanets_sprite.sagittarius,
.site-footer
  .sidebar-container
  .widget_cpp_widget
  #currentplanets_sprite.sagittarius,
#supplementary
  .footer-sidebar
  .widget_cpp_widget
  #currentplanets_sprite.sagittarius {
  background-position: -176px 0;
}
#secondary #primary-sidebar #currentplanets_sprite.scorpio,
.site-footer
  .sidebar-container
  .widget_cpp_widget
  #currentplanets_sprite.scorpio,
#supplementary
  .footer-sidebar
  .widget_cpp_widget
  #currentplanets_sprite.scorpio {
  background-position: -198px 0;
}
#secondary #primary-sidebar #currentplanets_sprite.taurus,
.site-footer
  .sidebar-container
  .widget_cpp_widget
  #currentplanets_sprite.taurus,
#supplementary
  .footer-sidebar
  .widget_cpp_widget
  #currentplanets_sprite.taurus {
  background-position: -220px 0;
}
#secondary #primary-sidebar #currentplanets_sprite.virgo,
.site-footer .sidebar-container .widget_cpp_widget #currentplanets_sprite.virgo,
#supplementary .footer-sidebar .widget_cpp_widget #currentplanets_sprite.virgo {
  background-position: -242px 0;
}

#secondary #primary-sidebar #current-planets,
#supplementary .footer-sidebar #current-planets,
.site-footer .sidebar-container #current-planets {
  line-height: 1.7em;
}

/* thin sidebar */
#secondary #primary-sidebar #current-planets #localtime {
  font-size: 0.8em;
}
#secondary #primary-sidebar #current-planets table {
  font-size: 0.79em;
}

/* thin footer sidebar */
#supplementary .footer-sidebar .widget_cpp_widget #current-planets table,
.site-footer .sidebar-container .widget_cpp_widget #current-planets table/* Twenty Thirteen theme */ {
  font-size: 10px;
}

/* Twenty Thirteen theme */
.sidebar-inner .widget_cpp_widget {
  padding-right: 0;
}
.sidebar-inner .widget_cpp_widget #current-planets table {
  font-size: 11px;
}

@media screen and (max-device-width: 568px) {
  /* place here CSS targeted at iPhones and smaller screen sizes, not iPads */
  #current-planets {
    width: 100%;
    max-width: 100%;
    margin: 1em 0;
    display: block;
  }

  #current-planets #localtime {
     transform: scale(0.8);
  }
}


  #current-planets #localtime {
    text-align: center;
  }
  
 .rmp-widgets-container.rmp-wp-plugin.rmp-main-container.js-rmp-widgets-container {
    
    min-height: 200px;
}

.rmp-heading--title {
    
    line-height: 1.2;
    
}

/* =============================================
-------------------  5.2 moon-forecast ---------------
==============================================*/
#moonforecast strong{
    margin-top: 24px;
    }
    
#moonforecast {
    text-align: center;
}
    

/* =============================================
-------------------  14.Reset gutena tabs ---------------
==============================================*/

/* Reset all styles for zodiac carousell */
.wp-block-group.wp-block-gutena-tabs * {
 all: unset;
}

/* Reset all styles when container has class 'reset-styles' */
.reset-styles .gutena-tabs-block > .gutena-tabs-tab {
  flex-wrap: wrap !important;
  overflow: visible !important;
  scrollbar-width: auto;
  -ms-overflow-style: auto;
  white-space: normal;
  max-width: unset;
}

.reset-styles .gutena-tab-title {
  min-width: unset !important;
  height: auto !important;
  cursor: default;
}

.reset-styles li[data-tab="1"]::after,
.reset-styles li[data-tab="2"]::after,
.reset-styles li[data-tab="3"]::after,
.reset-styles li[data-tab="4"]::after,
.reset-styles li[data-tab="5"]::after,
.reset-styles li[data-tab="6"]::after,
.reset-styles li[data-tab="7"]::after,
.reset-styles li[data-tab="8"]::after,
.reset-styles li[data-tab="9"]::after,
.reset-styles li[data-tab="10"]::after,
.reset-styles li[data-tab="11"]::after,
.reset-styles li[data-tab="12"]::after {
  content: none;
}

.reset-styles .houses li[data-tab="1"]::after,
.reset-styles .houses li[data-tab="2"]::after,
.reset-styles .houses li[data-tab="3"]::after,
.reset-styles .houses li[data-tab="4"]::after,
.reset-styles .houses li[data-tab="5"]::after,
.reset-styles .houses li[data-tab="6"]::after,
.reset-styles .houses li[data-tab="7"]::after,
.reset-styles .houses li[data-tab="8"]::after,
.reset-styles .houses li[data-tab="9"]::after,
.reset-styles .houses li[data-tab="10"]::after,
.reset-styles .houses li[data-tab="11"]::after,
.reset-styles .houses li[data-tab="12"]::after {
  content: none;
}

.reset-styles li.gutena-tab-title.active::after {
  background-color: unset;
}

.reset-styles li.gutena-tab-title.inactive::after {
  background-color: unset;
}

.reset-styles .gutena-tab-title-text:before {
  content: none;
}

.reset-styles .gutena-tab-title-text:after {
  content: none;
}

.reset-styles .gutena-tab-title-text div {
  width: auto;
  text-align: center;
  position: relative;
  top: unset;
  left: unset;
  white-space: normal;
  font-size: 18px;
  font-weight: 600;
}

.reset-styles .gutena-tab-title {
  padding: unset !important;
}

.reset-styles .wp-block-gutena-tabs .owl-prev i.fa.fa-angle-left,
.reset-styles .wp-block-gutena-tabs .owl-next i.fa.fa-angle-right {
  width: unset;
  height: unset;
  position: relative;
  background: none;
  border-radius: unset;
  display: unset;
  margin: unset;
  padding: unset;
  bottom: unset;
  right: unset;
  cursor: default;
}

.reset-styles .wp-block-gutena-tabs .owl-nav {
  position: unset;
  top: unset;
  right: unset;
  z-index: unset;
  display: none;
}

.reset-styles .wp-block-gutena-tabs h2 {
  text-align: unset;
}

@media (max-width: 767px) {
  .reset-styles .wp-block-gutena-tabs .owl-nav {
    display: none;
  }
}

.reset-styles .gutena-tabs-block > .gutena-tabs-tab > .gutena-tab-title {
  border: none !important;
}

.reset-styles .gutena-tabs-block > .gutena-tabs-tab > .gutena-tab-title.active {
  border-bottom: 2px #574c75 solid !important;
}

.small-screen {
  display: none;
}

#content
  .entry-content
  .wp-block-gutena-tabs.gutena-tabs-block
  ul.gutena-tabs-tab {
  margin-left: 0 !important;
}

@media (max-width: 767px) {
  .image-desktop {
    display: none;
  }
  .small-screen {
    display: inline-block;
  }
  .reset-styles .scroll-btn-wrapper {
    display: none;
  }

  #content .entry-content .small-screen ul.gutena-tabs-tab {
    margin-left: 0;
  }
}


/* Sidebar container */
#sidebar {
  width: 100%;
  max-width: 400px; /* Adjust based on layout */
  min-height: 1200px; /* Prevent height shift */
  position: relative;
}

/* Widgets inside the sidebar */
.ct-widget {
  min-height: 50px; /* Ensure space is reserved */
  overflow: hidden; /* Prevent overflow shifting */
}

/* Subscription form adjustments */
.es_subscription_form {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 50px; /* Prevent content shift */
}

/* Ensure button and input sizes are consistent */
.es_subscription_form input[type="email"],
.es_subscription_form input[type="submit"],
.es-field-wrap {
  width: 100%;
  max-width: 300px;
}

/* Reserve space for images in Moon Forecast */
#moonforecast img {
  width: 64px;
  height: 64px;
  aspect-ratio: 1/1; /* Prevent image shift */
}

/* Current planets table */
#current-planets table {
  width: 100%;
  table-layout: fixed; /* Avoid shifting */
}

/* Prevent planet positions from shifting */
#current-planets td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.es_subscription_message {
     display: flex;
    justify-content: center;
    padding: 8px 0;
}

/**************************************
 * CLS FIX – GLOBAL TEXT STABILITY
 **************************************/
body, p, h1, h2, h3, h4, h5 {
    line-height: 1.5 !important;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

/* Force Inter to load immediately and avoid fallback font shifting */
html {
    font-family: 'Inter', sans-serif !important;
}
/**************************************
 * PRINT
 **************************************/

@media print {
      header, footer, nav, .sidebar, .ads, .widget, .print-btn, .zp-adsense-banner {
        display: none !important;
    }


    .entry-content, .post-content, .site-main {
        width: 100% !important;
        font-size: 16px;
        line-height: 1.6;
    }

 
    * {
        box-shadow: none !important;
        background: none !important;
    }
}
.zp-print-btn {
    padding: 6px 14px;
    color: #0e0d0d;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.zp-print-btn:hover {
    opacity: 0.85;
}


