/* ==========================================================
   noel2026 — Coppermine theme (Brianne Howey Gallery)
   Version Noël du thème Pinkie
   (base structurelle : Yvonne News / HQDiesel-Paris)
   Palette : rouge canneberge, vert sapin, touches dorées, fond crème
   ========================================================== */

:root {
    --pk-rouge:       #B3202E;  /* rouge canneberge (couleur principale) */
    --pk-rouge-fonce: #8A1520;  /* fin de dégradé */
    --pk-rouge-clair: #F2D6CF;  /* rouge très pâle (aplats clairs, séparateurs) */
    --pk-vert:        #1F5C3A;  /* vert sapin */
    --pk-or:          #D9A441;  /* or (détails, survols) */
    --pk-or-clair:    #F6E6BD;  /* jaune doré clair (encadrés sous les vignettes) */
    --pk-or-fonce:    #9A6B12;  /* or foncé (icônes des encadrés) */
    --pk-noir:        #1A1A1A;
    --pk-argent:      #D3C7B8;
    --pk-fond-gris:   #EFE6DA;
    --pk-blanc-creme: #FFF8EE;  /* fond crème */
    --pk-texte:       #4a4a4a;

    /* guirlande SVG animée pour le footer (fond rouge) — fil doré clair 120x22px répétable, ampoules crème / or / vert
       qui clignotent en cascade (animation SMIL intégrée au SVG, aucun script) */
    --garland: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22' viewBox='0 0 120 22'%3E%3Cpath d='M0 3Q60 19 120 3' fill='none' stroke='%23F3DFA8' stroke-width='1.3' stroke-linecap='round'/%3E%3Crect x='10.7' y='5.3' width='2.6' height='3' rx='.6' fill='%23F3DFA8'/%3E%3Cg%3E%3Canimate attributeName='opacity' values='1;1;0.2;1' keyTimes='0;0.55;0.75;1' dur='2.6s' begin='0s' repeatCount='indefinite'/%3E%3Ccircle cx='12.0' cy='11.1' r='6' fill='%23FFFFFF' opacity='.16'/%3E%3Cellipse cx='12.0' cy='11.1' rx='2.9' ry='3.5' fill='%23FFF3D6'/%3E%3Cellipse cx='11.1' cy='9.9' rx='0.8' ry='1.2' fill='%23fff' opacity='.6'/%3E%3C/g%3E%3Crect x='34.7' y='9.1' width='2.6' height='3' rx='.6' fill='%23F3DFA8'/%3E%3Cg%3E%3Canimate attributeName='opacity' values='1;1;0.2;1' keyTimes='0;0.55;0.75;1' dur='2.6s' begin='0.5s' repeatCount='indefinite'/%3E%3Ccircle cx='36.0' cy='14.9' r='6' fill='%23FFFFFF' opacity='.16'/%3E%3Cellipse cx='36.0' cy='14.9' rx='2.9' ry='3.5' fill='%23F2B84B'/%3E%3Cellipse cx='35.1' cy='13.7' rx='0.8' ry='1.2' fill='%23fff' opacity='.6'/%3E%3C/g%3E%3Crect x='58.7' y='10.4' width='2.6' height='3' rx='.6' fill='%23F3DFA8'/%3E%3Cg%3E%3Canimate attributeName='opacity' values='1;1;0.2;1' keyTimes='0;0.55;0.75;1' dur='2.6s' begin='1.0s' repeatCount='indefinite'/%3E%3Ccircle cx='60.0' cy='16.2' r='6' fill='%23FFFFFF' opacity='.16'/%3E%3Cellipse cx='60.0' cy='16.2' rx='2.9' ry='3.5' fill='%234DBA7F'/%3E%3Cellipse cx='59.1' cy='15.0' rx='0.8' ry='1.2' fill='%23fff' opacity='.6'/%3E%3C/g%3E%3Crect x='82.7' y='9.1' width='2.6' height='3' rx='.6' fill='%23F3DFA8'/%3E%3Cg%3E%3Canimate attributeName='opacity' values='1;1;0.2;1' keyTimes='0;0.55;0.75;1' dur='2.6s' begin='1.5s' repeatCount='indefinite'/%3E%3Ccircle cx='84.0' cy='14.9' r='6' fill='%23FFFFFF' opacity='.16'/%3E%3Cellipse cx='84.0' cy='14.9' rx='2.9' ry='3.5' fill='%23FFF3D6'/%3E%3Cellipse cx='83.1' cy='13.7' rx='0.8' ry='1.2' fill='%23fff' opacity='.6'/%3E%3C/g%3E%3Crect x='106.7' y='5.3' width='2.6' height='3' rx='.6' fill='%23F3DFA8'/%3E%3Cg%3E%3Canimate attributeName='opacity' values='1;1;0.2;1' keyTimes='0;0.55;0.75;1' dur='2.6s' begin='2.0s' repeatCount='indefinite'/%3E%3Ccircle cx='108.0' cy='11.1' r='6' fill='%23FFFFFF' opacity='.16'/%3E%3Cellipse cx='108.0' cy='11.1' rx='2.9' ry='3.5' fill='%23F2B84B'/%3E%3Cellipse cx='107.1' cy='9.9' rx='0.8' ry='1.2' fill='%23fff' opacity='.6'/%3E%3C/g%3E%3C/svg%3E");
    /* même guirlande sans clignotement (visiteurs qui préfèrent moins d'animations) */
    --garland-static: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22' viewBox='0 0 120 22'%3E%3Cpath d='M0 3Q60 19 120 3' fill='none' stroke='%23F3DFA8' stroke-width='1.3' stroke-linecap='round'/%3E%3Crect x='10.7' y='5.3' width='2.6' height='3' rx='.6' fill='%23F3DFA8'/%3E%3Cg%3E%3Ccircle cx='12.0' cy='11.1' r='6' fill='%23FFFFFF' opacity='.16'/%3E%3Cellipse cx='12.0' cy='11.1' rx='2.9' ry='3.5' fill='%23FFF3D6'/%3E%3Cellipse cx='11.1' cy='9.9' rx='0.8' ry='1.2' fill='%23fff' opacity='.6'/%3E%3C/g%3E%3Crect x='34.7' y='9.1' width='2.6' height='3' rx='.6' fill='%23F3DFA8'/%3E%3Cg%3E%3Ccircle cx='36.0' cy='14.9' r='6' fill='%23FFFFFF' opacity='.16'/%3E%3Cellipse cx='36.0' cy='14.9' rx='2.9' ry='3.5' fill='%23F2B84B'/%3E%3Cellipse cx='35.1' cy='13.7' rx='0.8' ry='1.2' fill='%23fff' opacity='.6'/%3E%3C/g%3E%3Crect x='58.7' y='10.4' width='2.6' height='3' rx='.6' fill='%23F3DFA8'/%3E%3Cg%3E%3Ccircle cx='60.0' cy='16.2' r='6' fill='%23FFFFFF' opacity='.16'/%3E%3Cellipse cx='60.0' cy='16.2' rx='2.9' ry='3.5' fill='%234DBA7F'/%3E%3Cellipse cx='59.1' cy='15.0' rx='0.8' ry='1.2' fill='%23fff' opacity='.6'/%3E%3C/g%3E%3Crect x='82.7' y='9.1' width='2.6' height='3' rx='.6' fill='%23F3DFA8'/%3E%3Cg%3E%3Ccircle cx='84.0' cy='14.9' r='6' fill='%23FFFFFF' opacity='.16'/%3E%3Cellipse cx='84.0' cy='14.9' rx='2.9' ry='3.5' fill='%23FFF3D6'/%3E%3Cellipse cx='83.1' cy='13.7' rx='0.8' ry='1.2' fill='%23fff' opacity='.6'/%3E%3C/g%3E%3Crect x='106.7' y='5.3' width='2.6' height='3' rx='.6' fill='%23F3DFA8'/%3E%3Cg%3E%3Ccircle cx='108.0' cy='11.1' r='6' fill='%23FFFFFF' opacity='.16'/%3E%3Cellipse cx='108.0' cy='11.1' rx='2.9' ry='3.5' fill='%23F2B84B'/%3E%3Cellipse cx='107.1' cy='9.9' rx='0.8' ry='1.2' fill='%23fff' opacity='.6'/%3E%3C/g%3E%3C/svg%3E");

    /* motif de fond de la page : sapins verts, cadeaux rouge et vert, boules de Noël — tuile SVG 520x520px, opacité 40 %
       (l'opacité se règle dans le SVG : attribut opacity='.4' du groupe <g>) */
    --xmas-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg opacity='0.4'%3E%3Cg transform='translate(95 225) rotate(0) scale(1.15)'%3E%3Crect x='-6' y='-14' width='12' height='16' rx='1.5' fill='%236B4A2B'/%3E%3Cpolygon points='-40,-10 40,-10 0,-54' fill='%2317472D'/%3E%3Cpolygon points='-33,-38 33,-38 0,-78' fill='%231F5C3A'/%3E%3Cpolygon points='-25,-64 25,-64 0,-102' fill='%232E7D4F'/%3E%3Cpolygon points='0.0,-113.0 1.9,-108.5 6.7,-108.2 3.0,-105.0 4.1,-100.3 0.0,-102.8 -4.1,-100.3 -3.0,-105.0 -6.7,-108.2 -1.9,-108.5' fill='%23D9A441'/%3E%3Ccircle cx='-15' cy='-24' r='3.4' fill='%23B3202E'/%3E%3Ccircle cx='17' cy='-20' r='3.4' fill='%23D9A441'/%3E%3Ccircle cx='-6' cy='-48' r='3.4' fill='%23D9A441'/%3E%3Ccircle cx='11' cy='-52' r='3.4' fill='%23B3202E'/%3E%3Ccircle cx='-4' cy='-76' r='3.4' fill='%23B3202E'/%3E%3Ccircle cx='6' cy='-84' r='3.4' fill='%23D9A441'/%3E%3C/g%3E%3Cg transform='translate(300 125) rotate(4)'%3E%3Crect x='-29.0' y='-42.1' width='58' height='42.1' rx='2' fill='%23B3202E'/%3E%3Crect x='-32.0' y='-54.0' width='64' height='14.0' rx='2' fill='%238A1520'/%3E%3Crect x='-5.8' y='-54.0' width='11.6' height='54.0' fill='%231F5C3A'/%3E%3Cellipse cx='-9' cy='-58.0' rx='10' ry='5.5' transform='rotate(-24 -9 -58.0)' fill='%231F5C3A'/%3E%3Cellipse cx='9' cy='-58.0' rx='10' ry='5.5' transform='rotate(24 9 -58.0)' fill='%231F5C3A'/%3E%3Ccircle cx='0' cy='-56.0' r='4' fill='%231F5C3A'/%3E%3C/g%3E%3Cg transform='translate(440 118)'%3E%3Cline x1='0' y1='-29' x2='0' y2='-48' stroke='%238A7A5A' stroke-width='1.3'/%3E%3Crect x='-5' y='-30' width='10' height='8' rx='1.8' fill='%23D9A441'/%3E%3Ccircle cx='0' cy='0' r='22' fill='%23B3202E'/%3E%3Cellipse cx='0' cy='2.6' rx='21.3' ry='5.7' fill='none' stroke='%23D9A441' stroke-width='2.2'/%3E%3Cellipse cx='-8.8' cy='-9.2' rx='4.4' ry='7.0' transform='rotate(35 -8.8 -9.2)' fill='%23fff' opacity='.55'/%3E%3C/g%3E%3Cg transform='translate(215 350)'%3E%3Cline x1='0' y1='-27' x2='0' y2='-46' stroke='%238A7A5A' stroke-width='1.3'/%3E%3Crect x='-5' y='-28' width='10' height='8' rx='1.8' fill='%23D9A441'/%3E%3Ccircle cx='0' cy='0' r='20' fill='%231F5C3A'/%3E%3Cellipse cx='0' cy='2.4' rx='19.4' ry='5.2' fill='none' stroke='%23D9A441' stroke-width='2.2'/%3E%3Cellipse cx='-8.0' cy='-8.4' rx='4.0' ry='6.4' transform='rotate(35 -8.0 -8.4)' fill='%23fff' opacity='.55'/%3E%3C/g%3E%3Cg transform='translate(78 445) rotate(-9)'%3E%3Crect x='-26.0' y='-39.0' width='52' height='39.0' rx='2' fill='%231F5C3A'/%3E%3Crect x='-29.0' y='-50.0' width='58' height='13.0' rx='2' fill='%2317472D'/%3E%3Crect x='-5.2' y='-50.0' width='10.4' height='50.0' fill='%23B3202E'/%3E%3Cellipse cx='-9' cy='-54.0' rx='10' ry='5.5' transform='rotate(-24 -9 -54.0)' fill='%23B3202E'/%3E%3Cellipse cx='9' cy='-54.0' rx='10' ry='5.5' transform='rotate(24 9 -54.0)' fill='%23B3202E'/%3E%3Ccircle cx='0' cy='-52.0' r='4' fill='%23B3202E'/%3E%3C/g%3E%3Cg transform='translate(385 335) rotate(3) scale(0.82)'%3E%3Crect x='-6' y='-14' width='12' height='16' rx='1.5' fill='%236B4A2B'/%3E%3Cpolygon points='-40,-10 40,-10 0,-54' fill='%2317472D'/%3E%3Cpolygon points='-33,-38 33,-38 0,-78' fill='%231F5C3A'/%3E%3Cpolygon points='-25,-64 25,-64 0,-102' fill='%232E7D4F'/%3E%3Cpolygon points='0.0,-113.0 1.9,-108.5 6.7,-108.2 3.0,-105.0 4.1,-100.3 0.0,-102.8 -4.1,-100.3 -3.0,-105.0 -6.7,-108.2 -1.9,-108.5' fill='%23D9A441'/%3E%3Ccircle cx='-15' cy='-24' r='3.4' fill='%23B3202E'/%3E%3Ccircle cx='17' cy='-20' r='3.4' fill='%23D9A441'/%3E%3Ccircle cx='-6' cy='-48' r='3.4' fill='%23D9A441'/%3E%3Ccircle cx='11' cy='-52' r='3.4' fill='%23B3202E'/%3E%3Ccircle cx='-4' cy='-76' r='3.4' fill='%23B3202E'/%3E%3Ccircle cx='6' cy='-84' r='3.4' fill='%23D9A441'/%3E%3C/g%3E%3Cg transform='translate(465 470)'%3E%3Cline x1='0' y1='-26' x2='0' y2='-45' stroke='%238A7A5A' stroke-width='1.3'/%3E%3Crect x='-5' y='-27' width='10' height='8' rx='1.8' fill='%23D9A441'/%3E%3Ccircle cx='0' cy='0' r='19' fill='%23D9A441'/%3E%3Cellipse cx='0' cy='2.3' rx='18.4' ry='4.9' fill='none' stroke='%23B3202E' stroke-width='2.2'/%3E%3Cellipse cx='-7.6' cy='-8.0' rx='3.8' ry='6.1' transform='rotate(35 -7.6 -8.0)' fill='%23fff' opacity='.55'/%3E%3C/g%3E%3Cg transform='translate(255 478)'%3E%3Cline x1='0' y1='-21' x2='0' y2='-40' stroke='%238A7A5A' stroke-width='1.3'/%3E%3Crect x='-5' y='-22' width='10' height='8' rx='1.8' fill='%23D9A441'/%3E%3Ccircle cx='0' cy='0' r='14' fill='%23B3202E'/%3E%3Cellipse cx='0' cy='1.7' rx='13.6' ry='3.6' fill='none' stroke='%23D9A441' stroke-width='2.2'/%3E%3Cellipse cx='-5.6' cy='-5.9' rx='2.8' ry='4.5' transform='rotate(35 -5.6 -5.9)' fill='%23fff' opacity='.55'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");

    --pk-font-display: 'Playfair Display', serif;
    --pk-font-ui: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

body {
    line-height: 1.5;
    background: var(--pk-blanc-creme) var(--xmas-bg) repeat left top;
    font-family: var(--pk-font-ui);
    font-size: 13px;
    color: var(--pk-texte);
    margin: 0;
}

a { color: var(--pk-rouge); text-decoration: none; }
a:hover { color: var(--pk-noir); }

strong, b {
    color: var(--pk-rouge);
    border-bottom: none;
}

h1 { line-height: 120%; color: var(--pk-noir); margin: 0; font-family: var(--pk-font-display); }
h2 { padding-left: 0; font-size: 13px; margin: 0; font-family: var(--pk-font-ui); }
h3 { font-weight: normal; font-size: 11px; margin: 0; }

p { font-family: var(--pk-font-ui); font-size: 12px; margin: 2px 0; }

ul { list-style-type: none; margin-left: 5px; padding: 0; }
li { margin: 4px 0 4px 10px; padding: 0; list-style-type: none; }


/* ------- TOPBAR (bandeau titre + réseaux sociaux) ------- */
.topbar {
    width: 100%;
    background: var(--pk-blanc-creme);
}

.topbar-inner {
    width: 1050px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.topbar-title {
    display: inline-block;
    background: var(--pk-rouge);
    color: #ffffff;
    font-family: var(--pk-font-ui);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding: 6px 10px;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pk-noir);
    transition: color 0.3s ease-in-out;
}

.topbar-social a:hover { color: var(--pk-rouge); }

.topbar-social svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.topbar-sep {
    color: var(--pk-argent);
    font-size: 13px;
}

/* ------- HERO BANNER ------- */
.hero-banner {
    width: 100%;
    /* header 2100 x 629 : la hauteur suit le ratio de l'image (aucun rognage jusqu'à 2100px de large),
       plafonnée à 629px sur les très grands écrans */
    aspect-ratio: 2100 / 629;
    max-height: 629px;
    position: relative;
    /* le texte superposé est centré horizontalement et ancré en bas ; pour le déplacer, voir .hero-text plus bas */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 100;
    background: var(--pk-noir) url("imgs/header.png") center top no-repeat;
    background-size: cover;
}

/* texte superposé au header ("MERRY XMAS WITH BH-G.COM")
   position : modifier align-items / justify-content de .hero-banner
   (flex-start = haut / gauche, center = milieu, flex-end = bas / droite)
   hauteur : le padding-bottom de .hero-text règle la distance avec le bas du header
   (plus la valeur est petite, plus le texte descend ; garder au moins ~20px à cause du menu qui chevauche légèrement le bas du header) */
.hero-text {
    text-align: center;
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6), 0 0 2px rgba(0, 0, 0, 0.5);
    padding: 0 20px clamp(22px, 2.2vw, 34px);
    pointer-events: none;
}

