/*
Theme Name: Modern CPT
Version: 1.2.8
Template: modern
Template Version: 2.6.6
Author: Emeric Jhelil
Description: Modern CPT (custom post type) is a child theme of Modern (by WebMan Design), elegant display of blog and portfolio, modified to use a custom post type and taxonomy : galerie and categorie_galerie. Custom post type and taxonomy are created with the plugin Custom Post Type UI. This theme does not use the plugin Jetpack (required to use the portfolio in parent theme) with a "bit" of hack.
Tags: blog, portfolio
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/

/*
EJ 2022-04-26
Theme styling for EJ blockquote (using Genesis Custom Blocks plugin)
Support for U+1F677 "sans-serif heavy double comma quotation mark ornament"
*/
figure > blockquote {
  margin: 0;
}
figure > blockquote:first-child {
  margin-top: initial;
}
figure > blockquote::before {
  content: "\f106" !important;
  font-size: 2em !important;
  margin-top: -0.15em !important;
}

cite {
  font-style: revert;
}
cite::before {
  content: initial;
}

/* EJ 2022-11-08 : Theme custom for Modern CPT (child theme of Modern) */
h2 {
  font-size: 1.385em;
}
@media only screen and (min-width: 42em) {
  .h2, h2 {
    font-size: 1.6875em;
  }
  .h3, h3 {
    font-size: 1.31625em;
  }
}

@media only screen and (min-width: 28em) {
  .site-header-content {
    padding-top: 1.25em;
    padding-bottom: 1.25em;
  }
}
@media only screen and (min-width: 42em) {
  .site-header-content {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
  }
}
@media only screen and (min-width: 55em) {
  .site-header-content {
    padding-top: 2em;
    padding-bottom: 2em;
  }
}

.page-header {
  display: none; /* "Masquer" par CSS (ni template-part, ni hook) */
  padding: 2.6244em 0;
}

@media only screen and (min-width: 28em) {
  .intro-title {
    font-size: 1.25rem;
    padding: 1.25rem 0;
  }
}
@media only screen and (min-width: 42em) {
  .intro-title {
    font-size: 1.5rem;
    padding: 1.5rem 0;
  }
}
@media only screen and (min-width: 55em) {
  .intro-title {
    font-size: 2rem;
    padding: 2rem 0;
  }
}

@media only screen and (min-width: 55em) {
  .front-page-section,
  .site-content {
    margin-bottom: 3rem;
  }
}

@media only screen and (min-width: 42em) {
  .site-footer {
    margin-top: 3rem;
  }
}

@media only screen and (min-width: 42em) {
  .attachment .entry-media,
  .comments-area-inner,
  .entry-content-container,
  .footer-widgets,
  .site-info-inner {
    padding-top: 3rem;
  }
}
@media only screen and (min-width: 42em) {
  .comments-area-inner,
  .entry-content-container,
  .footer-widgets,
  .site-info-inner {
    padding-bottom: 3rem;
  }
}

.site-info-inner {
  justify-content: center;
}

/* EJ 2025-05-24 Modern 2.6.5 : restore previous (Modern 2.6.4) focus style */
:where(.site :focus) {
  outline-width: thin;
  outline-style: dashed;
  outline-offset: 0;
  outline-color: currentColor
}
