/*
Theme Name: Philia
Theme URI: https://philiaconcept.com/
Author: Philia
Author URI: https://philiaconcept.com/
Description: Tema editoriale per Philia, brand di borse e accessori in pelle vegana per chi cammina con il cane. Disegno italiano, modello registrato. Mobile-first, accessibile, ottimizzato per WordPress e WooCommerce.
Version: 2.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
WC requires at least: 8.0
WC tested up to: 10.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: philia
Domain Path: /languages
Tags: e-commerce, custom-menu, custom-logo, editor-style, featured-images, full-width-template, theme-options, threaded-comments, translation-ready, woocommerce, one-column, two-columns, accessibility-ready
*/

/* -------------------------------------------------------------------------
   Philia — Theme stylesheet manifest
   -------------------------------------------------------------------------
   The whole design system lives in /assets/css/main.css (bundled in this
   exact order: tokens → reset → base → layout → utilities → components).
   This file is required by WordPress core for theme identification only.
   Do not add rules here: extend the bundle in /assets/css/_src/ instead.
   ------------------------------------------------------------------------- */

/* WordPress core utility classes (gallery, captions, alignment) ---------- */
.alignnone   { margin: 5px 20px 20px 0; }
.aligncenter,
div.aligncenter { display: block; margin: 5px auto; }
.alignright  { float: right; margin: 5px 0 20px 20px; }
.alignleft   { float: left;  margin: 5px 20px 20px 0; }

a img.alignright  { float: right; margin: 5px 0 20px 20px; }
a img.alignnone   { margin: 5px 20px 20px 0; }
a img.alignleft   { float: left;  margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}
.wp-caption.alignnone  { margin: 5px 20px 20px 0; }
.wp-caption.alignleft  { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img {
  border: 0;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}
.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

.gallery-caption { padding: 5px; font-size: 10px; }
.bypostauthor { border-left: 3px solid #ddd; padding-left: 20px; }

/* Accessibility: screen-reader-text + skip link ------------------------- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Admin bar offset ------------------------------------------------------ */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* WordPress block & comments tweaks ------------------------------------ */
.post-thumbnail img { max-width: 100%; height: auto; }
.sticky { display: block; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.5rem; }
.comment-author img { border-radius: 999px; width: 50px; height: auto; }
.comment-respond textarea { width: 100%; }