.hero-text-main {
    display: block;
    font-family: var(--pk-font-display);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(32px, 5vw, 76px);
    line-height: 1.1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-text-sub {
    display: block;
    margin-top: 10px;
    font-family: var(--pk-font-ui);
    font-weight: 600;
    font-size: clamp(12px, 1.5vw, 22px);
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--pk-or);
}

/* séparateur fin en dégradé vert / or / rouge, sous le header */
.hero-separator {
    width: 100%;
    height: 6px;
    background: linear-gradient(
        90deg,
        var(--pk-vert) 0%,
        var(--pk-or) 30%,
        var(--pk-rouge) 50%,
        var(--pk-or) 70%,
        var(--pk-vert) 100%
    );
}

/* ------- INTRO TEXT (texte de présentation, sans fond ni contour) ------- */
.intro-text {
    width: 1050px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.intro-text-content {
    flex: 1;
}

/* cercle du gif : même dégradé rouge / vert que le cadre des vignettes de la galerie */
.intro-gif-frame {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--pk-rouge), var(--pk-vert));
}

.intro-gif {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* bloc "project" : deux petites images + une ligne d'info sous chacune */
.intro-project-block {
    flex-shrink: 0;
    display: flex;
    gap: 12px;
}

.intro-project-item {
    width: 140px;
    text-align: center;
}

.intro-project-img {
    display: block;
    width: 140px;
    height: 90px;
    border-radius: 6px;
    border: 2px solid var(--pk-vert);
    object-fit: cover;
}

.intro-project-caption {
    font-family: var(--pk-font-ui);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--pk-texte);
    margin: 6px 0 0;
}

