/*
Theme Name: Avventura Lite Child
Theme URI: https://www.themeinprogress.com/avventura-elegant-beauty-wordpress-shop-theme/
Template: avventura-lite
Author: ThemeinProgress.
Author URI: https://www.themeinprogress.com
Description: Avventura Lite is an elegant and beauty WordPress theme, perfect for writers, bloggers and photographers. Avventura Lite is also fully compatible with Contact Form 7 and WooCommerce plugin and is optimized for mobile devices.
Tags: custom-background,custom-colors,custom-logo,custom-menu,featured-images,footer-widgets,post-formats,right-sidebar,sticky-post,theme-options,threaded-comments,translation-ready,one-column,two-columns,three-columns,full-width-template,grid-layout,blog,e-commerce,photography
Version: 1.8.3.1788716784
Updated: 2026-09-06 17:46:24

*/

/* =========================================================================
   Angelzmosaïque — custom styles (moved here from Customize → Additional CSS)

   Contents, in order:
     Variables · One font for the whole site · Header (logo, FR/EN, À propos/Contact) · Slider (categories)
     · Bottom grid · Footer · Artwork and page images · Back link
     · Homepage divider · À propos page · Utilities (drop caps)
     · Focus outline · Category page heading · Artwork page text · Contact form
   ========================================================================= */

:root {
    --az-font-mono: "Courier New", Courier, monospace; /* typewriter font used for titles and links */
    --az-ink: #111;                                    /* main text and link colour */
    --az-grey: #616161;                                /* footer text */
    --az-line: #d6d0c6;                                /* fine divider lines */
    --az-cream: #faf7f2;                               /* page background (same as Customize → Colors) */
    --az-cream-box: rgba(250, 247, 242, 0.75);         /* translucent title box on the slider */
    --az-error: #a33a2c;                               /* form error messages */
}

/* ---------- One font for the whole site ----------
   The theme sets Merriweather on body and Playfair Display on headings and the
   logo text; the typewriter font replaces both. Form fields and buttons do not
   inherit fonts by default, so they are listed too. (Google Fonts is no longer
   loaded: see functions.php.) */
body,
h1, h2, h3, h4, h5, h6,
h1.title a, h2.title a, h3.title a, h4.title a, h5.title a, h6.title a,
#logo a span,
input, textarea, select, button {
    font-family: var(--az-font-mono);
}

#logo-wrapper {
    padding-top: 10px;
    padding-bottom: 10px;
}

#logo-wrapper .container,
#logo-wrapper .row,
#logo-wrapper .col-md-12 {
    padding-top: 0;
    padding-bottom: 0;
}

#logo {
    margin: 0;
}

/* Header: FR / EN switcher on the left, same style as CONTACT */
#logo-wrapper .header-lang {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

#logo-wrapper .header-lang li {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--az-font-mono);
    font-size: 15px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--az-ink);
}

#logo-wrapper .header-lang li + li::before {
    content: "/";
    margin: 0 8px 0 4px;
    opacity: 0.4;
}

#logo-wrapper .header-lang a {
    color: var(--az-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

#logo-wrapper .header-lang .current-lang a,
#logo-wrapper .header-lang a:hover,
#logo-wrapper .header-lang a:focus {
    color: var(--az-ink);
    opacity: 1;
}

/* Header: À PROPOS and CONTACT on the right, vertically centred with the logo */
#logo-wrapper .col-md-12 {
    position: relative;
}

#logo-wrapper .header-links {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 28px;
}

#logo-wrapper .header-link {
    font-family: var(--az-font-mono);
    font-size: 15px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--az-ink);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

#logo-wrapper .header-link:hover,
#logo-wrapper .header-link:focus {
    color: var(--az-ink);
    opacity: 0.6;
}

/* Phones: the two links stack on the right so they never touch the logo */
@media (max-width: 1199px) {
    #logo-wrapper .header-links {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }

    #logo-wrapper .header-link,
    #logo-wrapper .header-lang li {
        font-size: 12px;
        letter-spacing: 0.15em;
    }
}

