/* webdesignby site additions, loaded after xo-dna.css. Colors come from Design (--color-* tokens). */

:root{
    --radius: 1.5rem;
    --icon-fill: #455877;
    --icon-webdesignby-fill1: #e6f3ff;
    --icon-webdesignby-fill2: #000000;
    --icon-webdesignby-fill3: #9ec6e8;
}
html[data-xo-theme="dark"]{
    .section-page-title{ background-color: var( --color-medianoche ); }
    --icon-fill: #314f6d;
    --icon-webdesignby-fill2: #2c3856;
    --icon-webdesignby-fill1: #7b9bba;
    --icon-webdesignby-fill3: #3d6a8e;
}
html[data-xo-theme="light"]{
    .section-page-title{ background-color: var( --color-light-blue ); }
    --icon-fill: #455877;
    --icon-webdesignby-fill1: #e6f3ff;
    --icon-webdesignby-fill2: #000000;
    --icon-webdesignby-fill3: #9ec6e8;
}

h1.page-title{ font-weight: 300; }
.section-page-title .page-subtitle{ font-weight: 300; }


.xo-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-bottom: 1rem; }

.xo-section.section-page-cta {
    padding-top: 0px;
}

.xo-section { width: 100%; padding-block: 1.666rem; }

ol.breadcrumb, ul.breadcrumb{ list-style-type: none; padding: .5rem 1rem .5rem 0; margin: 0 0 0 0; display: table; }
ol.breadcrumb li, ul.breadcrumb li{ display: inline-block;  }
ol.breadcrumb li .sep, ul.breadcrumb li .sep{ display: inline-block; padding: 0 .666rem 0 .333rem;  }

#main-content .section-breadcrumbs{ font-size: 1rem; }

@media( min-width: 1024px ){
    #main-content{ font-size: 1.333rem; font-weight: 400; }
    .xo-section { padding-block: 2.666rem; }
    .xo-section.section-page-cta {
        padding-top: 0px;
    }

}

/* --- Article cards (.blog-post-summary): xo-dna .xo-card customized to match webdesignby.com/articles/ ---
   Contrast: light #4b6b94 on #f5f6fa 5.2:1, dark #b5c2dd on #11131f 10:1; button text white on #52709a 5.2:1. */

html[data-xo-theme="light"] {
    --color-card-background: linear-gradient( 0deg, #f2f3fa 0%, #fafafa 100% );
    --color-card-border: transparent;
    --card-accent: #4b6b94;
    --card-button-background: #52709a;
    --card-button-background-hover: #415d85;
}
html[data-xo-theme="dark"] {
    --color-card-background: linear-gradient( 0deg, #161829 0%, #0b0c14 100% );
    --color-card-border: transparent;
    --card-accent: #b5c2dd;
    --card-button-background: linear-gradient( 180deg, #3d4f8a 0%, #2c3a6b 100% );
    --card-button-background-hover: linear-gradient( 180deg, #4a5e9e 0%, #364580 100% );
}

.blog-post-summary.xo-card {
    --xo-card-radius: 1.666rem;
    --xo-card-padding: 1.333rem 1.333rem 1.333rem 1.333rem;
    --xo-card-gap: 1rem;
    margin-bottom: 1.666rem;
    border: 0;
}
.blog-post-summary .xo-card__title { font-size: 1.25em; margin-bottom: .5rem; }
.blog-post-summary .xo-card__title a,
.blog-post-summary .xo-card__meta,
.blog-post-summary .xo-card__meta a { color: var( --card-accent ); }
.blog-post-summary .xo-card__meta { font-size: 1em; font-weight: 400; margin-bottom: .666rem; }
.blog-post-summary .post-thumbnail-inner { display: block; }
.blog-post-summary .xo-card__text { line-height: 1.5; }
.blog-post-summary .xo-button.btn-learn-more {
    padding: .333rem 1.333rem;
    border: 0;
    border-radius: .666rem;
    background: var( --card-button-background );
    color: #ffffff;
    line-height: 1.5;
}
.blog-post-summary .xo-button.btn-learn-more:hover,
.blog-post-summary .xo-button.btn-learn-more:focus { background: var( --card-button-background-hover ); color: #ffffff; }

@media( min-width: 512px ){
    .blog-post-summary.xo-card { margin-bottom: 3.333rem; }
}


svg .icon-fill{ fill: var( --icon-fill ); }
svg .webdesignby-fill1{ fill: var( --icon-webdesignby-fill2 ); }
svg .webdesignby-fill2{ fill: var( --icon-webdesignby-fill1 ); }
svg .webdesignby-fill3{ fill: var( --icon-webdesignby-fill3 ); }

/* --- Contact form: matches webdesignby.com (square-ish bordered fields, bold placeholders, slate button) ---
   Contrast: dark placeholder #b5c2dd on #000 11:1; light placeholder #1c2433 on #fff 15:1; borders #8a8a8a / #767676 >= 3:1;
   button text white on #52709a 5.2:1 (light) / on #2c3a6b+ (dark). */

html[data-xo-theme="light"] { --color-field-background: #ffffff; --color-field-text: #1c2433; --color-field-placeholder: #1c2433; --color-field-border: #767676; }
html[data-xo-theme="dark"]  { --color-field-background: #000000; --color-field-text: #ffffff; --color-field-placeholder: #b5c2dd; --color-field-border: #8a8a8a; }

#main-content .form-section.float-label .form-field input[type="text"],
#main-content .form-section.float-label .form-field input[type="email"],
#main-content .form-section.float-label .form-field input[type="tel"] {
    border-radius: 2px; padding: 1.5rem 1rem; font-size: 1.25rem;
}
#main-content .form-section.float-label .form-field textarea { border-radius: 2px; font-size: 1.25rem; min-height: 10rem; }
#main-content .form-section.float-label .form-field ::placeholder { font-weight: 800; }
#main-content .form-section.float-label .form-field.textarea label { font-size: 1.5rem; font-weight: 400; margin-top: 1.5rem; }

#main-content #contactSubmitBtn.xo-button {
    padding: .5rem 1.5rem; font-size: 1.5rem; font-weight: 600; border: 0; border-radius: 1rem;
    background: var( --card-button-background ); color: #ffffff;
}
#main-content #contactSubmitBtn.xo-button:hover,
#main-content #contactSubmitBtn.xo-button:focus { background: var( --card-button-background-hover ); color: #ffffff; }
#main-content .recaptcha-disclaimer { font-size: 1.1rem; line-height: 1.6; color: inherit; }
#main-content .recaptcha-disclaimer a { text-decoration: none; color: var( --card-accent ); }
