@charset "UTF-8";
/*
Theme Name:   Corriere Cesenate
Theme URI:    http://example.com/twenty-fifteen-child/
Description:  Settimanali Diocesani Child Theme
Author:       G. Leonardi / S. Cannistà
Author URI:   http://example.com
Template:     wp-theme-settimanali-diocesani
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  sdvcesenate
*/
:root {
  --color-primary-shade: #0091cd;
  --color-primary: #0091cd;
}

.post {
  --category-link-color: var(--color-primary);
}
.post > [rel='category'] {
  text-decoration: none;
  color: var(--category-link-color);
}
.post__date {
  color: var(--date-color);
  margin-bottom: var(--spacer);
  display: block;
}
.post__figure_16_9 {
  padding-bottom: 0;
}
.post__figure__thumbnail {
  position: inherit;
}
.post__content {
  border-bottom: 0px;
}
.post__content > p {
  font-size: 1.25rem;
  color: #494949;
  font-weight: 400;
  line-height: 30px;
}
.post__content > p > a {
  text-decoration: underline;
  color: #59a8f1;
  font-size: 1.25rem;
  font-weight: 400;
}
.post__content > blockquote {
  margin: 1.875rem 0;
  border-left: 2px solid var(--color-primary);
  padding-left: 1.25rem;
}
.post__content > blockquote > p {
  color: #214752;
  font-size: 1.625rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2.5rem;
}

.post-author {
  order: 2;
  color: var(--author-color, var(--title-color));
  font-size: var(--author-font-size, 1rem);
  --font-family: var(--base-font);
}

.social-share {
  --icon-color: #d0d0d0;
  justify-content: flex-end;
  margin-bottom: 1.875rem;
}

.sidebar .widget.widget_sd_widget_abbonati {
  background-color: #f1f5f6;
  padding: 14px 20px;
  border-top: 10px solid var(--color-primary);
}
.sidebar .widget.local-widget {
  padding: 20px 40px;
}
.sidebar .widget.local-widget img {
  width: 100%;
}

body.home .sidebar .widget.widget_media_image {
  position: relative;
  z-index: 1;
}

body.home .sidebar .widget .widget__title {
  margin-bottom: 0;
  position: absolute;
  z-index: 99999;
  top: 43%;
  left: 20%;
  color: #fff;
  text-align: center;
  font-size: 60px;
  font-style: normal;
  font-weight: 600;
  line-height: 36px;
}

body.home .sidebar .widget .wp-caption,
body.home .sidebar .widget a {
  display: flex;
  width: 100% !important;
  position: relative;
  z-index: 1;
}

body.home .sidebar .widget.widget_media_image a img,
body.home .sidebar .widget.widget_media_image img {
  width: 100%;
}

.teaser {
  --title-color: #214752;
  --date-color: #214752;
  padding-bottom: var(--spacer-5);
}
.teaser__title {
  font-size: 1.55rem;
}
.teaser__category {
  font-size: 1rem;
}

.teaser-rubrica {
  flex-direction: row;
  --title-color: #214752;
  border-bottom: 0;
}
.teaser-rubrica__title {
  line-height: 2rem;
  padding-left: 20px;
}

.teaser-rubrica-post {
  --font-family: var(--heading-font);
}

.corriere_fonte{font-size: 1.25rem;color: #494949;font-weight: 400;line-height: 30px;font-style: italic;}


@media (min-width: 768px) {
  .teaser-rubrica__thumbnail {
    width: 9.5rem;
    height: 9.5rem;
  }
}
@media (min-width: 1200px) {
  body.page-template-template-rubriche .site-main {
    padding: 0 22.5px;
  }
  .teaser-rubrica__title {
    --heading-font-size: 1.325rem;
    display: block;
    text-align: left;
  }
}
@media (min-width: 992px) {
  .site-header .site-logo__image {
    height: 4.59rem;
  }
}
@media (min-width: 1200px) {
  .site-header .site-logo__image {
      height: 9rem;
    }
}
.archive.tax-rubrica .rubrica-header {
  --title-color: #214752;
}
.archive.tax-rubrica .rubrica-header__title {
  line-height: 2.25rem;
}
.archive.tax-rubrica .rubrica-header__thumbnail {
  width: 13rem;
  height: 13rem;
}

#site-navigation .menu-wrapper {
  gap: 1.875rem;
}
#site-navigation .menu-item a {
  font-size: 1.25rem;
  color: #214752;
  border-bottom: none;
}
#site-navigation .menu-item a:hover,
#site-navigation .menu-item a[aria-current='page'] {
  color: #214752 !important;
}