#logo .custom-logo {
    width: 100px;
    height: 100px;
}

/* Slider: aligned with the grid below, spaced, framed slides */
.slick-slideshow .slick-slides {
    margin: 30px auto 10px;
    padding: 0; /* slides' own 15px padding lines them up with the grid on phones */
}

@media (min-width: 768px) {
    .slick-slideshow .slick-slides { max-width: 750px; padding: 0; }
}

@media (min-width: 992px) {
    .slick-slideshow .slick-slides { max-width: 970px; }
}

@media (min-width: 1200px) {
    .slick-slideshow .slick-slides { max-width: 1170px; }
}

.slick-slideshow .slick-list {
    padding: 0 !important;
}

.slick-slide {
    display: flex !important;
    height: auto;
    padding: 0 15px; /* 30px gap between slides, like the grid */
}

.slick-slide > div {
    width: 100%;
}

/* Each piece floats on the page: no frame, no shadow */
.slick-slideshow .slick-article {
    position: relative;
    overflow: hidden;
    height: 350px !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.slick-slideshow .slick-article img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Slider overlay: centered translucent cream box, minimal typewriter title (beats Slick's inline styles) */
.slick-article .slider-overlay {
    background: var(--az-cream-box) !important;
    width: 64% !important;
    height: 56% !important;
    top: 50% !important;
    left: 50% !important;
    margin: 0 !important;
    transform: translate(-50%, -50%);
}

.slick-article .slider-overlay-wrapper {
    background: transparent !important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slick-article .slider-overlay-content {
    width: 100% !important; /* theme made it 50px narrower than the box */
    left: 0 !important;
    padding: 0 10px;
    text-align: center;
}

/* Titles wrap only between words, never inside a word */
.slick-article .slider-overlay .title,
.masonry-item .post-article .title {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.slick-article .slider-overlay .title {
    margin: 0;
}

.slick-article .slider-overlay .title a,
.slick-article .slider-overlay .title a span {
    font-family: var(--az-font-mono);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--az-ink);
    text-decoration: none;
    background: none !important;
    box-shadow: none !important;
}

/* Slider arrows: at the outer ends, no background, simple dark icon */
.post-container.slick-slideshow {
    overflow: visible;
}

.slick-slideshow .slick-arrow {
    opacity: 1 !important; /* theme hides them until hover */
    background: transparent !important;
    color: #333 !important;
    width: 32px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.slick-slideshow .slick-arrow .dashicons {
    color: #333 !important;
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.slick-slideshow .slick-arrow:hover,
.slick-slideshow .slick-arrow:focus {
    background: transparent !important;
    opacity: 0.6 !important;
}

.slick-slideshow .slick-arrow:hover .dashicons {
    color: #000 !important;
}

.slick-slideshow .prev-arrow {
    left: max(-48px, calc((100% - 100vw) / 2 + 2px)) !important;
    right: auto !important;
}

.slick-slideshow .next-arrow {
    right: max(-48px, calc((100% - 100vw) / 2 + 2px)) !important;
    left: auto !important;
}

/* Bottom grid: image-only cards with the same centered translucent title box as the slider */
.masonry-item {
    display: grid !important;
}

.masonry-item .pin-container,
.masonry-item .post-article {
    grid-area: 1 / 1;
}

.masonry-item .pin-container img {
    display: block;
    width: 100%;
    height: auto;
}

.masonry-item .entry-category,
.masonry-item .post-article p,
.masonry-item .read-more-wrapper {
    display: none !important;
}

.masonry-item .post-article {
    align-self: center;
    justify-self: center;
    position: relative;
    z-index: 1000;
    width: 64%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.55) !important;
    opacity: 0; /* hidden until hover, see below */
    transition: opacity 0.3s ease;
}

.masonry-item .post-article .title {
    margin: 0;
}

.masonry-item .post-article .title a,
.masonry-item .post-article .title a span {
    font-family: var(--az-font-mono);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: none; /* titles show as written: first letter capital (see below) */
    color: var(--az-ink);
    text-decoration: none;
    background: none !important;
    box-shadow: none !important;
}

/* Grid titles: first letter always a capital, the rest as written */
.masonry-item .post-article .title a span {
    display: inline-block;
}

.masonry-item .post-article .title a span::first-letter {
    text-transform: uppercase;
}

/* Hover (bottom grid only): artwork fully visible, title box fades in on hover */
.masonry-item:hover .post-article,
.masonry-item:focus-within .post-article {
    opacity: 1;
    background: rgba(255, 255, 255, 0.8) !important;
}

/* Touch screens have no hover: always show the title */
@media (hover: none) {
    .masonry-item .post-article {
        opacity: 1;
    }
}

/* Footer: white background, soft grey text */
#footer {
    background-color: #fff;
    color: var(--az-grey);
}

#footer a,
#footer .copyright p,
#footer .copyright a,
#footer .copyright span {
    color: var(--az-grey);
}

#footer a:hover,
#footer a:focus,
#footer .copyright a:hover,
#footer .copyright a:focus {
    color: var(--az-ink);
}

/* Footer layout: icons, legal links, copyright — centred lines */
#footer .copyright .col-md-12 {
    text-align: center;
}