.intro-text p {
    font-size: 13px;
    line-height: 2;
    color: var(--pk-texte);
    text-align: justify;
}

.intro-dropcap {
    float: left;
    font-family: var(--pk-font-display);
    font-style: italic;
    font-weight: 700;
    font-size: 64px;
    line-height: 0.75;
    color: var(--pk-or);
    margin-right: 8px;
    margin-top: 4px;
}

.site-badge {
    display: inline-block;
    background: var(--pk-noir);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 2px 6px;
}

.welcome-col { flex: 1; }

.welcome-col h2 {
    display: inline-block;
    font-family: var(--pk-font-ui);
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--pk-noir);
    background: linear-gradient(180deg, transparent 62%, var(--pk-or) 62%);
    padding: 0 2px;
    margin-bottom: 12px !important;
}

.welcome-col p {
    font-size: 12.5px;
    line-height: 1.9;
    color: var(--pk-noir);
}

.welcome-col p strong {
    color: var(--pk-noir);
    font-weight: 700;
}

.projects-list { margin: 0; padding: 0; }
.projects-list li {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 12px;
    color: var(--pk-texte);
}

.project-badge {
    display: inline-block;
    background: var(--pk-noir);
    color: var(--pk-blanc-creme);
    border: 1px solid var(--pk-or);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 3px;
    margin-right: 6px;
}


