/* ==========================================================================
   Mono Cósmico Custom Styles (Poseidon Child + Gutenberg + Plugins)
   ========================================================================== */

/* Hide site-title text when custom logo is displayed, matching poseidon-stylesheet-inline-css */
.site-title,
.type-post .entry-footer .post-navigation {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Header & Navigation */
.main-navigation-menu {
  margin-top: 4%;
}

.main-navigation-menu ul a {
  padding: 1.5em;
}

.main-navigation-menu ul {
  border-top: 1px solid #cccccc;
}

/* Ensure header images & magazine thumbnails have crisp aspect ratios */
.tz-magazine-block .tz-entry-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.post-wrapper .type-post > a > img.wp-post-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

#headimg.header-image.featured-image-header {
  text-align: center;
  margin-bottom: 2em;
}

#headimg.header-image.featured-image-header img {
  max-width: 760px;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

/* UAGB Section & Advanced Heading (Homepage) */
.uagb-section__wrap {
  position: relative;
  padding: 0;
  margin-bottom: 3%;
  max-width: 100%;
}

.uagb-section__wrap .uagb-section__inner-wrap {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.wp-block-uagb-advanced-heading {
  padding: 0;
  margin: 0 auto;
}

.wp-block-uagb-advanced-heading .uagb-heading-text {
  margin: 0 0 10px 0;
  text-align: left;
  color: #000000;
  font-weight: 700;
  font-size: 34px;
  font-family: "Raleway", arial, helvetica, sans-serif;
}

.wp-block-uagb-advanced-heading .uagb-heading-text a {
  color: #000000;
  text-decoration: none;
}

.wp-block-uagb-advanced-heading .uagb-heading-text a:hover {
  color: #22aadd;
}

.wp-block-uagb-advanced-heading .uagb-separator-wrap {
  font-size: 0;
  text-align: left;
}

.wp-block-uagb-advanced-heading .uagb-separator {
  border-top-style: solid;
  display: inline-block;
  border-top-width: 4px;
  border-top-color: #000000;
  width: 5%;
  margin: 0 0 10px 0;
}

/* Home page rules from poseidon-child */
body.home h1.page-title {
  display: none;
}

h2.uagb-heading-text a {
  color: #000;
}

/* Botón Suscribirse */
button.wp-block-button__link {
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  background-color: #DBF227;
  border: none;
  border-radius: 9999px;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

button.wp-block-button__link:hover {
  opacity: 0.88;
}

/* Magazine grid - entries title */
.tz-magazine-block .tz-magazine-grid-columns-4 .tz-entry-title,
.tz-magazine-block .tz-magazine-thumbnail-list .tz-entry-title,
.tz-magazine-block .tz-magazine-grid-columns-3 .tz-entry-title {
  font-size: 1.5rem;
  color: #000000;
  line-height: 1.35;
  margin-top: 0.25rem;
}

.tz-magazine-block .tz-entry-title a {
  color: #222222;
  text-decoration: none;
}

.tz-magazine-block .tz-entry-title a:hover {
  color: #22aadd;
}

.tz-magazine-block .tz-entry-meta {
  margin-top: 0.65rem;
  margin-bottom: 0.2rem;
}

.tz-magazine-block .tz-entry-meta a {
  color: #777777;
  text-decoration: none;
  font-size: 14px;
}

.wp-block-separator {
  border: none;
  border-top: 2px solid #e2e2e2;
  height: 2px;
  background-color: #e2e2e2;
  color: #e2e2e2;
}

.wp-block-separator.is-style-wide {
  margin-top: 5%;
  margin-bottom: 2%;
  width: 100%;
}

.wp-block-separator.is-style-dots {
  background: none !important;
  border: none !important;
  height: auto;
  line-height: 1;
  text-align: center;
  margin: 1.5rem 0;
}

.wp-block-separator.is-style-dots::before {
  color: #404040;
  content: "···";
  font-family: serif;
  font-size: 1.8em;
  letter-spacing: 2em;
  padding-left: 2em;
}

.magazine-post {
  margin-bottom: 0%;
  padding-bottom: 0%;
}

.fonts-plugin-block a {
  color: #22aadd;
  text-decoration: none;
}

.fonts-plugin-block a:hover {
  color: #404040;
}

/* Archive & Category Pages */
.page-header h1.archive-title {
  font-size: 14px;
  color: #404040;
}

header.entry-header {
  margin-top: 0%;
}

.entry-content a {
  text-decoration: none;
}

/* Sidebar */
.sidebar {
  margin-top: 5%;
}

h3.widget-title {
  font-size: 0.9rem;
  font-weight: 700 !important;
}

/* Recent Posts Widget With Thumbnails (#rpwwt-recent-posts-widget-with-thumbnails-2) */
.rpwwt-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rpwwt-widget ul li {
  overflow: hidden;
  margin: 0 0 1.5em;
  list-style-type: none;
}

.rpwwt-widget ul li a {
  display: block;
  text-decoration: none;
}

.rpwwt-widget ul li img {
  display: inline;
  float: left;
  margin: 0.3em 0.75em 0.75em 0;
  width: 120px;
  height: 80px;
  object-fit: cover;
}

span.rpwwt-post-title {
  color: #404040;
  font-family: "Raleway", arial, helvetica, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}

span.rpwwt-post-title:hover {
  color: #22aadd;
}

.rpwwt-post-date {
  color: #777;
  font-size: 14px;
  text-transform: uppercase;
  margin-top: 2%;
}

/* Text & Typography from poseidon-child */
p {
  font-size: 18px;
  line-height: 2rem;
}

.entry-title,
.entry-title a,
.post-title,
.post-title a,
.page-title,
.entry-content h1,
#content h1 {
  font-weight: 600;
  color: #222;
}

figcaption,
.blocks-gallery-caption,
.wp-block-embed figcaption,
.wp-block-image figcaption {
  margin-bottom: 0px;
  font-size: 13px !important;
  font-weight: bold;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
}

/* Drop Cap */
.has-drop-cap:not(:focus)::first-letter {
  float: left;
  font-size: 5.2em;
  font-style: normal;
  font-weight: 400;
  line-height: 0.78;
  margin: 0.05em 0.12em 0 0;
  text-transform: uppercase;
  font-family: "Raleway", arial, helvetica, sans-serif;
  color: #222;
}

/* Pullquotes & Large Quotes */
.wp-block-pullquote {
  border-top: 4px solid #f0f0f0;
  border-bottom: 4px solid #f0f0f0;
  padding: 2em 1.5em;
  margin: 2em 0;
  text-align: center;
  color: #404040;
}

.wp-block-pullquote blockquote {
  margin: 0;
  border: none;
  padding: 0;
}

.wp-block-pullquote p {
  font-size: 1.35rem;
  line-height: 1.6;
  font-style: italic;
}

.wp-block-pullquote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-style: normal;
  letter-spacing: 0.06em;
  color: #777;
}