#footer .footer-legal {
    margin: 10px 0 8px;
    line-height: 2;
}

#footer .footer-legal .sep {
    margin: 0 8px;
}

#footer .footer-copy {
    margin: 0;
    font-size: 13px;
}

/* Footer bottom line: copyright + social icons side by side (wraps on small screens) */
#footer .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
}

#footer .footer-bottom .social-buttons {
    display: inline-flex;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Social icons in their official brand colours, small app-style squares */
#footer .social-buttons a.social {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 7px !important;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1 !important;
    transition: opacity 0.3s ease;
}

#footer .social-buttons a.social i {
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1 !important;
}

#footer .social-buttons a.social[href*="instagram"] {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
}

#footer .social-buttons a.social[href*="facebook"] {
    background: #1877f2 !important;
}

#footer .social-buttons a.social:hover,
#footer .social-buttons a.social:focus {
    opacity: 0.8;
}

/* Whole image clickable (links added in the child theme functions.php):
   the links fill the image, and the title boxes let clicks pass through except on the title itself */
.slick-slideshow .slick-image-link,
.masonry-item .pin-image-link {
    display: block;
    height: 100%;
}

.slick-article .slider-overlay,
.masonry-item .post-article {
    pointer-events: none;
}

.slick-article .slider-overlay .title a,
.masonry-item .post-article .title a {
    pointer-events: auto;
}

/* Image containers: no grey background behind images (came from the Black colour scheme) */
.post .pin-container {
    background: transparent !important;
}

/* Post & page image: whole artwork, centred, same maximum height for every piece */
body.single .pin-container,
body.page .pin-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

body.single .pin-container img,
body.page .pin-container img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 75vh;
    margin: 0 auto;
}

/* Back link on inner pages: top left, same typewriter style as CONTACT */
.back-link-wrap {
    margin-top: -26px; /* sits in the space under the header */
    margin-bottom: 22px;
}

.back-link-wrap .back-link {
    display: inline-block;
    font-family: var(--az-font-mono);
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--az-ink);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.back-link-wrap .back-link:hover,
.back-link-wrap .back-link:focus {
    color: var(--az-ink);
    opacity: 0.6;
}

/* Homepage: divider between the category slider and the grid of all pieces */
.section-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0 0;
    padding: 0;
    font-family: var(--az-font-mono);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--az-ink);
    text-align: center;
}

.section-divider::before,
.section-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--az-line); /* soft line, a shade darker than the cream page */
}

.section-divider span {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .section-divider {
        gap: 12px;
        font-size: 12px;
        letter-spacing: 0.18em;
    }
}

/* No drop caps (big first letter) anywhere, even if switched on in the editor */
.has-drop-cap:not(:focus)::first-letter,
.has-superb-addons-drop-cap::first-letter {
    float: none !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
    text-transform: none !important;
}

/* À propos page: intro image + text, and the "Contactez-moi" button in the site style.
   .az-button = the same button anywhere else (e.g. the 404 page). */