/* --- principal ------- */
#conteudo {
    position: relative;
    width: 1050px;
    margin: 0 auto;
}

#main {
    margin-bottom: 0;
    float: left;
    width: 1050px;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0;
    position: relative;
}

#sidebar { display: none; }


/* ------- MENU ------- */
.menutopo {
    font-size: 0;
    height: auto;
    width: 1150px;
    margin: -12px auto 24px;
    position: relative;
    background: var(--pk-rouge);
    border: none;
    border-radius: 4px;
    text-align: center;
    white-space: nowrap;
    z-index: 1000;
    padding: 18px 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.menutopo a {
    font-family: var(--pk-font-ui);
    font-weight: 600;
    display: inline-block;
    border: none;
    background: transparent;
    font-size: 11px;
    color: #ffffff;
    border-radius: 0;
    margin: 0 9px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding: 0;
    transition: color 0.3s ease-in-out;
}

.menutopo a:hover {
    color: var(--pk-or);
    background: transparent;
    border-color: transparent;
}


/* ------- corpo galeria ---- */
.maintable {
    background: var(--pk-blanc-creme);
    width: 1050px;
    margin: 0 0 10px;
    padding: 0;
    text-align: justify;
}

/* ------- BANDEAUX GLAM (noel2026) --------------------------------
   Le sélecteur [colspan] cible uniquement les bandeaux pleine largeur
   (ex: "Photos aléatoires", "Derniers ajouts") et laisse les petits
   en-têtes de colonnes ("Catégories" / "Albums" / "Fichiers") avec un
   style plus discret plus bas.
---------------------------------------------------------------------- */
.tableh1[colspan] {
    position: relative;
    overflow: hidden;
    text-align: center;
    background:
        linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)),
        url("imgs/section-bg.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    padding: 20px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.tableh1[colspan] img.icon {
    display: inline-block !important;
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 10px;
    opacity: 0.9;
}

