/*
Theme Name: Durango 100 Astra Child
Description: PHP restoration of the archived Durango 100 website.
Template: astra
Version: 1.0.07
Text Domain: durango100
*/

html, body, div, span, h1, h2, h3, p, a, img, ul, li {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #fff; color: #333; font-family: Arial, Helvetica, sans-serif; }
body .site, body .site-content, body .ast-container, body #primary, body .content-area, body .entry-content { width: 100%; max-width: none; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }
a { color: #03c; }

.d100-header {
    width: 100%;
    height: 301px;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto 301px;
}

.d100-header__logo {
    display: block;
    width: 1000px;
    max-width: calc(100% - 30px);
    margin: auto;
    padding-top: 50px;
}

.d100-header__logo img { display: block; width: 1000px; margin: auto; }
.d100-nav { width: 1000px; max-width: calc(100% - 30px); margin: 20px auto 0; }
.d100-nav ul { display: flex; align-items: center; justify-content: space-between; list-style: none; }
.d100-nav li { padding: 0 14px; font-family: Arial, Helvetica, sans-serif; font-weight: bold; white-space: nowrap; }
.d100-nav a { color: #666; text-decoration: none; }
.d100-nav a:hover { color: #b15626; text-decoration: underline; }

.d100-date { width: 1000px; max-width: calc(100% - 30px); margin: 36px auto 0; color: #333; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 70px; font-weight: 200; text-align: center; }
.d100-finishers { display: grid; width: 1000px; max-width: calc(100% - 30px); grid-template-columns: repeat(4, 1fr); gap: 35px; margin: 30px auto 55px; padding: 20px 0; border-top: 1px solid #888; border-bottom: 1px solid #888; }
.d100-finisher { font-size: 14px; text-align: center; }
.d100-finisher img { display: block; width: 200px; margin: 8px auto 0; }

.d100-intro { display: grid; width: 1000px; max-width: calc(100% - 30px); min-height: 450px; grid-template-columns: 450px 500px; justify-content: space-between; margin: auto; padding-top: 20px; }
.d100-intro__copy { padding: 5px; color: #333; font-size: 20px; line-height: 32px; text-align: justify; }
.d100-intro__copy a { color: #03c; text-decoration: none; }
.d100-intro__copy a:hover { color: #b15626; text-decoration: underline; }
.d100-register { display: block; margin-top: 22px; }
.d100-register img { display: block; width: 465px; }
.d100-intro__photo img { display: block; width: 483px; }

.d100-sponsors { display: flex; width: 1020px; max-width: calc(100% - 30px); align-items: flex-start; gap: 8px; margin: auto; padding-left: 30px; }
.d100-sponsors img { display: block; }
.d100-sponsor-heading { width: 469px; }
.d100-sponsor-logo { width: 172px; }

.d100-course { display: grid; width: 1000px; max-width: calc(100% - 30px); min-height: 1025px; grid-template-columns: 580px 390px; justify-content: space-between; margin: auto; padding-top: 60px; font-family: Arial, Helvetica, sans-serif; }
.d100-course__visuals img { display: block; }
.d100-course__visuals img + img { margin-top: 45px; }
.d100-course__details { padding: 0 5px 0 25px; text-align: justify; }
.d100-course__details h1 { margin-top: 18px; font-size: 24px; }
.d100-course__details p { margin: 0 0 16px; }
.d100-course__details .d100-description { width: 390px; }
.d100-course__details .d100-lunch { float: right; width: 193px; margin: 0 0 10px 12px; }

.d100-footer { position: relative; width: 100%; min-height: 362px; background-position: center; background-repeat: no-repeat; background-size: auto 362px; }
.d100-footer__inner { width: 1600px; max-width: calc(100% - 60px); margin: auto; padding-top: 53px; font-family: Arial, Helvetica, sans-serif; }
.d100-contact { padding-left: 25px; color: #000;   line-height: 1.25; }
.d100-contact__title { display: block; margin-bottom: 58px;  }
.d100-contact__details a { color: inherit; text-decoration: none; }
.d100-footer-menu { position: absolute; top: 53px; right: max(55px, calc((100% - 1600px) / 2 + 25px)); max-width: 700px; }
.d100-footer-menu ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.d100-footer-menu a { color: #000; font-size: 16px; font-weight: bold; text-decoration: none; }
.d100-footer-menu a:hover { color: #fff; text-decoration: underline; }
.d100-copyright { position: absolute; right: 0; bottom: 0; left: 0; display: grid; height: 32px; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 max(30px, calc((100% - 1600px) / 2)); color: #fff;  font-weight: bold; line-height: 1; text-align: center; }
.d100-copyright span { grid-column: 2; }
.d100-copyright a { grid-column: 3; justify-self: end; }
.d100-copyright a { color: #fff; text-decoration: none; }
.d100-copyright a:hover { color: #9ff; text-decoration: underline; }

.d100-page { width: 1000px; max-width: calc(100% - 30px); margin: 45px auto 90px; }
.d100-page h1 { margin-bottom: 30px; font-size: 32px; }
.d100-information { max-width: 760px; font-size: 16px; line-height: 1.55;    width: auto;
    padding: 0 30px; }
.d100-information h1, .d100-information h2 { text-align: center; }
.d100-information h2 { margin: 12px 0 25px; font-size: 18px; }
.d100-information ul { margin: 20px 0 20px 40px; }
.d100-information__thanks { margin-top: 25px; text-align: center; }

.d100-gallery-section { margin-bottom: 45px; }
.d100-gallery-section h1 { margin-bottom: 18px; }
.d100-gallery-grid { column-count: 5; column-gap: 0; line-height: 0; }
.d100-gallery-grid img { display: block; width: 100%; break-inside: avoid; }

.d100-generic { width: 1000px; max-width: calc(100% - 30px); min-height: 380px; margin: 50px auto; }
.d100-generic h1 { margin-bottom: 24px; }

.d100-blog, .d100-single { width: 1000px; max-width: calc(100% - 30px); min-height: 500px; margin: 60px auto 100px; }
.d100-blog__title, .d100-single-post h1 { margin-bottom: 45px; color: #333; font-size: 36px; }
.d100-post-list { display: grid; gap: 55px; }
.d100-post-card { display: grid; grid-template-columns: minmax(240px, .8fr) 1.2fr; gap: 45px; padding-bottom: 55px; border-bottom: 1px solid #aaa; }
.d100-post-card__image img, .d100-single-post__image img { display: block; width: 100%; height: auto; }
.d100-post-card h2 { margin: 5px 0 15px; font-size: 26px; }
.d100-post-card h2 a, .d100-read-more { color: #333; text-decoration: none; }
.d100-post-card h2 a:hover, .d100-read-more:hover { color: #b15626; text-decoration: underline; }
.d100-post-meta { margin-bottom: 8px; color: #777; font-size: 13px; }
.d100-post-excerpt, .d100-single-post__content { font-size: 16px; line-height: 1.65; }
.d100-read-more { display: inline-block; margin-top: 14px; font-weight: bold; }
.d100-single-post { max-width: 850px; margin: auto; }
.d100-single-post__image { margin-bottom: 35px; }
.d100-post-navigation { display: flex; max-width: 850px; justify-content: space-between; gap: 30px; margin: 60px auto 0; padding-top: 25px; border-top: 1px solid #aaa; }
.d100-post-navigation a { color: #333; text-decoration: none; }
.navigation.pagination { margin-top: 50px; }
.nav-links { display: flex; gap: 10px; }
.nav-links a, .nav-links .current { padding: 6px 10px; border: 1px solid #999; color: #333; text-decoration: none; }

@media (max-width: 1020px) {
    .d100-nav ul { flex-wrap: wrap; justify-content: center; gap: 15px 0; }
    .d100-date { font-size: clamp(34px, 7vw, 70px); }
    .d100-finishers { grid-template-columns: repeat(2, 1fr); }
    .d100-intro, .d100-course { grid-template-columns: 1fr; gap: 35px; }
    .d100-intro { min-height: 0; }
    .d100-intro__photo img, .d100-register img { margin: auto; }
    .d100-sponsors { flex-wrap: wrap; justify-content: center; padding-left: 0; }
    .d100-sponsor-heading { width: 100%; }
    .d100-sponsor-heading img { margin: auto; }
    .d100-course { min-height: 0; padding-bottom: 70px; }
    .d100-course__visuals img { margin-right: auto; margin-left: auto; }
    .d100-course__details { padding-left: 5px; }
    .d100-gallery-grid { column-count: 2; }
    .d100-post-card { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .d100-header { height: 190px; background-size: auto 190px; }
    .d100-header__logo { padding-top: 30px; }
    .d100-nav { margin-top: 14px; }
    .d100-nav li { padding: 0 8px; font-size: 12px; }
    .d100-finishers { grid-template-columns: 1fr; }
    .d100-intro__copy { font-size: 16px; line-height: 1.6; }
    .d100-sponsor-logo { width: 30%; }
    .d100-course__details .d100-description { width: 100%; }
    .d100-gallery-grid { column-count: 1; }
    .d100-footer__inner { max-width: calc(100% - 30px); padding-top: 45px; }
    .d100-contact { padding-left: 0;   }
    .d100-contact__title { margin-bottom: 35px; }
    .d100-copyright { height: 32px; grid-template-columns: 1fr auto; padding: 0 15px; }
    .d100-copyright span { grid-column: 1; justify-self: start; }
    .d100-copyright a { grid-column: 2; }
    .d100-footer-menu { top: 42px; right: 15px; left: 45%; }
    .d100-footer-menu ul { gap: 8px 14px; }
    .d100-footer-menu a { font-size: 12px; }
}