@media (min-width: 900px) {
  #site-navigation {
    border-bottom: none;
    margin-bottom: 0;
  }
  #site-navigation .menu-item a {
    font-size: 1.2rem;
    color: #214752;
    border-bottom: none;
  }
}
@media (max-width: 576px) {
  footer#colophon {
    background-color: #051626;
  }
}
footer#colophon .site-info {
  background-color: #051626;
}
footer#colophon .site-footer__copy img {
  max-width: 146px;
}
footer#colophon .site-footer__bottom-menu {
  background: #0091cd;
}
footer#colophon .site-footer__bottom-menu .menu-item {
  font-size: 0.938rem;
}

.abbonati-widget {
  --button-color: var(--color-primary);
  --button-color-hover: var(--color-primary-shade);
  background: transparent;
}
.abbonati-widget__title {
  color: #051626 !important;
  font-weight: 600 !important;
  line-height: 1.625rem;
}
.abbonati-widget__block {
  justify-content: space-evenly !important;
}

.ultima-ora {
  --ultima-ora-post-border: #214752;
  color: #214752;
}
.ultima-ora__post__date {
  font-family: var(--base-font);
}
.ultima-ora__post__time {
  font-weight: 600;
  line-height: 1.625rem;
}
.ultima-ora__post__title {
  color: #214752;
  line-height: 1.625rem;
}

.fotogallery {
  --fg-background: #051626;
  --fg-color: var(--color-primary-contrast);
  --fg-carousel-btn-background: var(--color-primary-tint);
  --fg-carousel-btn-size: 3.75rem;
  --fg-carousel-image-size: 272px;
  background: var(--fg-background);
  color: var(--fg-color);
  margin-bottom: 3rem;
}
.fotogallery__title {
  font-weight: 600;
  font-size: 1.5rem;
  padding: 1rem 1.5rem;
}
.fotogallery__viewport {
  position: relative;
  overflow: hidden;
  padding: 0 1rem 1.5rem 1rem;
}
.fotogallery__carousel {
  display: flex;
  gap: 2rem;
}
.fotogallery__carousel__btn {
  position: absolute;
  width: var(--fg-carousel-btn-size);
  height: var(--fg-carousel-btn-size);
  top: calc(var(--fg-carousel-image-size) / 2 - var(--fg-carousel-btn-size) / 2);
  background: var(--fg-carousel-btn-background);
  color: var(--vg-color);
  border: none;
  transition: 0.3s all;
}
.fotogallery__carousel__btn .sd-icon {
  width: 100%;
  height: 100%;
}
.fotogallery__carousel__btn:disabled {
  opacity: 0.4;
  transition: 0.3s all;
}
.fotogallery__carousel__btn:disabled:hover {
  transform: none;
}
.fotogallery__carousel__btn-prev {
  left: 1rem;
}
.fotogallery__carousel__btn-next {
  right: 1rem;
}
.fotogallery__carousel__btn:hover {
  transform: scale(1.1);
  transition: 0.3s all;
}
.fotogallery__image__info {
  position: relative;
}
.fotogallery__image__title {
  position: absolute;
  bottom: 0;
  color: #fff;
  z-index: 999999;
  padding: 0 26px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.whatsapp-banner {
  background: linear-gradient(45deg, #25d366, #0091cd);
  color: white;
  padding: 20px;
  padding-bottom: 0;
  text-align: center;
  margin: 20px 0;
  border-radius: 8px;
  border: 1px solid black;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.whatsapp-banner a {
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px solid white;
  transition: all 0.3s ease;
}
.whatsapp-banner a:hover {
  color: #000;
  border-bottom: 1px solid #000;
}
@media (max-width: 768px) {
  .whatsapp-banner {
    padding: 15px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .whatsapp-banner {
    padding: 10px;
    font-size: 12px;
  }
}

.widget.corri-widget.horizontal-sidebar img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
  max-height: 504px;
}

.widget.corri-widget a {
  display: flex;
  justify-content: center;
}

.custom-html-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.block-images-sidebar {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.block-images-sidebar .single-block-image img {
  max-width: 100%;
  height: auto;
  box-shadow: 10px 4px 40px 0px rgba(46, 49, 51, 0.2);
}
@media (min-width: 576px) {
  .block-images-sidebar .single-block-image {
    width: 32%;
  }
}
