/*
Theme Name: Abdoulatuf — Cahiers
Author: Site Abdoulatuf Bacar
Description: Proposition 02 : une revue littéraire personnelle, en blocs WordPress natifs.
Version: 2.3.1
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: abdoulatuf-cahiers
*/
*{box-sizing:border-box}body{margin:0}img{max-width:100%;height:auto}a{text-underline-offset:.22em;text-decoration-thickness:1px}a:hover{text-decoration-thickness:2px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #567EA0;outline-offset:5px}p{overflow-wrap:break-word}.wp-site-blocks>header,.wp-site-blocks>footer{margin-block-start:0}.site-header{background:#fff;padding:30px 40px 0}.masthead{max-width:1180px;margin-inline:auto;text-align:center}.masthead .wp-block-site-title{font-size:34px;line-height:1.15;margin:0}.masthead .wp-block-site-title a{text-decoration:none}.masthead-subtitle{font:11px/1.7 system-ui,sans-serif;letter-spacing:.2em;text-transform:uppercase;margin:8px 0 23px}.site-header nav{max-width:1180px;margin-inline:auto;border-top:1px solid #D5DAD9;padding:17px 0;font:13px/1.5 system-ui,sans-serif}.site-header .wp-block-navigation__container{gap:26px}.site-header .wp-block-navigation-item__content{text-decoration:none}.site-header .wp-block-navigation-item__content:hover{text-decoration:underline}.home-main{margin-top:0}.cahiers-home{margin-top:0}.editorial-hero{background:#102A43;color:#fff;padding:70px 40px;margin-top:0}.editorial-hero a{color:#fff}.hero-layout{max-width:1180px;margin:0 auto;gap:60px;align-items:center}.hero-copy{flex-basis:57%}.hero-portrait{flex-basis:43%;max-width:430px}.editorial-hero h1{font-size:80px;line-height:1.02;letter-spacing:-.045em;margin:24px 0 28px}.eyebrow{font:11px/1.7 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase}.hero-lead{font-size:22px;line-height:1.6;max-width:560px}.hero-actions{gap:12px;margin-top:32px}.hero-actions .wp-block-button__link{background:#fff;color:#102A43;border:1px solid #fff;font-size:13px;padding:14px 17px}.hero-actions .is-style-outline .wp-block-button__link{background:transparent;color:#fff}.hero-actions .wp-block-button__link:hover{background:#E7EDF1;color:#102A43}.hero-portrait figure{margin:0}.hero-portrait img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.hero-portrait figcaption{color:#E1E8ED;font:11px/1.6 system-ui,sans-serif;margin-top:12px}.editorial-hero a:focus-visible{outline-color:#fff}.library-section,.ongoing-row,.editorial-sections{max-width:1180px;margin-inline:auto}.library-section{padding:76px 0 62px}.section-heading{gap:20px;align-items:baseline;margin-bottom:34px}.section-heading h2{margin:0}.section-heading a{font:13px/1.5 system-ui,sans-serif}.book-grid{gap:42px}.book-card{min-width:0}.book-image{height:300px;margin:0 0 25px;display:flex;align-items:center;justify-content:center}.book-image img{width:auto;height:100%;max-width:100%;object-fit:contain}.book-image a{height:100%;display:block}.book-meta,.meta{font:11px/1.7 system-ui,sans-serif;letter-spacing:.08em;color:#526273}.book-card h3{font-size:27px;line-height:1.22;margin:10px 0 14px}.book-card h3 a{text-decoration:none}.book-card h3 a:hover{text-decoration:underline}.book-note{font-size:16px;line-height:1.6;color:#526273}.book-card>p:last-child a{font:13px/1.7 system-ui,sans-serif}.ongoing-row{gap:50px;border-top:1px solid #D5DAD9;border-bottom:1px solid #D5DAD9;padding:40px 0;margin-top:0;margin-bottom:0}.text-feature h2,.text-feature h3{font-size:30px;margin-top:12px}.text-feature p{font-size:17px;line-height:1.7}.text-feature .eyebrow{font-size:11px}.text-feature a{font:13px/1.7 system-ui,sans-serif}.editorial-sections{gap:60px;padding:58px 0 76px;margin-top:0}.editorial-card h2{font-size:32px}.editorial-card p{font-size:18px}.editorial-card a{font:13px/1.7 system-ui,sans-serif}.site-main{padding:60px 24px 90px;min-height:65vh}.site-main>.wp-block-post-title{max-width:740px;margin:0 auto 45px}.lead{font-size:23px;line-height:1.65}.feature{padding:32px;background:#fff;margin-block:45px}.book-row{padding:25px 0;border-bottom:1px solid #D5DAD9}.book-row h2,.book-row h3{margin-top:8px}.book-row a,.feature a{font-size:16px}.wp-block-post-content>h2{margin-top:2em}.wp-block-post-content a{overflow-wrap:anywhere}.wp-block-query-no-results{font-size:16px;color:#526273;font-style:italic}.wp-block-post-template{padding:0}.wp-block-post-template>li{border-bottom:1px solid #D5DAD9;padding-bottom:25px;margin-bottom:25px}.wp-block-post-template h2{font-size:28px}.site-footer{background:#fff;border-top:1px solid #D5DAD9;padding:40px}.footer-inner{max-width:1180px;margin-inline:auto}.footer-name{font-size:26px;margin:0}.footer-description{font:12px/1.7 system-ui,sans-serif;color:#526273}.site-footer .signature{width:125px;margin:15px 0}.site-footer .signature img{display:block;width:125px}.site-footer nav{font:13px/1.6 system-ui,sans-serif}.site-footer .wp-block-navigation__container{gap:24px}.footer-bottom{gap:30px;align-items:center}.wp-block-navigation__responsive-container.is-menu-open{padding:30px}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{gap:22px}.wp-block-navigation__responsive-container-close,.wp-block-navigation__responsive-container-open{min-width:44px;min-height:44px;align-items:center;justify-content:center}
@media(max-width:1260px){.library-section,.ongoing-row,.editorial-sections{margin-left:40px;margin-right:40px}.hero-layout{gap:40px}.site-header .wp-block-navigation__container{gap:20px}.editorial-hero h1{font-size:70px}}
@media(min-width:782px) and (max-width:1000px){.hero-lead{font-size:19px}.editorial-hero h1{font-size:60px}.hero-layout{gap:30px}.book-grid{gap:26px}.book-image{height:250px}}
@media(max-width:781px){body{font-size:18px}.site-header{padding:23px 24px 0}.masthead .wp-block-site-title{font-size:28px}.masthead-subtitle{font-size:10px;margin-bottom:16px}.site-header nav{padding:10px 0}.editorial-hero{padding:30px 24px 35px}.hero-layout{gap:35px}.editorial-hero h1{font-size:46px;margin:20px 0 24px}.hero-lead{font-size:20px}.hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}.hero-actions .wp-block-button,.hero-actions .wp-block-button__link{width:100%;text-align:left}.hero-portrait{max-width:430px;margin-inline:auto;width:100%}.library-section,.ongoing-row,.editorial-sections{margin-left:24px;margin-right:24px}.library-section{padding:42px 0}.section-heading{margin-bottom:28px}.book-grid{gap:36px}.book-image{height:290px}.book-card h3{font-size:26px}.ongoing-row{padding:30px 0;gap:30px}.editorial-sections{padding:34px 0 42px;gap:30px}.editorial-card h2{font-size:29px}.site-main{padding:35px 24px 60px}.lead{font-size:21px}.feature{padding:24px}.site-footer{padding:30px 24px}.footer-bottom{gap:20px}.site-footer nav{margin-top:22px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}

/* Direction validée : Cahiers contemporains */
.site-header{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:24px 40px}.masthead{margin:0;flex:0 0 210px}.author-logo{margin:0!important;width:210px}.author-logo img{display:block;width:100%;height:auto}.site-header nav{margin:0;border:0;padding:0}.site-header .wp-block-navigation__container{gap:20px}.hero-copy{border-left:4px solid #102A43;padding-left:30px}.editorial-hero h1{letter-spacing:-.035em}.hero-actions .wp-block-button__link{background:transparent;color:white;border:1px solid white}.hero-actions .wp-block-button__link:hover{background:white;color:#102A43}.editorial-card .eyebrow,.text-feature .eyebrow{color:#102A43}.editorial-card+.editorial-card{border-left:1px solid #102A43;padding-left:40px}.supplementary .ongoing-row{margin-inline:0}.site-footer{border-top-color:#102A43}.reading-section{background:white}.hero-lead{font-size:23px}
@media(min-width:782px) and (max-width:1100px){.site-header{gap:20px;padding-inline:28px}.masthead{flex-basis:170px}.author-logo{width:170px}.site-header .wp-block-navigation__container{gap:12px}.site-header nav{font-size:12px}}
@media(max-width:781px){.site-header{padding:20px 24px;gap:20px}.masthead{flex:0 1 180px}.author-logo{width:180px;max-width:100%}.site-header nav{margin:0}.hero-copy{padding-left:18px;border-left-width:3px}.hero-actions .wp-block-button__link{text-align:center;padding-inline:10px}.hero-lead{font-size:20px}.editorial-card+.editorial-card{border-left:0;border-top:1px solid #102A43;padding-left:0;padding-top:28px}.hero-portrait{max-width:380px}}

.editorial-hero .hero-copy{border-left-color:#7EA7C8}

/* Alignement sur la maquette choisie */
.target-home .editorial-hero{padding:0 40px;background:linear-gradient(115deg,#081F32,#102A43 70%);overflow:hidden}.target-home .hero-layout{position:relative;min-height:510px;gap:0;margin-bottom:0!important;align-items:stretch}.target-home .hero-copy{z-index:2;flex-basis:58%!important;margin:60px 0 50px;padding-left:30px;align-self:center;border-left:4px solid #7EA7C8}.target-home .editorial-hero h1{font-size:clamp(65px,7.3vw,108px);line-height:1.02;letter-spacing:-.03em;margin:20px 0 14px}.target-home .hero-lead{font-size:23px;line-height:1.45;margin:0;white-space:normal}.target-home .hero-actions{gap:14px;margin-top:34px;flex-wrap:nowrap}.target-home .hero-actions .wp-block-button__link{font:16px/1.3 Georgia,serif;padding:13px 16px;border-radius:0}.target-home .hero-portrait{position:absolute;right:-15px;bottom:0;width:52%;max-width:620px;z-index:1}.target-home .hero-portrait img{aspect-ratio:auto;width:100%;height:auto;object-fit:contain}.target-home .author-portrait{margin:0!important}.target-home .editorial-sections{padding:30px 0 40px;gap:46px}.target-home .editorial-card h2{font-size:37px;line-height:1.1;margin:12px 0 18px;letter-spacing:-.02em}.target-home .editorial-card p{font-size:18px;line-height:1.45}.target-home .editorial-card .eyebrow{font:10px/1.5 Georgia,serif;letter-spacing:.2em;color:#102A43;display:flex;gap:18px;align-items:center}.target-home .editorial-card .eyebrow:before{content:'';display:block;width:32px;height:3px;background:#102A43}.target-home .editorial-card+.editorial-card{border-left:1px solid #A7BBCB;padding-left:46px}.target-home .target-book-link{border-bottom:1px solid #D5DAD9;margin:0!important;padding:6px 0}.target-home .target-book-link a{display:flex;justify-content:space-between;gap:15px;text-decoration:none;font:18px/1.3 Georgia,serif}.target-home .target-book-link a:hover{text-decoration:underline}.target-home .target-book-list{margin-top:15px}.target-home .reading-section{padding-inline:40px}.site-header .wp-block-navigation-item.current-menu-item>a{border-bottom:2px solid #102A43;padding-bottom:8px}
@media(min-width:782px) and (max-width:1100px){.target-home .hero-copy{flex-basis:62%!important;padding-left:22px}.target-home .hero-portrait{width:50%;right:-40px}.target-home .hero-lead{font-size:19px}.target-home .hero-actions{gap:8px}.target-home .hero-actions .wp-block-button__link{font-size:13px;padding:12px}.target-home .editorial-card h2{font-size:31px}}
@media(max-width:781px){.target-home .editorial-hero{padding:0 22px 22px}.target-home .hero-layout{display:flex;flex-direction:column;gap:0;min-height:0}.target-home .hero-portrait{position:relative;order:-1;right:auto;bottom:auto;width:100%;max-width:340px;margin:0 auto!important}.target-home .hero-portrait img{width:100%;height:290px;object-fit:contain;object-position:center bottom}.target-home .hero-copy{width:100%;margin:10px 0 0!important;padding-left:14px;border-left-width:3px}.target-home .editorial-hero h1{font-size:46px;margin:12px 0 8px}.target-home .hero-lead{font-size:17px;line-height:1.4}.target-home .hero-copy>.eyebrow{font-size:9px;letter-spacing:.12em}.target-home .hero-actions{margin-top:16px;gap:7px}.target-home .hero-actions .wp-block-button__link{font-size:14px;padding:9px;min-height:40px}.target-home .reading-section{padding:0 22px}.target-home .editorial-sections{margin-inline:0;padding:24px 0;gap:26px}.target-home .editorial-card h2{font-size:29px}.target-home .editorial-card p{font-size:16px}.target-home .target-book-link a{font-size:16px}.target-home .editorial-card+.editorial-card{border-left:0;border-top:1px solid #A7BBCB;padding:24px 0 0}.target-home .hero-portrait figcaption{display:none}}

@media(min-width:782px){.target-home .hero-portrait img{height:490px;object-fit:contain;object-position:center bottom}.target-home .hero-portrait{width:52%}}
.target-home .hero-actions .wp-block-button__link{text-align:center}.site-header nav{font-family:Georgia,serif}
