/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* Vivre a Sete lot 1 responsive cleanup */
html, body { max-width: 100%; overflow-x: hidden; }
.site.grid-container, .site-content, .content-area, .site-main, .inside-article, .entry-content { max-width: 100%; overflow-x: clip; }
.main-navigation .main-nav ul li a { letter-spacing: .04em; }
.gb-container-9842a29d { max-width: 100%; }
.gb-container-edd284a7 { padding-left: clamp(20px, 6vw, 250px); padding-right: clamp(20px, 6vw, 250px); }
.gb-grid-wrapper > .gb-grid-column, .gb-container { min-width: 0; }
.wp-block-image img, .gb-block-image img, img { max-width: 100%; height: auto; }

@media (max-width: 1024px) {
  .gb-container-edd284a7 { padding-left: 32px !important; padding-right: 32px !important; }
  .gb-container-37a00443 > .gb-inside-container { padding-top: 80px !important; }
  .gb-container-055f2311 { padding-top: 70px !important; padding-bottom: 70px !important; }
}

@media (max-width: 767px) {
  .site-header .inside-header { padding-left: 18px; padding-right: 18px; }
  .gb-container-bd0f693e { padding-top: 86px !important; padding-bottom: 150px !important; }
  h1.gb-headline-da217663 { font-size: clamp(32px, 11vw, 42px) !important; line-height: 1.05 !important; }
  h2.gb-headline-89e00bd9 { font-size: clamp(30px, 9vw, 38px) !important; }
  .gb-container-95595047 { padding-left: 20px !important; padding-right: 20px !important; }
  .gb-grid-wrapper-dba57b9c { margin-left: 0 !important; row-gap: 14px !important; }
  .gb-grid-wrapper-dba57b9c > .gb-grid-column { padding-left: 0 !important; }
  .gb-container-ede4c881, .gb-container-772e9171, .gb-container-4c106eed, .gb-container-5a5ef7a8 { min-height: 150px !important; height: auto !important; }
  .gb-container-37a00443 > .gb-inside-container { padding: 60px 18px 10px !important; }
  .gb-container-cb639460 { padding: 0 !important; }
  .gb-container-922ab7f2 { padding: 28px 24px !important; margin-left: 0 !important; }
  .gb-image-4881c3fb { height: auto !important; max-height: 360px; object-fit: cover !important; border-width: 10px !important; }
  .gb-grid-wrapper-e1533cb0 { margin-left: 0 !important; }
  .gb-grid-wrapper-e1533cb0 > .gb-grid-column { padding-left: 0 !important; }
  .gb-container-055f2311 { padding: 50px 22px !important; }
  footer.wp-block-group { padding-left: 20px !important; padding-right: 20px !important; }
}