.about-intro {
    margin-bottom: 40px;
}

.about-intro .wp-block-media-text__media img {
    max-height: 75vh;
    width: 100%;
    object-fit: cover;
}

.about-cta-text {
    font-family: var(--az-font-mono);
    letter-spacing: 0.1em;
    margin-top: 30px;
}

.about-cta .wp-block-button__link,
.az-button {
    background: transparent !important;
    color: var(--az-ink) !important;
    border: 1px solid var(--az-ink) !important;
    border-radius: 0 !important;
    padding: 12px 28px !important;
    font-family: var(--az-font-mono);
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.about-cta .wp-block-button__link:hover,
.about-cta .wp-block-button__link:focus,
.az-button:hover,
.az-button:focus {
    background: var(--az-ink) !important;
    color: #fff !important;
}

/* ---------- Focus outline (replaces the theme's red dotted one) ----------
   The theme draws a red dotted outline on every link, button and field on
   hover, click and focus. Mouse users see none; keyboard users get a fine
   outline in the site's ink colour (needed for accessibility). */
#wrapper a:focus,
#wrapper button:hover, #wrapper button:active, #wrapper button:focus,
#wrapper input:hover, #wrapper input:active, #wrapper input:focus,
#wrapper textarea:hover, #wrapper textarea:active, #wrapper textarea:focus {
    outline: none !important;
}

#wrapper a:focus-visible,
#wrapper button:focus-visible,
#wrapper input:focus-visible,
#wrapper textarea:focus-visible {
    outline: 1px solid var(--az-ink) !important;
    outline-offset: 3px;
}

/* Form fields already show focus with a darker border */
#wrapper .wpcf7 input[type="text"]:focus-visible,
#wrapper .wpcf7 input[type="email"]:focus-visible,
#wrapper .wpcf7 textarea:focus-visible {
    outline: none !important;
}

/* ---------- Category page heading ----------
   "FLEURS" between two fine lines, same style as the homepage divider
   (markup from avventura_lite_archive_title_function in functions.php). */
.section-divider.archive-divider {
    margin: 24px 0 50px;
}

/* ---------- Artwork page: text under the image ----------
   No white card: the text sits on the cream page. The category is a small
   typewriter link back to its collection; the title uses the slider's style. */
body.single-post #content .post-article {
    background: transparent !important;
}

body.single-post #content .post-article .entry-category,
body.single-post #content .post-article .entry-category a {
    font-family: var(--az-font-mono);
    font-size: 12px !important; /* the theme forces 10px with !important */
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--az-ink);
    text-decoration: none;
}

body.single-post #content .post-article .entry-category a {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

body.single-post #content .post-article .entry-category a:hover,
body.single-post #content .post-article .entry-category a:focus {
    color: var(--az-ink);
    opacity: 1;
}

body.single-post #content .post-article .title,
body.single-post #content .post-article .title span {
    font-family: var(--az-font-mono);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--az-ink);
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

@media (max-width: 600px) {
    body.single-post #content .post-article .title,
    body.single-post #content .post-article .title span {
        font-size: 18px;
        letter-spacing: 0.15em;
    }
}

/* ---------- Contact form (Contact Form 7) ----------
   Cream fields with thin borders, labels in typewriter capitals, and the send
   button styled like the "Contactez-moi" button on the À propos page. */
.wpcf7 form p {
    margin: 0 0 22px;
}

.wpcf7 label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--az-ink);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    background: var(--az-cream) !important;
    border: 1px solid var(--az-line) !important;
    border-radius: 0;
    box-shadow: none !important;
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--az-ink);
    transition: border-color 0.3s ease;
}

.wpcf7 textarea {
    min-height: 180px;
    resize: vertical;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
    border-color: var(--az-ink) !important;
    outline: none;
}

.wpcf7 .wpcf7-submit {
    background: transparent !important;
    color: var(--az-ink) !important;
    border: 1px solid var(--az-ink) !important;
    border-radius: 0 !important;
    padding: 12px 28px !important;
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-submit:focus-visible {
    background: var(--az-ink) !important;
    color: #fff !important;
}

/* Focus outline: see "Focus outline" section above */

/* Error under a field, and the message box after sending */
.wpcf7 .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none; /* the tip sits inside the label, which is in capitals */
    color: var(--az-error);
}

