/*
 * Into the Wild — blog archivé.
 * Reprise du thème Blogger « Travel » (Voyages, Sookhee Lee), avec les réglages
 * d'origine du blog (theme-layouts.xml de l'export Takeout) :
 *   texte 14px Georgia blanc, titre 60px Impact, liens #ff9b00 / visités #b87309,
 *   contenu 990px sur fond noir 70 %, barre latérale 310px sur fond noir 50 %.
 * Image de fond du thème : crédit Silberkorn (iStockphoto), fournie par Blogger.
 */

/* ---------- Base (Blogger + variables du thème) ---------- */

body {
    margin: 0;
    padding: 0;
    font: normal normal 14px Georgia, Utopia, 'Palatino Linotype', Palatino, serif;
    color: #ffffff;
    background: #ffffff url(../img/bg-travel.jpg) no-repeat scroll top center;
}

a:link    { text-decoration: none; color: #ff9b00; }
a:visited { text-decoration: none; color: #b87309; }
a:hover   { text-decoration: underline; color: #ff9b00; }

img { border: 0; }

/* ---------- Contenu ---------- */

.content-outer {
    max-width: 990px;
    margin: 0 auto;
    padding-top: 20px;
}

.content-inner {
    background: rgba(0, 0, 0, .7);   /* bg_black_70.png */
    padding: 20px;
}

/* ---------- En-tête ---------- */

.Header .titlewrapper,
.Header .descriptionwrapper {
    padding-left: 10px;
    padding-right: 10px;
}

.Header .titlewrapper { padding-top: 22px; }

.Header h1 {
    font: normal normal 60px Impact, sans-serif;
    color: #ffffff;
    margin: 0 0 10px;
}

.Header h1 a,
.Header h1 a:visited { color: #ffffff; }
.Header h1 a:hover { text-decoration: none; }

.Header .description {
    color: #ffffff;
    font-size: 130%;
    margin: .5em 0 10px;
    padding: 0 2px;
}

/* ---------- Titres ---------- */

h2 {
    font: normal bold 14px 'Trebuchet MS', Trebuchet, sans-serif;
    color: #ffffff;
    margin: 0 0 1em;
}

.main-inner h2.date-header {
    font: normal normal 14px 'Trebuchet MS', Trebuchet, sans-serif;
    color: #ffffff;
    margin: 0;
}

.sidebar .widget h2,
.footer-inner .widget h2 { padding-bottom: .5em; }

/* ---------- Colonnes ---------- */

.main-inner { padding: 20px 0; }

.columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
}

.main-inner .column-center-inner { padding: 10px 0; }
.main-inner .column-center-inner .section { margin: 0 10px; }

.main-inner .column-right-inner {
    margin-left: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, .5);   /* bg_black_50.png */
    height: 100%;
    box-sizing: border-box;
}

.column-right-inner .section { margin: 0 15px; }

/* ---------- Articles ---------- */

.main-inner .date-outer { margin-bottom: 2em; }

h3.post-title {
    margin: 20px 0 0;
    font: normal bold 20px 'Trebuchet MS', Trebuchet, sans-serif;
    color: #ffffff;
}

h3.post-title a,
h3.post-title a:visited {
    font: normal bold 20px 'Trebuchet MS', Trebuchet, sans-serif;
    color: #ffffff;
}

h3.post-title a:hover { text-decoration: underline; }

.post-header {
    margin: 0 0 1em;
    line-height: 1.6;
}

.post-body {
    font-size: 110%;
    line-height: 1.4;
    position: relative;
    overflow-wrap: break-word;
}

.post-body img { max-width: 100%; height: auto; }
.post-body iframe { max-width: 100%; }
.post-body a:has(> img) { cursor: zoom-in; }

.separator a {
    clear: none !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.post-footer {
    margin: .5em 0;
    line-height: 1.6;
}

.post-footer-line > * { margin-right: 1em; }
.post-footer-line > *:last-child { margin-right: 0; }

/* ---------- Message d'état (listes filtrées) ---------- */

.status-msg-wrap {
    font-size: 110%;
    width: 90%;
    margin: 10px auto 20px;
    position: relative;
}

.status-msg-body {
    text-align: center;
    padding: .3em 0;
    background: rgba(204, 204, 204, .25);
    border: 1px solid rgba(0, 0, 0, .4);
}

/* ---------- Pagination ---------- */

#blog-pager {
    margin: 1em 0;
    text-align: center;
    overflow: hidden;
    font-size: 140%;
}

#blog-pager-newer-link { float: left; }
#blog-pager-older-link { float: right; }

/* ---------- Commentaires ---------- */

#comments {
    background: rgba(0, 0, 0, .5);   /* bg_black_50.png */
    padding: 15px;
    margin-top: 1em;
}

#comments h4 {
    font-size: 110%;
    margin: 0 0 1em;
    color: #ffffff;
}

#comments a,
#comments .datetime a { color: #ffffff; }

.comments .comment-thread ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comments .comment-thread > ol > li.comment,
.comments .comment-replies li.comment { margin: 1.5em 0; }
.comments .comment-thread > ol > li.comment:first-child { margin-top: 0; }

.comments .comment { position: relative; }

.comments .avatar-image-container {
    float: left;
    width: 36px;
    height: 36px;
    max-height: 36px;
    overflow: hidden;
    margin: .2em 0 0;
}

.comments .avatar-image-container img { width: 36px; height: 36px; }