/* petits en-têtes de colonnes (Catégories / Albums / Fichiers) : même photo, sur chaque cellule */
.tableh1:not([colspan]) {
    background:
        linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)),
        url("imgs/section-bg.jpg");
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.anunchasds {
    background: var(--pk-blanc-creme);
    border: 1px solid var(--pk-rouge);
    display: block;
    margin-bottom: 20px;
    padding: 10px;
    height: 90px;
    text-align: center;
}


/* ------- LINK ALBUM DENTRO ---- */
.alblink a {
    text-decoration: none;
    color: var(--pk-noir);
    font-size: 11px;
    font-family: var(--pk-font-ui);
    font-weight: 700;
}
.alblink a:hover { color: var(--pk-rouge); }


.sdsmdsmds {
    letter-spacing: 0.5px;
    font-family: var(--pk-font-ui);
    font-weight: 500;
    text-align: center;
    border: 1px solid var(--pk-rouge);
    background: var(--pk-blanc-creme);
    text-transform: uppercase;
    font-size: 10px;
    color: var(--pk-noir);
    padding: 20px;
}


/* ------- BARRE AVANT LES PHOTOS ---- */
.tableh1 {
    letter-spacing: 1px;
    font-family: var(--pk-font-ui);
    font-weight: 700;
    font-style: normal;
    background: var(--pk-blanc-creme);
    text-transform: uppercase;
    font-size: 13px;
    color: #ffffff;
    padding: 18px 20px;
}

.tableb {
    background: transparent;
    color: var(--pk-texte);
    line-height: 22px;
}

.tableh1 img { display: none; }

.tableh1_compact {
    font-family: var(--pk-font-ui);
    text-transform: uppercase;
    font-size: 10px;
    color: var(--pk-rouge);
    letter-spacing: 1px;
    padding: 10px;
}

.pic_title { padding: 10px; font-size: 10px; }
.pic_caption {
    padding: 20px;
    display: block;
    margin: 0;
    font-weight: 400;
    font-size: 14px;
    font-family: var(--pk-font-display);
    font-style: italic;
    color: var(--pk-noir);
}