.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
    border-color: var(--az-error) !important;
}

.wpcf7 form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px 16px;
    border: 1px solid var(--az-line);
    font-size: 13px;
    color: var(--az-ink);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    border-color: var(--az-error);
}

.wpcf7 .form-privacy {
    font-size: 12px;
    line-height: 1.6;
    opacity: 0.75;
}

.wpcf7 .form-privacy a {
    color: var(--az-ink);
    text-decoration: underline;
}

/* ---------- "Page not found" (404) page (markup in 404.php) ----------
   Centred, on the cream page, with the divider-style heading and a button. */
.not-found {
    max-width: 560px;
    margin: 40px auto 80px;
    text-align: center;
}

.not-found .section-divider {
    margin: 0 0 36px;
}

.not-found .not-found-text {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--az-ink);
}

.not-found .not-found-action {
    margin-top: 36px;
}

.not-found .az-button {
    display: inline-block;
}


/* ==========================================================================
   Accessibility helpers
   ========================================================================== */

/* Main content area: semantic only, no box of its own (layout unchanged). */
.az-main {
    display: contents;
}

/* Text for screen readers and search engines only (e.g. the homepage title). */
.az-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Slider titles: a taller tap area (24px minimum) without moving the text. */
.slider-overlay-content h2.title a {
    display: inline-block;
    padding: 4px 0;
    margin: -4px 0;
}


/* Mobile: one column, so the masonry script is not needed. Keep the cards in normal flow
   so they don't jump when the script repositions them after the photos load (layout shift). */
@media (max-width: 767px) {
	#masonry.masonry { height: auto !important; }
	#masonry .masonry-item { position: relative !important; left: auto !important; top: auto !important; }
}

/* Homepage slider: before its script starts, the 4 slides are stacked (about 1400px tall), then
   collapse to one 357px row, pushing everything below up. Reserve the final height from the start. */
.slick-slides:not(.slick-initialized) { height: 357px; overflow: hidden; }

/* Series introduction under the category heading (text from Posts → Categories → Description) */
.archive-intro {
	max-width: 680px;
	margin: -10px auto 40px;
	padding: 0 16px;
	text-align: center;
	font-size: 14px;
	line-height: 1.8;
	color: #333;
}
.archive-intro p { margin: 0; }

/* Homepage: two lines of introduction between the slider and the grid */
.home-intro {
	max-width: 680px;
	margin: 30px auto 0;
	padding: 0 16px;
	text-align: center;
	font-size: 14px;
	line-height: 1.8;
	color: #333;
}

