/*
Theme Name: Agriculture Congress XXXIII
Theme URI: https://agriculture.lu/
Author: Congress website project
Description: An editorial, accessible congress theme for agriculture.lu. Use with Agriculture Congress Setup for English, French and German content.
Version: 1.1.1
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agriculture-congress
*/
:root{--ink:#193e32;--muted:#526359;--paper:#f7f5ef;--white:#fffefa;--gold:#a77b33;--line:#d9dfd2;--deep:#11372b;--soft:#edf0e7;--radius:3px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}img,svg{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.13;letter-spacing:-.035em}h1{font-size:clamp(2.8rem,4.25vw,4.6rem);margin-bottom:26px}h2{font-size:clamp(2rem,3.1vw,3.3rem);margin-bottom:24px}h3{font-size:1.62rem;letter-spacing:-.025em}p{margin-bottom:20px}a:hover{color:#795920}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a6782f;outline-offset:5px}[hidden]{display:none!important}.shell{width:min(1280px,calc(100% - 96px));margin-inline:auto}.topline{background:var(--deep);color:#e3e7d7;font-size:11px;letter-spacing:.08em;text-transform:uppercase}.topline .shell{display:flex;justify-content:space-between;gap:20px;padding-block:10px}.topline-divider{padding:0 12px;color:#bca36f}.site-header{background:var(--paper);border-bottom:1px solid var(--line);position:relative;z-index:5}.header-inner{display:flex;align-items:center;gap:32px;min-height:102px}.brand{display:flex;align-items:center;gap:18px;text-decoration:none;flex-shrink:0}.brand-mark{font:38px/.9 Georgia,serif;letter-spacing:-3px;position:relative}.brand-rule{display:block;height:3px;background:var(--gold);margin-top:11px}.brand-copy{font-size:10px;letter-spacing:.13em;font-weight:700;line-height:1.6}.brand-copy small{display:block;font-size:10px;letter-spacing:.025em;font-weight:400}.main-nav{display:flex;align-items:center;gap:25px;margin-left:auto}.main-nav a{text-decoration:none;font-size:13px;white-space:nowrap}.main-nav a[aria-current=page]{text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:7px}.main-nav .nav-register{border:1px solid var(--ink);padding:10px 15px}.main-nav .nav-register:hover{background:var(--ink);color:white}.language-switch{display:flex;gap:9px;border-left:1px solid var(--line);padding-left:20px}.language-switch a{font-size:11px;letter-spacing:.06em;text-decoration:none;color:var(--muted)}.language-switch a[aria-current]{color:var(--ink);font-weight:700;border-bottom:2px solid var(--gold)}.menu-toggle{display:none}.skip-link{position:absolute;z-index:100;top:8px;left:8px;background:white;padding:12px;transform:translateY(-160%)}.skip-link:focus{transform:none}.site-main{min-height:55vh}.congress-hero{position:relative;min-height:650px;width:min(1440px,100%);margin:0 auto!important;overflow:hidden}.congress-hero:after{content:"";position:absolute;width:42%;inset:0 0 0 auto;background:var(--deep) url('assets/landscape.svg') center/cover no-repeat}.hero-copy{position:relative;width:58%;padding:72px 64px 56px max(48px,calc((100vw - 1280px)/2));}.hero-copy h1{max-width:670px}.hero-copy .lead{font-size:17px;max-width:530px}.eyebrow{text-transform:uppercase;font-size:11px;font-weight:650;letter-spacing:.19em;color:var(--gold);margin-bottom:28px}.lead{color:var(--muted);font-size:19px;line-height:1.75}.wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0}.wp-block-button__link,.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 21px;background:var(--ink);color:var(--white);border:1px solid var(--ink);border-radius:var(--radius);font-family:inherit;font-size:13px;line-height:1.5;text-decoration:none;letter-spacing:.02em;font-weight:500;cursor:pointer}.wp-block-button__link:hover,.button:hover{background:#285543;color:white}.is-style-outline .wp-block-button__link,.button.outline{background:transparent;color:var(--ink)}.is-style-outline .wp-block-button__link:hover{background:var(--soft)}.hero-date{margin-top:37px;margin-bottom:0;font-size:12px;font-weight:600;letter-spacing:.04em}.hero-date span{margin:0 15px;color:var(--gold)}.fact-strip{display:grid;grid-template-columns:repeat(3,1fr);width:min(1280px,calc(100% - 96px));margin:0 auto!important;border-bottom:1px solid var(--line);padding:30px 0;gap:28px}.stat+.stat{border-left:1px solid var(--line);padding-left:36px}.stat-value{font:22px/1.4 Georgia,serif;margin:0 0 6px}.stat-label{font-size:12px;color:var(--muted);margin:0}.section{width:min(1280px,calc(100% - 96px));margin:0 auto!important;padding:76px 0}.intro-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:90px;align-items:start}.intro-grid h2{max-width:580px}.intro-grid p{max-width:485px}.section-cards{padding-top:5px;padding-bottom:88px}.section-cards>h2{font-size:1.65rem;margin-bottom:30px}.feature-grid,.three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.feature-card{padding:30px;border:1px solid var(--line);background:var(--white);transition:transform .2s,border-color .2s}.feature-card:hover{transform:translateY(-4px);border-color:var(--gold)}.card-number{font-size:12px;color:var(--gold);font-weight:600;letter-spacing:.12em;margin-bottom:35px}.feature-card h3 a{text-decoration:none;display:flex;justify-content:space-between;gap:10px}.feature-card h3 a span{font:23px/1.4 Arial,sans-serif;color:var(--gold)}.feature-card p:last-child{font-size:14px;color:var(--muted);margin:0}.anniversary{width:100%;background:var(--deep);color:var(--paper);padding:68px max(48px,calc((100vw - 1280px)/2));position:relative;overflow:hidden}.anniversary:after{content:'70';font:clamp(180px,28vw,400px)/1 Georgia,serif;position:absolute;right:6%;top:0;color:#ffffff0d;pointer-events:none}.anniversary-copy{max-width:760px;position:relative;z-index:1}.anniversary .eyebrow{color:#d4b579}.anniversary h2{font-size:clamp(2.1rem,3.8vw,3.8rem)}.anniversary p:not(.eyebrow){color:#c3cfbf;font-size:12px}.anniversary .is-style-outline a{color:var(--paper);border-color:#718674}.anniversary .is-style-outline a:hover{background:#2b5140}.page-intro{max-width:1040px;width:calc(100% - 96px);margin:0 auto!important;padding:76px 0 58px}.page-intro h1{max-width:980px}.page-intro .lead{max-width:830px}.page-intro+.section{padding-top:15px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:44px}.text-panel{border-top:1px solid var(--line);padding-top:30px}.text-panel h2{font-size:1.9rem}.text-panel p{color:var(--muted)}.callout{border-top:1px solid var(--line)}.programme-tablist{display:flex;gap:0;border-bottom:1px solid var(--line)}.programme-tablist button{width:25%;text-align:left;padding:20px 22px;background:transparent;border:1px solid var(--line);border-bottom:0;color:var(--ink);cursor:pointer}.programme-tablist button+button{border-left:0}.programme-tablist button[aria-selected=true]{background:var(--ink);color:white}.programme-tablist small{display:block;font-size:12px;margin-bottom:8px;opacity:.8}.programme-tablist strong{display:block;font:25px Georgia,serif}.programme-panel{padding:40px;background:var(--white);border:1px solid var(--line);border-top:0}.programme-panel h2{font-size:2rem}.programme-panel p{max-width:680px;color:var(--muted)}.programme-panel .status-pill{color:var(--ink)}.status-pill{display:inline-flex;align-items:center;gap:10px;padding:7px 13px;border:1px solid #c8d4be;border-radius:99px;background:var(--soft);font-size:12px;margin-bottom:20px}.status-pill:before{content:'';width:6px;height:6px;border-radius:50%;background:#62774e}.registration-closed{border:1px solid var(--line);padding:40px;background:var(--white);max-width:850px}.registration-closed h2{font-size:2rem}.registration-closed p:last-child{margin-bottom:0;color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.registration-product{background:var(--white);border:1px solid var(--line);padding:28px}.registration-product h2{font-size:1.8rem}.registration-product .price{font:27px Georgia,serif}.calendar-card{border-top:1px solid var(--line);padding-top:26px;display:flex;align-items:center;justify-content:space-between;gap:30px}.calendar-card h2{font-size:1.7rem;margin-bottom:9px}.calendar-card p{color:var(--muted);font-size:14px;margin:0}.contact-card{max-width:850px;padding:34px;border:1px solid var(--line);background:var(--white);margin-bottom:30px}.contact-card h2{font-size:1.8rem}.ordinary-page{padding-top:70px;padding-bottom:90px;min-height:50vh}.ordinary-page>h1{font-size:3rem}.site-footer{background:#e9ede3;border-top:1px solid #d1d8c9}.footer-main{display:flex;justify-content:space-between;gap:70px;padding-top:62px;padding-bottom:46px}.footer-logo{font:52px Georgia,serif;letter-spacing:-4px;text-decoration:none}.footer-title{font:27px Georgia,serif;margin:20px 0 10px}.footer-main p:last-child{font-size:13px;color:var(--muted)}.footer-links{display:grid;grid-template-columns:repeat(2,auto);gap:12px 45px;align-content:start;font-size:13px}.footer-links a{text-decoration:none}.footer-links a:hover{text-decoration:underline}.footer-bottom{border-top:1px solid #cbd4c4;padding-top:22px;padding-bottom:22px;display:flex;gap:25px;justify-content:space-between;font-size:10px;color:#4e6254;letter-spacing:.04em}.footer-bottom a{text-decoration:none}.policy-draft h2{font-size:1.6rem;margin-top:40px}input,textarea,select{border:1px solid #9ea998;border-radius:3px;padding:10px;background:white;color:var(--ink);max-width:100%}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--ink);color:white;border-radius:3px;font-weight:500}.woocommerce div.product .product_title{font-size:2.6rem}.woocommerce div.product{padding-block:30px}.woocommerce table.shop_table{background:var(--white)}.woocommerce .woocommerce-message,.woocommerce .woocommerce-info{background:var(--soft);border-top-color:var(--ink)}.woocommerce ul.products li.product h2{font-size:1.6rem}.woocommerce .quantity .qty{padding:10px}.woocommerce form .form-row input.input-text{padding:12px}.entry-content:after{content:'';display:table;clear:both}
@media(min-width:1441px){.hero-copy{padding-left:80px}}
@media(max-width:1180px){.shell{width:calc(100% - 56px)}.header-inner{gap:20px}.main-nav{gap:18px}.brand-copy{display:none}.hero-copy{padding:56px 40px 45px 28px}.congress-hero{min-height:610px}.hero-copy h1{font-size:3.7rem}.language-switch{padding-left:15px}.intro-grid{gap:45px}}
@media(max-width:900px){.hero-copy h1{font-size:3rem}.header-inner{min-height:88px}.main-nav{gap:12px}.main-nav a{font-size:12px}.hero-copy{padding-right:28px}.hero-copy .lead{font-size:16px}.congress-hero{min-height:600px}.wp-block-buttons{gap:10px}.hero-copy .wp-block-button__link{padding:12px 15px}.intro-grid{gap:34px}.feature-card{padding:23px}.feature-card h3{font-size:1.4rem}.fact-strip,.section{width:calc(100% - 56px)}.stat+.stat{padding-left:20px}.stat-value{font-size:20px}.anniversary{width:100%;padding-inline:28px}.topline{font-size:10px}}
@media(max-width:720px){h1{font-size:2.75rem}h2{font-size:2.2rem}.shell{width:calc(100% - 40px)}.topline .shell{gap:10px}.topline .shell>span:last-child{display:none}.header-inner{gap:15px;min-height:82px}.brand-mark{font-size:31px}.brand-copy{display:block;font-size:8px}.brand-copy small{font-size:8px}.brand{gap:10px}.menu-toggle{display:flex;align-items:center;gap:8px;font-size:11px;border:0;background:none;color:var(--ink);padding:10px 0;margin-left:auto;cursor:pointer}.language-switch{gap:8px;padding-left:12px}.language-switch a{font-size:10px}.main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);padding:24px;box-shadow:0 20px 20px #193e3212}.main-nav.is-open{display:flex;flex-direction:column;align-items:stretch;gap:10px}.main-nav a{font-size:16px;padding:10px}.main-nav .nav-register{text-align:center;margin-top:10px}.congress-hero{min-height:auto;display:flex;flex-direction:column;overflow:visible}.congress-hero:after{position:relative;inset:auto;display:block;width:calc(100% - 40px);height:270px;order:2;margin:0 20px;background-position:center 46%;background-size:cover}.hero-copy{width:100%;padding:45px 20px 36px}.hero-copy h1{font-size:clamp(2.7rem,9vw,3.5rem);line-height:1.08;max-width:600px}.hero-copy .lead{font-size:16px}.eyebrow{font-size:10px;margin-bottom:20px}.hero-date{margin-top:28px;font-size:11px}.hero-copy .wp-block-buttons{margin-top:25px;margin-bottom:20px}.fact-strip{width:calc(100% - 40px);grid-template-columns:1fr;gap:16px;padding:28px 0}.stat{display:flex;justify-content:space-between;gap:20px;align-items:baseline}.stat+.stat{padding-left:0;border-left:0;border-top:1px solid var(--line);padding-top:16px}.stat-value{font-size:19px;margin:0}.stat-label{font-size:11px;text-align:right}.section{width:calc(100% - 40px);padding:46px 0}.intro-grid,.feature-grid,.two-col,.three-col,.product-grid{grid-template-columns:1fr;gap:22px}.intro-grid{gap:5px}.intro-grid h2{font-size:2.2rem}.lead{font-size:17px}.feature-card{padding:25px}.feature-card h3{font-size:1.7rem}.card-number{margin-bottom:24px}.section-cards{padding-top:0}.section-cards>h2{font-size:1.6rem}.anniversary{width:100%;padding:45px 20px}.anniversary:after{top:70px;right:-10px;font-size:280px}.anniversary h2{font-size:2.35rem}.page-intro{width:calc(100% - 40px);padding-top:45px;padding-bottom:30px}.page-intro h1{font-size:2.65rem}.programme-tablist button{padding:14px 9px}.programme-tablist strong{font-size:21px}.programme-tablist small{font-size:10px}.programme-panel{padding:27px 22px}.programme-panel h2{font-size:1.7rem}.registration-closed,.contact-card{padding:25px}.calendar-card{align-items:flex-start;flex-direction:column;gap:20px}.footer-main{flex-direction:column;gap:28px;padding-top:40px;padding-bottom:30px}.footer-links{grid-template-columns:1fr 1fr;gap:15px 20px}.footer-bottom{flex-direction:column;gap:7px;font-size:10px}.ordinary-page{padding-top:40px}.ordinary-page>h1{font-size:2.5rem}.three-col .text-panel{padding-top:22px}}
@media(max-width:370px){.brand-copy{display:none}.hero-copy h1{font-size:2.5rem}.hero-copy .wp-block-buttons{flex-direction:column}.hero-copy .wp-block-button__link{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Keep the editor’s flow spacing from offsetting grid siblings. */
.feature-grid>.wp-block-group,.intro-grid>.wp-block-group,.fact-strip>.wp-block-group,.two-col>.wp-block-group,.three-col>.wp-block-group{margin-block:0}
.arrow:after{content:'\2197'}

/* Luxembourg photography. All files are bundled locally; captions and credits are translated. */
.agc-site .has-luxembourg-photo{position:relative;isolation:isolate;overflow:hidden;background:#f7f5ef;color:var(--ink)}
.agc-site .agc-photo{margin:0;position:relative;overflow:hidden}
.agc-site .agc-photo img{display:block;width:100%;height:100%;object-fit:cover}
.agc-site .agc-photo-header,.agc-site .agc-photo-banner{position:absolute;inset:0;z-index:-2}
.agc-site .has-luxembourg-photo:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(250,248,241,.97) 0%,rgba(250,248,241,.94) 38%,rgba(250,248,241,.84) 53%,rgba(250,248,241,.08) 78%,transparent 100%)}
.agc-site .agc-photo-header figcaption,.agc-site .agc-photo-banner figcaption{position:absolute;right:26px;bottom:20px;max-width:80%;padding:6px 11px;background:rgba(8,25,18,.72);color:white;font:11px/1.6 system-ui,sans-serif;letter-spacing:.025em;border-radius:2px;z-index:1}
.agc-site .congress-hero.has-luxembourg-photo{width:100%;min-height:670px}
.agc-site .congress-hero.has-luxembourg-photo:after{display:none}
.agc-site .congress-hero.has-luxembourg-photo .hero-copy{width:min(880px,76%);padding:76px 35px 90px max(48px,calc((100vw - 1280px)/2));position:relative;z-index:2}
.agc-site .has-luxembourg-photo h1,.agc-site .has-luxembourg-photo h2,.agc-site .has-luxembourg-photo .hero-date{color:var(--ink);text-shadow:none}
.agc-site .has-luxembourg-photo .lead{color:#284c40;max-width:700px}
.agc-site .has-luxembourg-photo .eyebrow{color:#75551e}
.agc-site .has-luxembourg-photo .wp-block-button__link{background:var(--ink);border-color:var(--ink);color:#fffefa}
.agc-site .has-luxembourg-photo .wp-block-button__link:hover{background:#285543;border-color:#285543;color:white}
.agc-site .has-luxembourg-photo .is-style-outline .wp-block-button__link{background:#fffefaab;border-color:var(--ink);color:var(--ink)}
.agc-site .has-luxembourg-photo .is-style-outline .wp-block-button__link:hover{background:#e8eddf;color:var(--ink)}
.agc-site .page-intro.has-luxembourg-photo{width:100%;max-width:none;min-height:450px;padding:78px max(48px,calc((100vw - 1180px)/2)) 88px;margin-bottom:46px!important}
.agc-site .page-intro.has-luxembourg-photo h1{max-width:840px}
.agc-site .page-intro.has-luxembourg-photo .lead{max-width:790px}
.agc-site .agc-photo[data-photo=adolphe-bridge] img{object-position:50% 48%}
.agc-site .agc-photo[data-photo=city-panorama] img{object-position:58% 50%}
.agc-site .agc-photo[data-photo=grund-rooftops] img{object-position:50% 52%}
.agc-site .agc-photo-editorial{grid-column:1/-1;height:300px;margin-top:10px;border-radius:3px}
.agc-site .agc-photo-editorial figcaption{position:absolute;bottom:16px;left:18px;padding:6px 11px;background:#132f24d9;color:white;font-size:12px}
.agc-site .has-section-photo .agc-photo-card{height:195px;margin:-30px -30px 27px}
.agc-site .agc-photo-card figcaption{display:none}
.agc-site .has-section-photo .card-number{margin-bottom:20px}
.agc-site .anniversary.has-luxembourg-photo:before{background:linear-gradient(90deg,#faf8f1fa 0%,#faf8f1ed 45%,#faf8f1cc 58%,#faf8f10d 85%)}
.agc-site .anniversary.has-luxembourg-photo{padding-top:80px;padding-bottom:88px}
.agc-site .anniversary.has-luxembourg-photo:after{color:#193e3212;z-index:0}
.agc-site .anniversary.has-luxembourg-photo .anniversary-copy{z-index:2}
.agc-site .anniversary.has-luxembourg-photo p:not(.eyebrow){color:#284c40}
.agc-site .agc-photo-credits{padding:0 0 24px;color:#475e4b;font-size:11px;line-height:1.8}
.agc-site .agc-photo-credits summary{cursor:pointer;font-weight:600;width:fit-content}
.agc-site .agc-photo-credits p{margin:12px 0 5px}
.agc-site .agc-photo-credits ul{margin:0;padding-left:18px}
@media(max-width:1000px){.agc-site .congress-hero.has-luxembourg-photo .hero-copy{width:85%}.agc-site .page-intro.has-luxembourg-photo{padding-left:36px;padding-right:36px}.agc-site .has-luxembourg-photo:before{background:linear-gradient(90deg,#faf8f1f7 0%,#faf8f1e8 65%,#faf8f13d)}}
@media(max-width:720px){
.agc-site .congress-hero.has-luxembourg-photo{min-height:0}
.agc-site .congress-hero.has-luxembourg-photo .hero-copy{width:100%;padding:48px 22px 88px}
.agc-site .has-luxembourg-photo:before{background:linear-gradient(0deg,#faf8f1f2 0%,#faf8f1e0 75%,#faf8f1c9 100%)}
.agc-site .page-intro.has-luxembourg-photo{min-height:390px;padding:48px 22px 78px;margin-bottom:28px!important}
.agc-site .page-intro.has-luxembourg-photo .lead{font-size:16px;line-height:1.7}
.agc-site .agc-photo-header figcaption,.agc-site .agc-photo-banner figcaption{right:18px;bottom:15px;max-width:calc(100% - 36px);font-size:10px}
.agc-site .agc-photo-editorial{height:230px;margin-top:12px}
.agc-site .agc-photo-editorial figcaption{left:10px;bottom:10px;font-size:10px}
.agc-site .has-section-photo .agc-photo-card{height:205px;margin:-25px -25px 23px}
.agc-site .anniversary.has-luxembourg-photo{padding:50px 22px 85px}
}
.agc-site .agc-photo-header,.agc-site .agc-photo-banner{z-index:auto;pointer-events:none}
.agc-site .agc-photo-header>img,.agc-site .agc-photo-banner>img{position:absolute;inset:0;z-index:-2}

/* Mobile headers show the photograph above the light reading area. */
@media(max-width:720px){
.agc-site .congress-hero.has-luxembourg-photo,.agc-site .page-intro.has-luxembourg-photo{display:block;background:var(--paper);padding-top:235px}
.agc-site .page-intro.has-luxembourg-photo{padding-top:280px}
.agc-site .congress-hero.has-luxembourg-photo .hero-copy{padding-top:32px;padding-bottom:40px}
.agc-site .page-intro.has-luxembourg-photo{padding-bottom:36px}
.agc-site .congress-hero.has-luxembourg-photo:before,.agc-site .page-intro.has-luxembourg-photo:before{display:none}
.agc-site .agc-photo-header{height:235px;bottom:auto}
.agc-site .agc-photo-header>img{z-index:0}
.agc-site .agc-photo-header figcaption{max-width:calc(100% - 24px);right:12px;bottom:12px}
.agc-site .anniversary.has-luxembourg-photo:before{background:#faf8f1e8}
}

.agc-site .page-intro.has-luxembourg-photo:before{background:linear-gradient(90deg,#faf8f1f7 0%,#faf8f1f2 42%,#faf8f1e6 60%,#faf8f11a 87%,transparent 100%)}
