/*
Theme Name: Froncles Quotidien
Author: Froncles.com
Description: Portail privé et indépendant du quotidien en France.
Version: 3.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: froncles-quotidien
*/
:root{--ink:#183d39;--muted:#6b7873;--paper:#f5f5ee;--line:#e2e6df;--accent:#d9ef85;--white:#fff;--radius:20px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 'Segoe UI',Arial,sans-serif}button,input,select{font:inherit}button,a,input{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #78973b;outline-offset:4px}button{color:inherit}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.shell{max-width:1480px;margin:auto;padding:0 48px}.topbar{position:sticky;top:0;z-index:20;background:#f5f5eef5;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header-inner{display:flex;align-items:center;justify-content:space-between;height:91px;gap:30px}.brand{font-size:31px;letter-spacing:-1.8px;font-weight:800;line-height:1}.brand b{color:#8cac40}.brand small{display:block;font-size:10px;letter-spacing:1.6px;text-transform:uppercase;font-weight:600;margin-top:10px;color:var(--muted)}nav{display:flex;gap:29px;font-size:14px}nav a:hover,nav a.active{color:#46764e}nav a.active{font-weight:700}.pill{display:inline-flex;align-items:center;gap:9px;border:1px solid var(--line);padding:10px 16px;border-radius:99px;background:white;font-size:13px;font-weight:600}.datebar{display:flex;justify-content:space-between;padding-top:30px;color:var(--muted);font-size:12px}.status{display:flex;align-items:center;gap:7px}.dot{width:7px;height:7px;background:#87a950;border-radius:50%}.intro{display:flex;justify-content:space-between;align-items:flex-end;padding:23px 0 31px;gap:20px}h1{font-size:clamp(32px,3.5vw,51px);line-height:1.14;letter-spacing:-2px;margin:0 0 13px;font-weight:650}h1 em{font-family:Georgia,serif;font-weight:400}p{margin:0}.intro p{color:var(--muted)}.searchbox{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);padding:13px 16px;border-radius:12px;width:330px}.searchbox input{border:0;outline:0;background:transparent;min-width:0;width:100%;font-size:13px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 318px;gap:24px}.leftcol,.rightcol{display:flex;flex-direction:column;gap:24px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:25px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:10px}h2{font-size:19px;letter-spacing:-.45px;margin:0;font-weight:650}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.7px;font-weight:700}.subtle-link{font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:5px}.subtle-link svg{width:15px;height:15px}.hero-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:20px}.weather{background:var(--ink);color:#fff;position:relative;overflow:hidden;min-height:250px}.weather:after{content:'';position:absolute;width:190px;height:190px;border:1px solid #ffffff16;border-radius:50%;right:-75px;top:-70px}.weather .eyebrow{color:#c4d2c6}.weather-top{display:flex;justify-content:space-between;align-items:center}.weather-main{display:flex;align-items:center;justify-content:space-between;padding:22px 0 14px}.temperature{font-size:64px;line-height:1;letter-spacing:-4px;font-weight:300}.weather-icon svg{width:65px;height:65px;color:var(--accent);stroke-width:1.2}.weather-label{font-size:13px;margin-top:9px;color:#d4dfd9}.weather-stats{border-top:1px solid #ffffff24;padding-top:15px;display:flex;justify-content:space-between;font-size:12px;color:#d4dfd9}.source{font-size:10px;color:var(--muted);margin-top:12px}.weather .source{color:#b8cbc2}.weather a{text-decoration:underline;text-underline-offset:3px}.today{background:#e9edda;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.today h2{font-size:26px;line-height:1.2;margin:13px 0 11px;max-width:220px}.today p{font-size:13px;color:#596d58;max-width:230px}.round-link{border:1px solid #bfcab3;border-radius:50%;width:35px;height:35px;display:flex;align-items:center;justify-content:center;margin-top:18px;background:transparent}.today-bottom{display:flex;align-items:center;justify-content:space-between}.today-bottom span{font-size:11px;color:#596d58}.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.service{border:1px solid var(--line);border-radius:13px;padding:18px 12px 15px;display:flex;flex-direction:column;align-items:flex-start;gap:11px;position:relative;transition:.2s}.service:hover{background:#f7f9ef;transform:translateY(-2px);border-color:#becba7}.service strong{font-size:13px}.service small{font-size:10px;color:var(--muted)}.iconbox{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#f0f3e6}.iconbox.blue{background:#eaf0f8;color:#54769a}.iconbox.pink{background:#f8eae4;color:#b17758}.iconbox.lilac{background:#efebf5;color:#8570a0}.service svg.arrow{position:absolute;right:11px;top:13px;width:12px;height:12px;color:#8a958d}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.tab{border:1px solid var(--line);background:white;border-radius:99px;padding:7px 13px;font-size:12px}.tab.active{background:var(--ink);border-color:var(--ink);color:white}.resource-list{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.resource{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);min-width:0}.resource>a{flex:1;min-width:0}.resource strong{display:block;font-size:13px}.resource small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.resource .iconbox{width:35px;height:35px;flex-shrink:0}.star{border:0;background:none;color:#9ba59c;padding:6px;display:grid;place-items:center}.star svg{width:17px;height:17px}.star.saved{color:#8c9b3a}.star.saved svg{fill:#d9ef85}.empty{color:var(--muted);font-size:13px;padding:15px 0}.mobility{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.mobility a{border:1px solid var(--line);border-radius:13px;padding:17px;display:flex;flex-direction:column;gap:8px}.mobility a:hover{background:#f8f9f3}.mobility strong{font-size:13px}.mobility p{font-size:11px;color:var(--muted)}.mobility svg{color:#66854c}.rightcol .card{padding:22px}.location-box{display:flex;align-items:center;gap:10px}.location-box .iconbox{background:#eaf0e2}.location-box strong{font-size:16px}.location-box small{display:block;color:var(--muted);font-size:11px}.location-box button{margin-left:auto;background:none;border:0;padding:6px}.location-box button svg{width:17px;height:17px}.nearby{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.nearby a{font-size:11px;padding:12px 8px;background:#f6f7f1;border-radius:10px;display:flex;gap:7px;align-items:center}.nearby svg{width:17px;height:17px}.saved-list a{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding:10px 0;border-bottom:1px solid var(--line)}.saved-list svg{width:14px;height:14px;color:var(--muted)}.small-label{font-size:10px;color:var(--muted);font-weight:400}.task-form{display:flex;border:1px solid var(--line);border-radius:9px;padding:6px;gap:5px;margin-top:15px}.task-form input{min-width:0;width:100%;border:0;padding:4px 7px;outline:none;font-size:12px}.task-form button{background:var(--ink);color:white;border:0;border-radius:6px;width:29px;flex-shrink:0}.task-form svg{width:16px;height:16px}.task{display:flex;gap:9px;align-items:center;font-size:12px;padding:10px 0;border-bottom:1px solid var(--line)}.task label{display:flex;gap:8px;align-items:center;flex:1;overflow-wrap:anywhere}.task input{accent-color:var(--ink)}.task.done label span{text-decoration:line-through;color:var(--muted)}.task button{background:none;border:0;color:var(--muted)}.task button svg{width:13px;height:13px}.note{font-size:10px;color:var(--muted);margin-top:12px}.weekend{background:#eee9df}.weekend .iconbox{background:#fff8ed;margin-bottom:17px}.weekend h2{font-family:Georgia,serif;font-size:27px;font-weight:400;line-height:1.2;margin-bottom:12px}.weekend p{font-size:12px;color:#776f60}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--ink);color:white;border:0;border-radius:9px;padding:12px 16px;font-size:12px;font-weight:600}.weekend .button{margin-top:20px;width:100%}.button svg{width:16px;height:16px}.bottom-strip{display:flex;align-items:center;justify-content:space-between;margin:28px 0;background:#e9eddf;border:1px solid #dce3ce;border-radius:14px;padding:20px 25px;gap:20px}.bottom-strip p{font-size:12px;color:var(--muted)}.bottom-strip strong{font-size:14px}.bottom-strip .subtle-link{color:var(--ink);white-space:nowrap}footer{padding:28px 0 30px;border-top:1px solid var(--line);margin-top:15px}.footer-top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:21px}.footer-links{display:flex;gap:20px;font-size:11px}.footer-links button{border:0;background:none;padding:0;font-size:11px}.disclaimer{font-size:10px;color:var(--muted);line-height:1.8;max-width:900px}.disclaimer a{text-decoration:underline}.copyright{font-size:10px;color:var(--muted);margin-top:12px}.dialog{border:1px solid var(--line);border-radius:20px;padding:30px;width:min(540px,calc(100% - 30px));max-height:85vh;color:var(--ink);box-shadow:0 30px 100px #152f3630}.dialog::backdrop{background:#183d3977;backdrop-filter:blur(3px)}.dialog h2{font-size:25px;margin-bottom:15px}.dialog p{font-size:13px;color:var(--muted);margin:12px 0}.dialog label{display:block;font-size:12px;margin:15px 0 7px}.dialog input{width:100%;border:1px solid var(--line);border-radius:9px;padding:12px}.dialog-close{float:right;border:0;background:#f0f2e9;border-radius:50%;width:30px;height:30px;font-size:20px}.city-result{display:block;width:100%;text-align:left;background:#f5f7ef;border:1px solid var(--line);border-radius:9px;margin-top:8px;padding:11px 13px}.city-result:hover{background:#e9efdb}.city-result small{display:block;color:var(--muted)}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:10px;padding:12px 20px;font-size:13px;z-index:100;box-shadow:0 6px 30px #0002}.hidden,[hidden]{display:none!important}.legal-body{max-width:820px;margin:45px auto}.legal-body h1{font-size:36px}.legal-body h2{margin:24px 0 10px}.legal-body p{margin:10px 0;color:#52675e}.legal-body a{text-decoration:underline}.legal-body .card{margin:20px 0}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:5px;z-index:100;background:white;padding:10px}noscript p{padding:20px;background:#fff0d5}.wp-block-image img{max-width:100%;height:auto}.wp-site-blocks{margin:0}
@media(min-width:1450px){.shell{padding:0 65px}}@media(max-width:1150px){.shell{padding:0 28px}.layout{grid-template-columns:minmax(0,1fr) 285px;gap:18px}.card{padding:20px}.services-grid{grid-template-columns:repeat(2,1fr)}nav{gap:18px}.hero-grid{gap:15px}.today h2{font-size:23px}.intro{align-items:flex-start}.searchbox{width:270px}.temperature{font-size:55px}.resource-list{grid-template-columns:1fr}}@media(max-width:850px){.header-inner{height:80px}.brand{font-size:28px}.header-inner nav{display:none}.layout{grid-template-columns:1fr}.rightcol{display:grid;grid-template-columns:1fr 1fr;align-items:start}.intro{display:block}.searchbox{width:100%;margin-top:25px}.hero-grid{grid-template-columns:1fr 1fr}.services-grid{grid-template-columns:repeat(4,1fr)}.resource-list{grid-template-columns:1fr 1fr}.datebar .status{display:none}h1{font-size:40px}.intro{padding-bottom:24px}.bottom-strip{align-items:flex-start}.footer-top{align-items:flex-start}.footer-links{flex-wrap:wrap;gap:12px}}@media(max-width:560px){.shell{padding:0 18px}.header-inner{height:76px;gap:10px}.brand{font-size:26px}.brand small{font-size:8px;letter-spacing:1px}.pill{font-size:11px;padding:9px 11px}.pill svg{width:16px;height:16px}.datebar{padding-top:22px;font-size:11px}h1{font-size:35px;letter-spacing:-1.5px}.intro{padding-top:20px}.intro p{font-size:13px}.hero-grid{grid-template-columns:1fr}.weather{min-height:240px}.today{min-height:210px}.today h2{max-width:100%;font-size:27px}.today p{max-width:100%}.services-grid{grid-template-columns:1fr 1fr}.resource-list{grid-template-columns:1fr}.rightcol{grid-template-columns:1fr}.mobility{grid-template-columns:1fr}.mobility a{display:grid;grid-template-columns:28px 1fr;gap:2px 9px}.mobility a p{grid-column:2}.mobility svg{grid-row:1/3}.card{padding:21px}.section-title h2{font-size:18px}.bottom-strip{display:block;padding:20px}.bottom-strip .subtle-link{margin-top:12px}.footer-top{display:block}.footer-links{margin-top:22px}.tabs{gap:6px}.tab{padding:7px 10px;font-size:11px}}

/* Froncles — identité bleu, blanc, rouge */
:root{--ink:#002395;--muted:#62718a;--paper:#f5f7fc;--line:#e0e6f1;--accent:#ed2939;--radius:16px}
body{color:#172b4d;background:#f5f7fc}.topbar{background:#fffffffa;border-bottom:1px solid #dfe5f0}.topbar:before{content:"";display:block;height:5px;background:linear-gradient(90deg,#002395 0 33.333%,#fff 33.333% 66.666%,#ed2939 66.666%)}.brand{color:#002395}.brand b{color:#ed2939}.brand small{color:#586b88}nav a{color:#344869}nav a:hover,nav a.active{color:#002395}nav a.active{position:relative}nav a.active:after{content:"";position:absolute;height:3px;left:0;right:0;bottom:-12px;border-radius:2px;background:#ed2939}.pill{border-color:#d3dff7;color:#002395;background:#f2f6ff}.dot{background:#ed2939}h1,h2{color:#002395}h1 em{color:#ed2939}.weather{background:linear-gradient(125deg,#00165c,#002395 70%,#1645b5);border-color:#002395;color:white}.weather h2{color:#fff}.weather .eyebrow{color:#d8e5ff}.weather-icon svg{color:#fff;filter:drop-shadow(0 0 14px #ffffff22)}.weather-label,.weather-stats{color:#e3ebff}.weather .source{color:#cad8f7}.weather .subtle-link{color:#fff!important}.weather-stats{border-color:#ffffff36}.today{background:#fff;border-top:4px solid #ed2939}.today .eyebrow{color:#c61e31}.today p,.today-bottom span{color:#62718a}.today .round-link{border-color:#002395;background:#002395;color:white}.iconbox,.location-box .iconbox{background:#edf2ff;color:#002395}.iconbox.blue{background:#eaf0ff;color:#002395}.iconbox.pink{background:#fff0f1;color:#ce2033}.iconbox.lilac{background:#edf1fc;color:#405aaa}.service:hover{background:#f3f6ff;border-color:#a8bce7}.searchbox:focus-within{border-color:#002395;box-shadow:0 0 0 3px #0023950c}.tab.active{background:#002395;border-color:#002395}.tab:hover:not(.active){background:#edf2ff}.star{color:#8894aa}.star.saved{color:#d31f35}.star.saved svg{fill:#ffe0e5}.mobility svg{color:#002395}.mobility a:hover{background:#f1f5ff;border-color:#b6c7ed}.nearby a{background:#f0f4fd;color:#264a8d}.nearby a:hover{background:#e5edfc}.task-form button,.button{background:#ed2939;color:#fff}.task input{accent-color:#002395}.button:hover,.task-form button:hover{background:#c61e31}.weekend{background:#edf2ff;border-color:#d6e0f7}.weekend .iconbox{background:#fff;color:#ed2939}.weekend p{color:#586c8d}.weekend .eyebrow{color:#ed2939}.bottom-strip{background:#fff;border-color:#dbe3f3;border-left:4px solid #ed2939}.bottom-strip strong{color:#002395}footer{background:#00164d;border-top:4px solid #ed2939;margin-top:28px;padding-top:32px;color:#fff}footer .brand{color:#fff}footer .brand b{color:#ff5867}.footer-links{color:#edf2ff}.disclaimer,.copyright{color:#c3cfe6}.disclaimer strong{color:#fff}.disclaimer a{color:#fff}.dialog{color:#172b4d}.dialog::backdrop{background:#00164d88}.dialog-close{background:#edf2ff;color:#002395}.city-result{background:#f1f5ff;border-color:#d9e3f7}.city-result:hover{background:#e5edff}.toast{background:#002395}.legal-body p{color:#52647e}.legal-body a{color:#002395}.admin-bar .topbar{top:32px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-color:#ed2939}@media(max-width:782px){.admin-bar .topbar{top:46px}}
