/*
Theme Name: ARGO Clean
Description: Tema a blocchi leggero per ARGO S.R.L. A SOCIO UNICO (migrazione da Joomla 3).
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: argo-clean
License: GPL-2.0-or-later
*/

/* Small refinements that theme.json cannot express */
.wp-site-blocks { overflow-x: clip; }

.argo-header { border-bottom: 1px solid var(--wp--preset--color--line); }
.argo-header .wp-block-site-logo img { height: auto; max-height: 56px; width: auto; }
.argo-header .wp-block-navigation a { text-decoration: none; }
.argo-header .wp-block-navigation a:hover { color: var(--wp--preset--color--primary); }
.argo-header .wp-block-navigation__submenu-container { border: 1px solid var(--wp--preset--color--line) !important; border-radius: 6px; padding: .35rem 0; box-shadow: 0 8px 24px rgba(15, 30, 45, .08); }

.argo-hero { border-radius: 10px; overflow: hidden; }
.argo-hero .argo-quote { font-size: .95rem; opacity: .95; }
/* Light banner (Netgen gear mesh on the right): text column on the left, never over the gear on desktop */
.argo-hero.is-light .wp-block-cover__inner-container { max-width: min(640px, 58%); margin-left: 0; }
.argo-hero.is-light .wp-block-button__link { box-shadow: 0 4px 14px rgba(38, 170, 225, .25); }
@media (max-width: 782px) {
  .argo-hero.is-light .wp-block-cover__inner-container { max-width: 100%; }
  /* on phones the gear sits behind the text: light veil for readability */
  .argo-hero.is-light .wp-block-cover__background { background-color: #f2f7fa !important; opacity: .62 !important; }
}

.argo-card { border: 1px solid var(--wp--preset--color--line); border-radius: 10px; height: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
.argo-card:hover { border-color: var(--wp--preset--color--primary); box-shadow: 0 6px 20px rgba(38, 170, 225, .12); }
.argo-card h3 a { text-decoration: none; color: inherit; }

.argo-posts .wp-block-post { border-top: 1px solid var(--wp--preset--color--line); padding-top: 1.25rem; }
.argo-posts .wp-block-post-title a { text-decoration: none; }
.argo-posts .wp-block-post-title a:hover { color: var(--wp--preset--color--primary); }
.argo-posts .wp-block-post-featured-image img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; }

/* Legacy (migrated) content: tame old inline layout */
.entry-content img { max-width: 100%; height: auto; }
.entry-content table { max-width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.entry-content td, .entry-content th { padding: .35rem .5rem; vertical-align: top; }
.entry-content pre, .entry-content code { white-space: pre-wrap; word-break: break-word; }
.entry-content blockquote { border-left: 3px solid var(--wp--preset--color--primary); margin-left: 0; padding: .25rem 0 .25rem 1.25rem; color: var(--wp--preset--color--muted); }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content iframe { max-width: 100%; }

.argo-footer a { color: inherit; }
.argo-footer a:hover { color: var(--wp--preset--color--primary); }

@media (max-width: 600px) {
  .argo-hero h1 { font-size: 1.6rem !important; }
}
