/*
Theme Name: Twenty Twenty-Four Child
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four Child
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.0
Version: 1.6
Template: twentytwentyfour
Text Domain: twentytwentyfour-child
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

:root {
    --popred: #cc0000;
	--popgrey: #464646;
}

body {
    font-family: Arial, Helvetica, sans-serif!important;
    color:var(--popgrey);
}

h1 {
	color: var(--popred)!important;
	font-family: Arial, Helvetica, sans-serif;
  	font-size: clamp(1.3rem, 1rem + 2vw, 5rem)!important;
	text-align:left!important;
}

h1.has-large-font-size {
	font-size:clamp(1.3rem, 1rem + 2vw, 5rem)!important;
}

h2, h3 {
    font-size:clamp(1.2rem, 1rem + 1vw, 3rem)!important;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--popred)!important;
}

h3 {
  padding-top:10px!important;
}

p, a, li {
  font-size: clamp(0.3rem, 0.8rem + 0.5vw, 1rem)!important;
  text-align:justify!important
}

.wp-block-post-navigation-link a {
    font-size: clamp(0.3rem, 0.5rem + 1vw, 1.2rem)!important;
}

div.wp-block-button:hover {
	background-color:var(--popgrey)!important;
	border-radius: 4px;
	border-color:var(--popgrey)
}

header{
	position: sticky;       
    top: 0;                   
    z-index: 1000; 
}

.wpm-language-switcher {
    display: block;
    text-align:right;
}

.wpm-language-switcher li {
    padding-right:5px;
    display:inline-block
}

.home-news-group {
    background: #eeeeee; 
	color: white!important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box;
    padding: 40px max(24px, calc((100vw - var(--wp--style--global--wide-size)) / 2)) !important;
}

.home-news li {
    position:relative;
    color:white;
    height:270px;
    overflow:hidden; 
    margin:10px;
}
    
.home-news li::after{
    background-color: rgba(0, 0, 0, 0.25);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index:1;
}

h2.home-news-title {
    color:white!important;
    position:absolute;
    bottom: 40px;
    left: 40px;
    right: 50px;
    text-shadow: 2px 1px 0px #000000;
    z-index:2
}

h2.home-news-title a {
    color:white!important;
    text-align:left;
    font-weight:bold
}

h2.home-news-title a:hover {
    text-decoration:none;
    color:#efefef!important
}

.home-news-date {
    gap:0;
    background-color: #d7af50;
    position:absolute; top:10px; right:30px;
    color: #fff;
    font-weight: 600;
    padding: 5px 8px; 
    z-index:2; 
    border-radius:8px;
}

.home-news-date-date {
    font-size:30px!important; 
    line-height:24px;
    font-weight:bold;
}

.home-news-date-month {
    font-size:18px; 
    font-weight:bold;
    ext-transform:uppercase
    
}

.home-news-img {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    
    
}

.wp-block-social-link-anchor svg {
    width:36px!important;
    height:36px!important;
    
}

ul.display-posts-listing {
    list-style-type: none !important;
    list-style-image: none;
    padding-left: 0;
    margin-left: 0;
}

ul.display-posts-listing li.listing-item {
    padding: 4px 0 4px 110px;
    position: relative;
}
ul.display-posts-listing li.listing-item a {
    display: block;
    padding-left: 10px;
    border-left: 1px solid #999999;
    font-size: clamp(0.3rem, 0.6rem + 1vw, 1.2rem)!important;
    color: var(--popgrey);
    text-decoration:none;
    text-align:left;
}

ul.display-posts-listing li.listing-item a:hover {
    text-decoration:underline;
    
}

ul.display-posts-listing li.listing-item span.date {
    display: block;
    position: absolute;
    left: 0;
    top: 3px;
    font-size: clamp(0.3rem, 0.6rem + 1vw, 1.2rem)!important;
    color: #777;
    font-weight: bold;
    padding-right: 10px;
}

.wp_rss_retriever_list {
    padding:0;
    margin:0
    
}

.wp_rss_retriever_item_wrapper {
    margin-bottom:10px;
}

.wp_rss_retriever li {
  margin-bottom: 10px;
  list-style: none;
}

.wp_rss_retriever_image {
    margin-top: 6px;
    position: relative;
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.wp_rss_retriever_image ~ * {
    display: table-cell;
    vertical-align: top;
}

.wp_rss_retriever_date {
    font-size: clamp(0.3rem, 0.6rem + 1vw, 1.2rem)!important;
    color: #999999;
    font-weight: bold;
}

a.wp_rss_retriever_title {
    display: block !important;
    font-weight: bold;
    margin-bottom: .3em;
    font-size: clamp(0.3rem, 0.6rem + 1vw, 1.2rem)!important;
    line-height:1.3em;
    color:var(--pogrey);
    text-decoration:none;
    margin-top:3px;
}

a.wp_rss_retriever_title:hover {
    color:var(--popred)
}

.wp_rss_retriever_container {
  font-weight:normal;
}

a.wp_rss_retriever_readmore {
    display: inline-block;
    font-size: clamp(0.3rem, 0.8rem + 0.5vw, 1rem) !important;
    text-decoration:none;
}

.wp_rss_retriever_readmore::after {
    content: "»»»" !important; 
    font-size: clamp(0.3rem, 0.8rem + 0.5vw, 1rem) !important;
    line-height: 1 !important;
    display: inline-block !important;
    transition: transform 0.2s ease !important; color:var(--popred)
}

.wp_rss_retriever_readmore:hover::after {transform: translateX(5px)}

div.wp-block-button.small-button, 
div.wp-block-button.small-button:hover {
    border-radius:12px!important;
}

.small-button a {
    font-size: clamp(0.3rem, 0.6rem + 1vw, 1.2rem)!important;
    border-radius:12px; 
    padding:6px 14px 8px 16px;
    font-weight:normal;
    background-color:var(--popgrey)
}

.small-button a.wp-block-button__link::after{
    display: inline-block;
    content: "→" !important; 
    font-size: 1.2em !important; 
    line-height: 1 !important;
    transition: transform 0.2s ease !important;margin-left:5px;
}
    
.small-button a.wp-block-button__link:hover{
    border-radius:12px!important;
    background-color:var(--popred);
}

.small-button a.wp-block-button__link:hover::after {
    transform: translateX(5px);
}

.position-relative{
    position:relative;
}

.mb-40{
    margin-bottom:40px!important;
}

.push-me-down{
    position:absolute;bottom:-30px; right:10px;
}

.wp-block-media-text__media {
    width:102px!important
}
.wp-block-media-text__media img {
    width:100px!important
}

.img-btn{
    display: inline-block; 
    position: relative;
    padding:0 5px; 
    
}

.img-btn img {
    position:relative; 
    top:10px;
    width:110px
}

div.wpforms-container-full label.wpforms-field-label {
    margin: 8px 0!important
}

.wpforms-container .wpforms-field {
    padding: 10px 0!important;
}

.wp-site-blocks :focus {
    outline: none !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
  main, 
  .entry-content, 
  .main-header, .contact-form  {
    padding-left:8px!important;
    padding-right:8px!important;
  }
  div.wpforms-container-full input.wpforms-field-large {
    height: 40px!important;
  }
  
  div.wpforms-container-full label.wpforms-field-label {margin: 4px 0!important}
  .lang-switcher a img, 
  .lang-switcher span img {
      height: 18px;
  }
  
  .lang-switcher {
    height: 34px!important;
    line-height:40px!important
  }
}