/* ------- ops 2 ---- */
.tableh2 {
    font-weight: 600;
    font-family: var(--pk-font-ui);
    text-transform: uppercase;
    font-size: 10px;
    color: var(--pk-rouge);
    letter-spacing: 1px;
    padding: 20px;
    transition: all 0.3s ease-in-out;
}


/* ------- ops 3 ---- */
.tableb { padding: 0 10px; }
.tableb_compact { padding: 0; overflow: hidden; }
.tableb_alternate { overflow: hidden; margin-bottom: 10px; padding: 0; }
.tablef { padding: 0 10px; overflow: hidden; }
.tableb_alternate .tableb_alternate { border: none; }


/* ------- CATEGORIES ---- */
.catrow_noalb,
.catrow {
    overflow: hidden;
    color: var(--pk-noir);
    line-height: 22px;
    border-bottom: 1px solid var(--pk-rouge-clair);
    font-family: var(--pk-font-ui);
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    padding: 14px 0;
    transition: all ease-out 0.3s;
}

.catrow_noalb img,
.catrow img {
    border-radius: 4px;
    width: 60px;
    height: 60px;
    float: left;
    margin-right: 20px;
    object-fit: cover;
}

.catlink {
    margin-bottom: 0;
    font-style: normal;
    padding: 0;
    margin: 0 0 0 10px;
    display: block;
}

.catlink a {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-family: var(--pk-font-ui);
    font-weight: 700;
    text-transform: uppercase;
    font-style: italic;
    font-size: 15px;
    color: #ffffff;
    letter-spacing: 0.3px;
    text-decoration: none;
    padding: 2px 4px;
    transition: color 0.3s ease-in-out;
}

/* double surlignage "fait main" : deux rectangles décalés, inclinés (vert au fond, rouge au premier plan) */
.catlink a::before,
.catlink a::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 2px;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

.catlink a::before {
    background: var(--pk-vert);
    top: 12%;
    bottom: 8%;
    left: -8%;
    right: 14%;
    transform: rotate(-1.5deg);
}

.catlink a::after {
    background: var(--pk-rouge);
    top: 28%;
    bottom: -8%;
    left: 10%;
    right: -6%;
    transform: rotate(1.2deg);
}

.catrow_noalb:hover .catlink a,
.catrow:hover .catlink a { color: var(--pk-or); }

.buttonlist a { color: var(--pk-noir); display: inline-block; }
.buttonlist a:hover { color: var(--pk-rouge); }


/* ------- outros ---- */
.album_stat {
    padding: 6px;
    color: var(--pk-texte);
    line-height: 22px;
    display: block;
    letter-spacing: 0.5px;
    font-family: var(--pk-font-ui);
    font-style: italic;
    font-size: 12px;
    margin: 30px 20px -5px;
}

.thumb_filename { font-size: 10px; display: block; }


/* ------- TITRE ALBUM (overlay sur vignette) ---- */
.thumb_title_title {
    position: relative;
    z-index: 100;
    font-weight: 600;
    font-family: var(--pk-font-ui);
    font-size: 9px;
    letter-spacing: 1px;
    width: 110px;
    background: none;
    color: var(--pk-noir);
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    padding: 10px;
    line-height: 12px;
    display: block;
    transition: all ease-out 0.3s;
}

.thumbnails:hover .thumb_title_title {
    background: none;
    color: var(--pk-noir);
}



.thumb_resolution {
    position: absolute;
    width: 140px;
    top: 10px; left: 10px;
    background: rgba(26, 26, 26, 0.7);
    color: var(--pk-blanc-creme);
    padding: 10px 5px;
}

.thumb_caption {
    background: var(--pk-blanc-creme);
    text-transform: uppercase;
    color: var(--pk-rouge);
    margin-top: 0;
    width: 110px;
    font-family: var(--pk-font-ui);
    font-weight: 500;
    font-size: 10px;
    padding: 10px;
}



/* encadrés sous les vignettes : nombre de vues + date, en jaune doré, avec icônes
   (même principe que le thème evanrachelwood : deux pastilles centrées, de largeur adaptée au texte) */