.comments .avatar-image-container.anonymous {
    background: #c9c9c9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='13' r='7' fill='%23f2f2f2'/%3E%3Cpath d='M4 36c0-8 6-13 14-13s14 5 14 13z' fill='%23f2f2f2'/%3E%3C/svg%3E") no-repeat center / 36px;
}

.comments .comment-block { margin-left: 48px; }

.comments .comment-header .user {
    font-style: normal;
    font-weight: bold;
}

.comments .comment-header .datetime {
    margin-left: 8px;
    font-size: 90%;
}

.comments .comment-content {
    margin: .4em 0 8px;
    line-height: 1.4;
}

.comments .icon.blog-author {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: 0 0 -4px 6px;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEgAACxIB0t1+/AAAAAd0SU1FB9sLFwMeCjjhcOMAAAD+SURBVDjLtZSvTgNBEIe/WRRnm3U8RC1neQdsm1zSBIU9VVF1FkUguQQsD9ITmD7ECZIJSE4OZo9stoVjC/zc7ky+zH9hXwVwDpTAWWLrgS3QAe8AZgaAJI5zYAmc8r0G4AHYHQKVwII8PZrZFsBFkeRCABYiMh9BRUhnSkPTNCtVXYXURi1FpBDgArj8QU1eVXUzfnjv7yP7kwu1mYrkWlU33vs1QNu2qU8pwN0UpKoqokjWwCztrMuBhEhmh8bD5UDqur75asbcX0BGUB9/HAMB+r32hznJgXy2v0sGLBcyAJ1EK3LFcbo1s91JeLwAbwGYu7TP/3ZGfnXYPgAVNngtqatUNgAAAABJRU5ErkJggg==);
}

.comments .comment-replies {
    margin-left: 36px;
    margin-top: 1em;
}

.comments .comment-thread.inline-thread {
    background: transparent;
    border-left: 1px solid rgba(255, 255, 255, .25);
    padding: .5em 1em;
}

.comment-footer {
    margin: 1.5em 0 0;
    font-style: italic;
}

/* ---------- Gadgets (barre latérale) ---------- */

.sidebar .widget {
    border-bottom: 2px solid transparent;
    padding-bottom: 10px;
    margin: 10px 0;
    line-height: 1.4;
    font: normal normal 14px Georgia, Utopia, 'Palatino Linotype', Palatino, serif;
    color: #ffffff;
}

.sidebar .widget:first-child { margin-top: 0; }
.sidebar .widget:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.sidebar .widget a:link    { color: #ffffff; text-decoration: none; }
.sidebar .widget a:visited { color: #b87309; }
.sidebar .widget a:hover   { color: #ffffff; text-decoration: underline; }

.sidebar .widget ul {
    padding: 0 0 0 1.25em;
    margin: 0;
    line-height: 1.2;
}

.sidebar .widget li { padding: .25em 0; margin: 0; }

/* Rechercher */
.BlogSearch form { display: flex; gap: 4px; }
.BlogSearch input[type=text] { flex: 1; min-width: 0; font: inherit; padding: 2px 4px; }
.BlogSearch input[type=submit] { font: 13px Arial, sans-serif; }

/* Articles (archive hiérarchique) */
#ArchiveList ul,
#ArchiveList ul.hierarchy { list-style: none; padding: 0; margin: 0; }
#ArchiveList ul ul { padding-left: 15px; }
#ArchiveList ul.posts { padding-left: 1.3em; }
#ArchiveList ul.posts li { padding-left: 15px; text-indent: -15px; }
#ArchiveList li { margin: .25em 0; padding: 0; }
#ArchiveList summary { list-style: none; cursor: pointer; }
#ArchiveList summary::-webkit-details-marker { display: none; }
#ArchiveList summary::before {
    content: "►\00a0";
    color: #ffffff;   /* widget.alternate.text.color */
    font-size: 80%;
    display: inline-block;
    width: 1.2em;
}
#ArchiveList details[open] > summary::before { content: "▼\00a0"; }

/* Qui suis-je ? */
.Profile .profile-img { float: left; margin: 0 5px 5px 0; }
.Profile .profile-datablock { margin: .5em 0; }
.Profile .profile-data { font-weight: bold; margin: 0; }
.Profile .profile-textblock { margin: .5em 0; }
.Profile .widget-content::after { content: ""; display: block; clear: both; }

/* ---------- Pied de page ---------- */

.footer-inner {
    padding: 30px 15px;
    background: transparent;
}

.footer-inner .widget {
    font: normal normal 14px Georgia, Utopia, 'Palatino Linotype', Palatino, serif;
    color: #ffffff;
    text-align: center;
}

/* ---------- Visionneuse de photos ---------- */

body.lb-open { overflow: hidden; }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, .9);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox figcaption { color: #bbb; font-size: 13px; margin-top: 10px; }
.lightbox button {
    background: none;
    border: 0;
    color: #fff;
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
    padding: 10px 18px;
    opacity: .75;
}
.lightbox button:hover, .lightbox button:focus-visible { opacity: 1; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 8px; }
.lightbox .lb-next { right: 8px; }
.lightbox .lb-close { position: absolute; top: 8px; right: 12px; font-size: 38px; }

/* ---------- Petits écrans (Blogger servait une vue mobile séparée) ---------- */

@media (max-width: 1000px) {
    body { background-size: 100% auto; }
    .content-outer { padding-top: 0; }
    .content-inner { padding: 10px; }
    .columns { grid-template-columns: 1fr; }
    .main-inner .column-right-inner { margin-left: 0; margin-top: 20px; }
    .Header h1 { font-size: 42px; }
}