/* Artwork pages: "Dans la même série" */
.same-series { margin: 50px 0 10px; clear: both; }
.same-series .section-divider { font-size: 13px; margin-bottom: 25px; }
.same-series-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.same-series-grid li { margin: 0; padding: 0; }
.same-series-grid li::before { display: none; }
.same-series-grid a { display: block; text-decoration: none; color: #333; }
.same-series-grid img { display: block; width: 100%; height: 220px; object-fit: contain; background: #efe9df; }
.same-series-grid span { display: block; margin-top: 8px; font-size: 12px; line-height: 1.5; text-align: center; }
.same-series-grid a:hover span, .same-series-grid a:focus span { text-decoration: underline; }
.same-series-all { text-align: center; margin-top: 25px; font-size: 13px; }
@media (max-width: 767px) {
	.same-series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.same-series-grid img { height: 160px; }
}

/* "Au fil du temps" / "Over the Years": exhibitions, fairs and press, as a timeline */
.timeline { max-width: 760px; margin: 0 auto; }
.timeline > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.timeline-intro { text-align: center; font-size: 14px; line-height: 1.8; color: #333; margin: 0 auto 10px !important; max-width: 560px; }
.timeline .tl-heading {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 55px 0 10px !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .25em;
	text-transform: uppercase;
	color: #111;
}
.timeline .tl-heading::before, .timeline .tl-heading::after { content: ""; flex: 1; height: 1px; background: #d6cdbf; }
.timeline .event.wp-block-group {
	display: grid;
	grid-template-columns: 170px 1fr;
	column-gap: 30px;
	padding: 24px 0;
	border-bottom: 1px solid #e4ddd1;
}
.timeline .event > * { margin: 0 !important; grid-column: 2; }
.timeline .event > .event-date {
	grid-column: 1;
	grid-row: 1 / span 4;
	font-size: 12px;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: #6b6458;
	padding-top: 3px;
}
.timeline .event-title { font-size: 16px; line-height: 1.5; color: #111; }
.timeline .event-place { font-size: 13px; line-height: 1.6; color: #555; margin-top: 4px !important; }
.timeline .event-works { font-size: 13px; line-height: 1.6; color: #333; margin-top: 8px !important; }
.timeline .event a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b8ad9a; }
.timeline .event a:hover, .timeline .event a:focus { text-decoration-color: currentColor; }
.timeline .event-upcoming.wp-block-group { background: #efe9df; border: 0; padding: 30px; margin-top: 20px !important; }
.timeline .event-upcoming .event-date { color: #111; font-weight: 700; }
@media (max-width: 767px) {
	.timeline .event.wp-block-group { grid-template-columns: 1fr; padding: 20px 0; }
	.timeline .event > *, .timeline .event > .event-date { grid-column: 1; grid-row: auto; }
	.timeline .event > .event-date { margin-bottom: 6px !important; }
	.timeline .event-upcoming.wp-block-group { padding: 22px; }
}

/* Header: Instagram icon after Contact */
.header-links .header-instagram { font-size: 16px; line-height: 1; text-decoration: none; }
.header-links .header-instagram i { vertical-align: middle; }
.header-links .header-instagram:hover, .header-links .header-instagram:focus { opacity: .6; }

/* Header Instagram icon in Instagram's colours (gradient on the glyph) */
.header-links .header-instagram i {
	font-size: 18px;
	color: #dc2743; /* fallback */
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Homepage: space between the header and the slider area (theme default is -50px) */
#top_sidebar.sidebar-area,
body.scroll_header #top_sidebar.sidebar-area { margin-top: -32px; }

/* Artwork pages: slider when a piece has several photos (main photo first) */
.az-gallery { position: relative; }
.az-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.az-track::-webkit-scrollbar { display: none; }
.az-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; }
.az-slide img { display: block; max-width: 100%; height: auto; max-height: 85vh; width: auto; margin: 0 auto; }
.az-prev, .az-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 1px solid #333;
	border-radius: 50%;
	background: rgba(250, 247, 242, .9);
	color: #333;
	font: 28px/1 "Courier New", Courier, monospace;
	cursor: pointer;
	z-index: 2;
}
.az-prev { left: 10px; }
.az-next { right: 10px; }
.az-prev[disabled], .az-next[disabled] { opacity: .25; cursor: default; }
.az-dots { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.az-dots button { width: 10px; height: 10px; padding: 0; border: 1px solid #333; border-radius: 50%; background: transparent; cursor: pointer; }
.az-dots button[aria-current="true"] { background: #333; }
.az-prev:focus-visible, .az-next:focus-visible, .az-dots button:focus-visible { outline: 2px solid #333; outline-offset: 2px; }
.az-gallery .az-track { position: relative; z-index: 1; }
.az-gallery .az-prev, .az-gallery .az-next { z-index: 10; }

/* Slider: videos (muted, looping, with controls), shown whole like the photos */
.az-slide video { display: block; max-width: 100%; max-height: 85vh; width: auto; height: auto; margin: 0 auto; background: #efe9df; }


/* Mobile header: no overlap between logo and links, bigger tap targets */
@media (max-width: 480px) {
	#logo .custom-logo, #logo img { width: 72px !important; height: 72px !important; }
	.header-links a, .header-link { display: inline-block; padding: 6px 0 !important; line-height: 1.3; letter-spacing: .12em !important; font-size: 11px !important; }
	.header-instagram { padding: 6px 0 6px 10px !important; }
	.header-instagram i { font-size: 20px; }
}

/* Tablets: comfortable tap targets on the stacked header links */
@media (min-width: 481px) and (max-width: 1199px) {
	.header-links a.header-link { display: inline-block; padding: 4px 0 !important; }
}
/* Very small phones (320-380px) */
@media (max-width: 380px) {
	#logo .custom-logo, #logo img { width: 60px !important; height: 60px !important; }
	.header-links a, .header-link { font-size: 10px !important; letter-spacing: .06em !important; }
}

/* Stacked header links: keep them inside the header band */
@media (max-width: 1199px) {
	#logo-wrapper .header-links { gap: 2px; }
}
@media (max-width: 480px) {
	#logo-wrapper .header-links { gap: 0; }
	#logo-wrapper .col-md-12 { min-height: 124px; display: flex; align-items: center; justify-content: center; }
}

/* Mobile only (< 480px): centred series slider, edges of previous and next photos + dots */
@media (max-width: 479px) {
	.slick-slideshow .slick-list { padding: 0 11% !important; }
	.slick-slideshow .slick-slide { padding: 0 6px; box-sizing: border-box; }
	.slick-slideshow .slick-current .slick-article { opacity: 1; }
	.slick-slideshow .slick-current .slick-article .slider-overlay { opacity: 1; }
	.slick-slideshow .slick-dots { display: flex !important; justify-content: center; gap: 10px; list-style: none; margin: 16px 0 0; padding: 0; }
	.slick-slideshow .slick-dots li { margin: 0; padding: 0; }
	.slick-slideshow .slick-dots button { font-size: 0; line-height: 0; width: 8px; height: 8px; padding: 0; border: 1px solid #8a8173; border-radius: 50%; background: transparent; cursor: pointer; }
	.slick-slideshow .slick-dots .slick-active button { background: #3a352e; border-color: #3a352e; }
}

/* Hide WooCommerce's "Coming soon" reminder banner (shown only to logged-in admins) */
#coming-soon-footer-banner { display: none !important; }


/* Phones and tablets (< 1200px): fixed top bar with logo + MENU, shown after the header scrolls away (Dec 2026) */
#az-mbar, #az-mpanel { display: none; }
@media (max-width: 1199px) {
	#az-mbar { display: flex; position: fixed; left: 0; right: 0; top: 0; z-index: 9990; height: 56px; padding: 0 16px; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid #e4ddd1; transform: translateY(-120%); transition: transform .25s ease; }
	#az-mbar.is-on { transform: none; }
	#az-mbar .az-mlogo { display: block; padding: 6px 0; }
	#az-mbar .az-mlogo img { display: block; width: 40px; height: 40px; }
	#az-mbar .az-mbtn { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 14px 0 14px 14px; font: inherit; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: #111; cursor: pointer; }
	#az-mbar .az-mbtn .bars { position: relative; width: 20px; height: 12px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; box-sizing: border-box; }
	#az-mbar .az-mbtn .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; transform: translateY(-50%); }
	#az-mpanel { position: fixed; left: 0; right: 0; z-index: 9989; background: #fff; border-bottom: 1px solid #e4ddd1; padding: 4px 16px 14px; box-shadow: 0 8px 16px rgba(0,0,0,.06); }
	#az-mpanel.is-open { display: block; }
	#az-mpanel > a { display: block; padding: 13px 0; border-bottom: 1px solid #f0ebe3; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: #111; text-decoration: none; }
	#az-mpanel > a.az-mig { border-bottom: 0; }
	#az-mpanel > a.az-mig i { font-size: 20px; }
	#az-mpanel .az-mlang { display: flex; gap: 18px; padding-top: 12px; }
	#az-mpanel .az-mlang a { font-size: 12px; letter-spacing: .15em; color: #6b6458; text-decoration: none; padding: 6px 0; }
	#az-mpanel .az-mlang a.is-current { color: #111; text-decoration: underline; text-underline-offset: 4px; }
}

#az-mpanel > a.az-mig i { color: #dc2743; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