/* Vivre a Sete lot 1 custom footer */
.vas-footer { margin-top: 70px; padding: 60px 24px 34px; background: #f7f2e8; color: #24333b; }
.vas-footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(260px, 1.7fr) 1fr 1fr; gap: 42px; align-items: start; }
.vas-footer-brand img { width: min(260px, 100%); height: auto; margin-bottom: 18px; }
.vas-footer-brand p { max-width: 560px; margin: 0; line-height: 1.7; }
.vas-footer-nav h3 { margin: 0 0 14px; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; }
.vas-footer-nav a { display: block; margin: 0 0 9px; color: #24333b; text-decoration: none; }
.vas-footer-nav a:hover { color: #29b1cc; }
.vas-footer-copy { max-width: 1120px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid rgba(36,51,59,.18); text-align: center; font-size: 14px; }
@media (max-width: 767px) { .vas-footer { margin-top: 45px; padding: 42px 20px 28px; } .vas-footer-inner { grid-template-columns: 1fr; gap: 28px; } }

/* Vivre a Sete - suppression du footer GeneratePress blanc en doublon */
.site-footer, .site-info { display: none !important; }
.vas-footer { margin-bottom: 0 !important; }
body { background: #f7f2e8; }

/* Vivre a Sete - page contact */
.vas-contact-page h2 { margin-top: 0; }
.vas-contact-form { background: #f7f2e8; border: 1px solid rgba(36,51,59,.14); border-radius: 22px; padding: 28px; box-shadow: 0 18px 45px rgba(36,51,59,.08); }
.vas-contact-form p { margin-bottom: 18px; }
.vas-contact-form label { display: block; font-weight: 700; margin-bottom: 7px; color: #24333b; }
.vas-contact-form input, .vas-contact-form select, .vas-contact-form textarea { width: 100%; border: 1px solid rgba(36,51,59,.22); border-radius: 12px; padding: 12px 14px; background: #fff; color: #24333b; }
.vas-contact-form textarea { resize: vertical; }
.vas-contact-form button { border: 0; border-radius: 999px; padding: 13px 22px; background: #24333b; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.vas-contact-form button:hover { background: #29b1cc; }
.vas-hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; overflow: hidden !important; }
.vas-contact-alert { border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; font-weight: 700; }
.vas-contact-success { background: #e9f8ef; color: #145c2d; }
.vas-contact-error { background: #fff1f1; color: #8a1f1f; }
@media (max-width: 767px) { .vas-contact-form { padding: 22px 18px; } }

/* Vivre a Sete - pages piliers style guide affiliation */
.vas-guide-page { color: #24333b; }
.vas-lead { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.65; max-width: 900px; }
.vas-essential, .vas-tip { background: #f7f2e8; border-left: 5px solid #29b1cc; border-radius: 18px; padding: 24px 26px; margin: 28px 0; box-shadow: 0 12px 32px rgba(36,51,59,.06); }
.vas-essential h2, .vas-tip h3 { margin-top: 0; }
.vas-cta-grid { margin: 32px 0; }
.vas-card { height: 100%; background: #ffffff; border: 1px solid rgba(36,51,59,.12); border-radius: 20px; padding: 24px; box-shadow: 0 16px 36px rgba(36,51,59,.07); }
.vas-card h3 { margin-top: 0; }
.vas-card .wp-block-button__link, .vas-guide-page .wp-block-button__link { background: #24333b; border-radius: 999px; color: #fff; font-weight: 700; padding: 11px 18px; text-decoration: none; }
.vas-card .wp-block-button__link:hover, .vas-guide-page .wp-block-button__link:hover { background: #29b1cc; color: #fff; }
.vas-table { width: 100%; border-collapse: collapse; margin: 26px 0 34px; overflow: hidden; border-radius: 16px; box-shadow: 0 10px 28px rgba(36,51,59,.06); }
.vas-table th { background: #24333b; color: #fff; text-align: left; padding: 14px 16px; }
.vas-table td { padding: 14px 16px; border-bottom: 1px solid rgba(36,51,59,.1); background: #fff; }
.vas-table tr:nth-child(even) td { background: #f7f2e8; }
.vas-summary { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: #f7f2e8; border-radius: 18px; padding: 16px; margin: 26px 0 34px; }
.vas-summary strong { margin-right: 8px; }
.vas-summary a { color: #24333b; background: #fff; border: 1px solid rgba(36,51,59,.12); border-radius: 999px; padding: 8px 12px; text-decoration: none; font-weight: 700; }
.vas-summary a:hover { color: #fff; background: #29b1cc; }
.vas-small-sources { font-size: 13px; color: #65737b; margin-top: 40px; }
@media (max-width: 767px) { .vas-essential, .vas-tip, .vas-card { padding: 20px; } .vas-table { display: block; overflow-x: auto; } .vas-summary { align-items: flex-start; } }

/* Vivre a Sete - sommaire type Generation Voyage */
#sommaire-article.vas-gv-summary { background: #f7f2e8; border: 1px solid rgba(36,51,59,.12); border-radius: 18px; padding: 22px 24px 18px; margin: 28px 0 36px; box-shadow: 0 14px 34px rgba(36,51,59,.07); }
#sommaire-article .sommaire { display: block; font-size: 22px; line-height: 1.2; font-weight: 800; color: #24333b; margin-bottom: 14px; }
#sommaire-article ul { list-style: none; margin: 0; padding: 0; }
#sommaire-article li { margin: 0; padding: 0; border-top: 1px solid rgba(36,51,59,.1); }
#sommaire-article li:first-child { border-top: 0; }
#sommaire-article a.title_lvl3 { display: block; padding: 12px 0; color: #24333b; text-decoration: none; font-weight: 700; line-height: 1.35; }
#sommaire-article a.title_lvl3:hover { color: #29b1cc; }
#sommaire-article:not(.is-expanded) li:nth-child(n+5) { display: none; }
#sommaire-article .vas-summary-toggle { margin-top: 14px; border: 0; background: transparent; color: #29b1cc; font-weight: 800; padding: 8px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
#sommaire-article .vas-summary-toggle::after { content: ""; display: inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
#sommaire-article.is-expanded .vas-summary-toggle::after { transform: rotate(225deg) translateY(-2px); }
@media (max-width: 767px) { #sommaire-article.vas-gv-summary { padding: 18px; margin: 24px 0 30px; } #sommaire-article .sommaire { font-size: 20px; } }

/* Vivre a Sete - grande image sous le titre des guides */
.vas-hero-image { margin: 0 0 30px; }
.vas-hero-image img { width: 100%; aspect-ratio: 16/7; object-fit: cover; border-radius: 24px; display: block; box-shadow: 0 18px 45px rgba(36,51,59,.14); }
.vas-hero-image figcaption { margin-top: 8px; color: #65737b; font-size: 12px; text-align: right; }
@media (max-width: 767px) { .vas-hero-image img { aspect-ratio: 4/3; border-radius: 18px; } .vas-hero-image figcaption { text-align: left; } }