.wp-block-quote.is-style-large {
  margin: 1.5em 0;
  padding: 0.5em 1.5em;
  border-left: 4px solid #22aadd;
  color: #404040;
}

.wp-block-quote.is-style-large p {
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

/* Concert Review Setlist */
.setlist-wrapper {
  background-color: #eeeeee;
  padding: 2rem 1.5rem;
  margin: 2.5rem 0;
}

.setlist-heading {
  font-family: "Permanent Marker", cursive;
  font-size: 36px;
  text-align: center;
  color: #404040;
  margin: 0 0 1.25rem 0;
}

.setlist-style {
  font-family: "Permanent Marker", cursive;
  font-size: 24px;
  line-height: 3rem;
  list-style: none !important;
  padding-left: 10%;
  margin: 0;
  color: #404040;
}

.setlist-box {
  text-align: left;
}

/* Embeds (YouTube, Vimeo, Giphy) */
.wp-block-embed {
  margin: 2em 0;
}

.wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wp-block-jetpack-gif {
  margin: 2em 0;
}

.wp-block-jetpack-gif-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%;
}

.wp-block-jetpack-gif-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Jetpack Tiled Gallery */
.wp-block-jetpack-tiled-gallery {
  margin: 2em 0;
}

.tiled-gallery__row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.tiled-gallery__col {
  flex: 1;
}

.tiled-gallery__item {
  margin: 0;
  height: 100%;
}

.tiled-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Author Profile Box at bottom of posts */
.author-profile-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background-color: #f8f8f8;
  border: 3px solid #dddddd;
  padding: 1.5rem;
  margin: 2.5rem 0;
}

.author-profile-avatar {
  flex: 0 0 150px;
  text-align: center;
}

.author-profile-avatar figure {
  margin: 0;
}

.author-profile-avatar img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.author-profile-avatar figcaption {
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #404040;
  margin-top: 0.4rem;
}

.author-profile-info {
  flex: 1;
}

.author-profile-info h4 {
  margin: 0 0 0.5rem 0;
  font-size: 20px;
  font-weight: 500;
  color: #000000;
}

.author-profile-info p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: #222222;
}

@media (max-width: 640px) {
  .author-profile-box {
    flex-direction: column;
    text-align: center;
  }
  .tiled-gallery__row {
    flex-direction: column;
  }
}

/* Related Posts at bottom of article */
#jp-relatedposts {
  margin: 2.5rem 0 1.5rem;
  border-top: 1px solid #eeeeee;
  padding-top: 1.5rem;
}

#jp-relatedposts h3.jp-relatedposts-headline {
  font-size: 24px;
  margin: 0 0 1.25rem 0;
  font-family: "Raleway", sans-serif;
}

#jp-relatedposts h3.jp-relatedposts-headline em {
  font-style: normal;
  font-weight: 700;
}

.jp-relatedposts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .jp-relatedposts-grid {
    grid-template-columns: 1fr;
  }
}

.jp-relatedposts-post a {
  text-decoration: none;
  color: #404040;
}

.jp-relatedposts-post img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  margin-bottom: 0.5rem;
}

.jp-relatedposts-post-title a {
  font-size: 1.05rem;
  line-height: 1.45;
  color: #404040;
  font-weight: 500;
  font-family: "Raleway", sans-serif;
}

.jp-relatedposts-post-title a:hover {
  color: #22aadd;
}

.jp-relatedposts-post-date {
  font-size: 13px;
  color: #777;
  margin-top: 0.25rem;
}

/* Footer hide Poseidon credit link */
span.credit-link {
  display: none;
}

.monocosmico-copyright-bar {
  float: left;
  margin: 0 0 2% 7%;
}

.monocosmico-copyright-bar p {
  font-family: "Mulish", "Muli", "Ubuntu", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  color: #404040;
  padding-top: 0px;
  margin-top: 0px;
}

