@charset "UTF-8";
/*
Theme Name:     Po stopách minulosti 2025
Theme URI:      https://historie.ovajih.cz
Description:    GeneratePress child theme
Author:         Michaela Vranková
Author URI:     https://www.vrankova.cz
Template:       generatepress
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Tags:           accessibility-ready
Text Domain:    po_sm
*/
 /* =============================
  *   TYPOGRAPHY
  ============================= */
 *:focus {
   outline: 3px dotted red;
 }
 /* SPACES */
 /* margin bottom */
 .wp-block-gallery,
 .wp-block-buttons,
 figure {
   margin-bottom: 2rem;
 }
 /* BUTTONS */
 /* no radius */
 .wp-block-button__link {
   border-radius: 5px;
 }
 /* not underlined */
 a.wp-block-button__link,
 a.wp-block-button__link:hover,
 a.wp-block-button__link:focus,
 a.wp-block-button__link:active {
   text-decoration: none;
   border-bottom: 0;
   margin-bottom: 0;
 }
 
 /* =============================
  *   LINKS 
  ============================= */
 /* default link is underlined with BORDER */
 a {
   text-decoration: none;
   border-bottom: 1px solid;
   padding-bottom: 1px;
   margin-bottom: -1px;
 }
 
 /* thicker underlining */
 a:hover,
 a:active,
 a:focus {
   border-bottom: 2px solid;
   padding-bottom: 2px;
   margin-bottom: -2px;
 }
 
 /* =============================
  *   HEADER
  ============================= */
 /* header links - underlining is transparent */
 .site-header a:link,
 .site-header a:visited {
   border-bottom: 1px solid transparent;
   padding-bottom: 1px;
   margin-bottom: -1px;
 }
 
 /* header links hover - underlining is black */
 .site-header a:hover,
 .site-header a:active,
 .site-header a:focus {
   border-color: #000;
 }
 
 /* logo is  block not underlined */
.site-logo a:link,
.site-logo a:visited{
  display: block;
  border: 1px solid transparent;
}


/* logo hover - no underline, border yes */
 .site-logo a:hover,
 .site-logo a:focus,
 .site-logo a:active {
   text-decoration: none;
   border: 1px solid var(--global-color-18);
}
 
 /* =============================
  *   PICTURES
  ============================= */
 /* GALLERY - picture with link is not underlined */
 figure a img {
   /* same color as at img */
   border: 2px solid #ddd;
   padding-bottom: 0;
   margin-bottom: 0;
 }
 /* GALLERY - picture hover not underlined */
 figure a:hover,
 figure a:active,
 figure a:focus {
   border-bottom: 0;
 }
 /* GALLERY - add hover efect */
 .wp-block-gallery .wp-block-image:hover img {
   /*filter: blur(2px);*/
   /*filter: grayscale(40%);*/
   border: 2px solid var(--global-color-17);
 }
 /* link at picture in single */
 figure a,
 .post-image a,
 .wp-block-latest-posts__featured-image a {
   /*display: block;*/
   border: 1px solid transparent;
 }
 
 /* =============================
  *   CONTENT
  ============================= */
 
  /* ==============================
  * BLOCK MEDIA & TEXT
  * ============================== */
 /* define spaces */
 .wp-block-media-text {
   gap: 2rem;
 }
 .wp-block-media-text > .wp-block-media-text__content {
   padding: 0;
 }
 /* Text + image = image with border */
 .wp-block-media-text__media img {
   border: 1px solid var(--accent);
 }
 /* space after picture */
 @media (max-width: 600px) {
   .wp-block-media-text.is-stacked-on-mobile {
     row-gap: 2rem;
   }
 }
 /* text - all width - closer */
 .width1100 {
   max-width: 1100px;
   margin: 0 auto;
 }
 /* ==============================
  * RIGHT SIDEBAR
  * ============================== */
 /* smaller space around */
 #right-sidebar.widget-area .widget {
   padding: 1rem;
 }
 #right-sidebar h2 {
   font-size: 1.8rem;
 }
 
 /* =============================
  *   OTHER
  ============================= */