.thumb_title_views,
.thumb_caption_ctime,
.thumb_caption_mtime {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 6px auto 0;
    padding: 6px 14px;
    background: var(--pk-or-clair);
    color: var(--pk-noir);
    border-radius: 4px;
    font-family: var(--pk-font-ui);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* icônes : oeil (vues) et document (date), colorées via un masque */
.thumb_title_views::before,
.thumb_caption_ctime::before,
.thumb_caption_mtime::before {
    content: "";
    flex-shrink: 0;
    width: 13px;
    height: 13px;
    background: var(--pk-or-fonce);
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

.thumb_title_views { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.thumb_caption_ctime,
.thumb_caption_mtime { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpolyline points='13 2 13 9 20 9'/%3E%3C/svg%3E"); }


.thumbnails .image {
    margin: 10px 0 -3px;
    height: auto;
    opacity: 1;
    border: 3px solid var(--pk-rouge);
    box-sizing: border-box;
    transition: all ease-out 0.3s;
}

.thumbnails:hover .image {
    opacity: 0.85;
    filter: none;
}

.albums .image {
    margin: 10px;
    padding: 0;
    border: 3px solid var(--pk-rouge);
    border-radius: 4px;
    background: none;
    transition: all ease-out 0.3s;
}

.tableb_alternate .image {
    margin: 10px;
    float: left;
    padding: 0;
    border: 3px solid var(--pk-rouge);
    background: none;
    transition: all ease-out 0.3s;
}

.imageborder { margin: 0; }

.thumb_caption_rating { display: none; }

.thumbnails {
    text-align: center;
    position: relative;
    margin-top: 5px;
    padding: 10px;
    background: var(--pk-blanc-creme);
    transition: all 0.3s ease-in-out;
}

/* remplace le tile.gif "pellicule" par défaut de Coppermine (posé en style inline) par une bande noire épurée */
.filmstrip_background {
    background: none !important;
    border: 0 !important;
}
/* les petits motifs de pellicule (images de fond des cellules internes) sont masqués */
.filmstrip_background td,
.filmstrip_background tr,
.filmstrip_background table {
    background: none !important;
}
/* petites icônes de pellicule (images tile.gif de Coppermine) au-dessus et en dessous de la bande : masquées */
img[src*="tile.gif"],
img[src*="tile."] {
    display: none !important;
}
td[style*="tile.gif"],
td[background*="tile.gif"] {
    background: none !important;
}
/* lignes du haut et du bas de la pellicule (cellules filmstrip_background qui ne contiennent que tile.gif) : supprimées */
#filmstrip td.filmstrip_background:not(.thumbnails) {
    display: none !important;
}
/* vignettes de la bande : cadre rouge, comme sur le reste du site */
#filmstrip td.thumbnails td:not(.prev_strip):not(.next_strip) img {
    border: 2px solid var(--pk-rouge);
    box-sizing: border-box;
    transition: border-color 0.3s ease-in-out;
}
#filmstrip td.thumbnails td:not(.prev_strip):not(.next_strip) img:hover {
    border-color: var(--pk-or);
}

/* flèches précédente / suivante de la bande de vignettes : rouge canneberge #B3202E (au lieu du bleu par défaut) */
.prev_strip img,
.next_strip img {
    filter: brightness(0) saturate(100%) invert(73%) sepia(70%) saturate(7500%) hue-rotate(328deg) brightness(67%) contrast(119%);
    transition: filter 0.3s ease-in-out;
}
/* au survol : noir */
.prev_strip a:hover img,
.next_strip a:hover img {
    filter: brightness(0) saturate(100%);
}

.filmstrip_background .thumbnails {
    text-align: center;
    width: 160px;
    background: rgba(26, 26, 26, 0.15);
    position: relative;
    margin-top: 5px;
    padding-bottom: 12px;
    transition: all 0.3s ease-in-out;
}


/* ------- tamanho do midia (page image seule) ---- */
.display_media {
    background: var(--pk-blanc-creme);
    text-align: center;
    padding: 0;
}

.display_media .image {
    margin: 10px;
    background: none;
    padding: 0;
    transition: opacity ease-out 0.3s;
}


/* ------- statistiques ---- */
.tableh1 .statlink {
    padding: 0;
    font-family: var(--pk-font-ui);
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0;
    color: #ffffff;
}

.tableh1 .statlink a {
    text-decoration: none;
    font-size: 10px;
    margin-bottom: 1px;
    text-transform: uppercase;
    color: var(--pk-or);
    display: inline-block;
    font-family: var(--pk-font-ui);
    font-weight: 600;
}

.tableh1 .statlink a:hover { color: #ffffff; }

/* liens et chiffres (balises <b> / <strong>) à l'intérieur des bandeaux verts */
.tableh1 a { color: #ffffff; }
.tableh1 a:hover { color: var(--pk-or); }
.tableh1 strong,
.tableh1 b { color: var(--pk-or); }


.user_thumb_infobox { margin: 1px 0; }
.user_thumb_infobox th { font-weight: bold; font-size: 100%; margin: 1px 0; text-align: center; }
.user_thumb_infobox td { font-size: 85%; margin: 1px 0; text-align: center; }
.user_thumb_infobox a { text-decoration: none; color: var(--pk-noir); }
.user_thumb_infobox a:hover { color: var(--pk-rouge); text-decoration: none; }

.sortorder_cell { display: none; }
.sortorder_options { display: none; }


/* ------- navigation d'images ---- */
.navmenu {
    background: var(--pk-blanc-creme);
    font-weight: 400;
    font-family: var(--pk-font-ui);
    text-transform: uppercase;
    font-size: 10px;
    color: var(--pk-texte);
    letter-spacing: 1px;
    padding: 10px;
}

.navmenu a {
    font-weight: 500;
    font-family: var(--pk-font-ui);
    text-transform: uppercase;
    font-size: 10px;
    color: var(--pk-noir);
    letter-spacing: 1px;
    padding: 0 5px;
}

.navmenu a:hover { color: var(--pk-rouge); }
.navmenu a img,
.navmenu a img:hover { border: 0; padding: 0; }


/* ------- commentaires ---- */
.comment_date { color: var(--pk-argent); font-size: 90%; vertical-align: middle; }


/* ------- image table (EXIF/infos) ---- */
.img_caption_table {
    border: none;
    border-radius: 4px;
    background: var(--pk-fond-gris);
    width: 100%;
    margin: 0;
}

.img_caption_table th {
    background: var(--pk-fond-gris);
    border-radius: 4px;
    font-size: 100%;
    color: var(--pk-noir);
    padding: 4px 10px;
}

.img_caption_table td {
    background: var(--pk-fond-gris);
    padding: 6px 10px;
    border-radius: 4px;
    border-top: 1px solid var(--pk-blanc-creme);
    white-space: normal;
}

.debug_text {
    background: var(--pk-fond-gris);
    padding: 6px;
    border-radius: 4px;
    width: 100%;
    margin: 0;
}

.clickable_option { cursor: default; }

.listbox_lang {
    color: var(--pk-texte);
    background: var(--pk-fond-gris);
    font-size: 80%;
    font-family: var(--pk-font-ui);
    vertical-align: middle;
}


/* ------- formulaires ---- */
.textinput {
    font-family: var(--pk-font-ui);
    font-size: 100%;
    margin-top: 10px;
    background: var(--pk-blanc-creme);
    border: 1px solid var(--pk-rouge);
    padding: 0 5px;
}

.listbox {
    font-family: var(--pk-font-ui);
    font-size: 100%;
    border: 1px solid var(--pk-noir);
    vertical-align: middle;
}

.button {
    font-family: var(--pk-font-ui);
    font-size: 100%;
    border: 1px solid var(--pk-rouge);
    background: var(--pk-rouge);
    color: var(--pk-blanc-creme);
    padding: 6px 14px;
    border-radius: 3px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.button:hover { background: var(--pk-vert); border-color: var(--pk-vert); }

.comment_button {
    font-family: var(--pk-font-ui);
    font-size: 100%;
    border: 1px solid var(--pk-rouge);
    padding: 0 3px;
}

.radio, .checkbox {
    font-family: var(--pk-font-ui);
    font-size: 100%;
    vertical-align: middle;
}


/* ------- admin menu ---- */
.admin_menu { display: inline-block; }
.admin_menu_wrapper {
    display: block;
    background: var(--pk-rouge);
    padding: 12px 16px;
    border-radius: 6px;
}
.admin_menu_wrapper a {
    color: #ffffff;
    background: transparent;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
    position: relative;
    font-family: var(--pk-font-ui);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.3px;
    padding: 6px 14px;
    margin: 0 4px 6px;
    transition: color 0.3s ease-in-out;
}
.admin_menu_wrapper a:hover { color: var(--pk-or); }
.admin_menu_wrapper img { display: none; }

/* recoloration des icônes de navigation par défaut de Coppermine (flèches image suivante/précédente, miniatures,
   diaporama, infos...) en rouge canneberge #B3202E.
   Le filtre part d'une icône noire (brightness(0)) et la teinte en rouge ; pour revenir au noir : filter: brightness(0) saturate(100%); */
.navmenu img {
    filter: brightness(0) saturate(100%) invert(73%) sepia(70%) saturate(7500%) hue-rotate(328deg) brightness(67%) contrast(119%);
}


/* "Powered by Coppermine" — généré par le core, style inline à surcharger */
.footer {
    font-size: 8px !important;
    padding: 2px !important;
}
.footer a { color: var(--pk-rouge); }

/* ==========================================================
   FOOTER — noel2026
   ========================================================== */
#footer-bandeau {
    width: 100%;
    background: linear-gradient(135deg, var(--pk-rouge) 0%, var(--pk-rouge-fonce) 100%);
    border-top: 4px solid var(--pk-or);
    margin-top: 20px;
}

.footer-inner {
    max-width: 1050px;
    margin: 0 auto;
    padding: 40px 20px 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 24px;
}

.footer-brand-name {
    font-family: var(--pk-font-ui);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 14px;
}

.footer-affiliates {
    display: flex;
    gap: 10px;
}

.affiliate-card {
    display: block;
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: border-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.affiliate-card:hover {
    border-color: var(--pk-or);
    transform: translateY(-2px);
}

.affiliate-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.affiliate-card-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    border-style: dashed;
    background: rgba(255, 255, 255, 0.08);
    font-family: var(--pk-font-display);
    font-weight: 700;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-family: var(--pk-font-ui);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 14px;
}

.footer-col-disclaimer {
    max-width: 340px;
}

.footer-disclaimer-text {
    font-family: var(--pk-font-ui);
    font-weight: 400;
    font-size: 11px;
    line-height: 1.7;
    text-align: justify;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.footer-disclaimer-text a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-divider {
    width: 100%;
    height: 22px;
    background: var(--garland) repeat-x left center;   /* guirlande à la place du trait fin */
    margin-bottom: 14px;
}

@media (prefers-reduced-motion: reduce) {
    .footer-divider { background-image: var(--garland-static); }
}

.footer-bottom {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.footer-copyright {
    font-family: var(--pk-font-ui);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-align: center;
    margin: 0;
}


/* ------- responsive fallback (desktop-first, 1050px fixe comme HQDiesel-Paris) ---- */
@media screen and (max-width: 1080px) {
    #conteudo, .maintable, #main { width: 100%; }
    .footer-inner { padding: 18px 20px; }
}
