/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0.6
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
/* DiTELL footer contrast 2026-10-14 */
.ditell-readable-footer, .ditell-readable-footer h1, .ditell-readable-footer h2, .ditell-readable-footer h3, .ditell-readable-footer p, .ditell-readable-footer a { color: #f5f5f5 !important; }
.ditell-readable-footer a:not(.button):hover, .ditell-readable-footer a:not(.button):focus { color: #ffffff !important; text-decoration: underline; }

/* DiTELL article submissions page 2026-10-14 */
.ditell-submissions-section { background:#f9f8f5; }
.ditell-submissions-section .ditell-eyebrow { color:#8d7250; font-size:.78rem; font-weight:700; letter-spacing:.22em; }
.ditell-submissions-section h2 { font-size:clamp(2rem,4vw,3.4rem); line-height:1.12; margin-bottom:.5em; }
.ditell-submit-form { background:#fff; border:1px solid #e6e0d6; border-top:5px solid #b49b71; box-shadow:0 20px 55px rgba(23,23,23,.08); padding:clamp(22px,4vw,52px); margin-top:34px; color:#262626; }
.ditell-submit-form .ditell-form-heading { border-bottom:1px solid #e9e5dd; padding-bottom:14px; margin:33px 0 24px; }
.ditell-submit-form .ditell-form-heading:first-child { margin-top:0; }
.ditell-submit-form .ditell-form-heading span { color:#977958; font-size:.76rem; font-weight:700; letter-spacing:.16em; }
.ditell-submit-form .ditell-form-heading h3 { color:#161616; font-size:1.55rem; margin:.4em 0 0; }
.ditell-submit-form .ditell-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 24px; }
.ditell-submit-form label { display:block; font-weight:600; color:#292929; margin:0 0 19px; }
.ditell-submit-form .wpcf7-form-control-wrap { display:block; margin-top:9px; }
.ditell-submit-form input:not([type=checkbox]):not([type=submit]), .ditell-submit-form textarea, .ditell-submit-form select { width:100%; max-width:100%; min-height:48px; border:1px solid #d7d1c8; background:#fbfaf8; color:#202020; padding:11px 14px; box-shadow:none; border-radius:2px; }
.ditell-submit-form textarea { min-height:130px; resize:vertical; }
.ditell-submit-form input:focus-visible, .ditell-submit-form textarea:focus-visible, .ditell-submit-form select:focus-visible { outline:2px solid #a78251; outline-offset:2px; }
.ditell-submit-form .wpcf7-acceptance label { display:flex; gap:10px; align-items:flex-start; font-weight:400; line-height:1.5; }
.ditell-submit-form .wpcf7-acceptance input { margin-top:5px; flex:none; }
.ditell-submit-form .ditell-form-note { font-size:.85rem; color:#65615a; margin:-3px 0 23px; }
.ditell-submit-form input[type=submit] { background:#191919; color:#fff; font-weight:700; letter-spacing:.05em; border:1px solid #191919; padding:15px 25px; min-height:52px; cursor:pointer; }
.ditell-submit-form input[type=submit]:hover, .ditell-submit-form input[type=submit]:focus-visible { background:#836a4b; border-color:#836a4b; color:#fff; }
.ditell-submit-form .wpcf7-not-valid-tip { color:#a52222; }
@media(max-width:650px){.ditell-submit-form .ditell-form-grid{grid-template-columns:1fr;gap:0}.ditell-submit-form input[type=submit]{width:100%;white-space:normal}}

/* DiTELL editorial open call, scoped to the submission page */
.ditell-call-hero{background-image:radial-gradient(circle at 14% 25%,rgba(160,120,70,.17),transparent 35%),linear-gradient(145deg,#1b1915,#0f100f)!important;overflow:hidden}
.ditell-call-hero .row{align-items:center}.ditell-call-hero h1,.ditell-editorial-story h2,.ditell-call-process h2,.ditell-premium-form h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-.045em;line-height:1.04}
.ditell-call-hero h1{color:#fff;font-size:clamp(2.8rem,5vw,5.8rem);margin:.34em 0}.ditell-call-hero h1 em,.ditell-call-process h2 em{color:#d1b68a;font-weight:400}.ditell-call-kicker,.ditell-section-index,.ditell-cover-caption,.ditell-archive-caption,.ditell-call-volume{font-size:.72rem!important;font-weight:700;letter-spacing:.2em;line-height:1.6}.ditell-call-kicker,.ditell-section-index{color:#ba965d}.ditell-call-kicker span{color:#fff}.ditell-call-lead{color:#e1d9cd;font-size:clamp(1.05rem,1.6vw,1.35rem);line-height:1.7;max-width:37rem}.ditell-call-volume{color:#a99d8b;border-top:1px solid #685b48;padding-top:1.3rem;margin-top:2rem}.ditell-cover-caption{color:#c6b292;text-align:center;margin:1.4rem 0 0}.ditell-call-hero .ditell-feature-cover img{max-height:540px;width:auto!important;margin:auto;object-fit:contain;box-shadow:24px 30px 42px rgba(0,0,0,.46);transform:rotate(3deg)}.ditell-call-hero .button{margin-top:1rem;border-color:#c9a46e!important;color:#fff!important;padding:0 1.4rem;letter-spacing:.1em}.ditell-call-hero .button:hover{background:#c9a46e!important;color:#171614!important}
.ditell-editorial-story h2,.ditell-premium-form h2{color:#25211c;font-size:clamp(2.4rem,4vw,4.6rem)}.ditell-editorial-story h2 em,.ditell-premium-form h2 em{color:#a37e4e}.ditell-editorial-story p:not(.ditell-section-index):not(.ditell-archive-caption),.ditell-premium-form p:not(.ditell-section-index){font-size:1.08rem;line-height:1.75;color:#494237}.ditell-editorial-story .ditell-cover-image img{aspect-ratio:3/4;object-fit:cover;box-shadow:12px 18px 34px #1d191a37}.ditell-editorial-story .col-inner:nth-child(2) .ditell-cover-image{transform:translateY(24px)}.ditell-archive-caption{color:#776e62;margin-top:2rem}
.ditell-call-process h2{color:#fff;font-size:clamp(2.4rem,4vw,4.5rem);margin:.3em 0 .8em}.ditell-process-card{min-height:245px;border-top:2px solid #b99b69;background:#25231f;padding:30px 26px;height:100%}.ditell-process-card span{font-size:.72rem;color:#cdb68e;letter-spacing:.18em;font-weight:700}.ditell-process-card h3{font-family:Georgia,serif;font-weight:400;color:#fff;font-size:1.6rem;margin:1.2rem 0 .6rem}.ditell-process-card p{color:#ded7cc;line-height:1.6}
.ditell-premium-form .ditell-form-aside{border-top:1px solid #d0c5b4;padding-top:1.5rem;margin-top:2rem;overflow-wrap:anywhere}.ditell-premium-form .ditell-form-aside a{color:#795b36;text-decoration:underline}.ditell-premium-form #ditell-article-form{scroll-margin-top:100px}.ditell-premium-form .ditell-submit-form{margin:0;border:1px solid #d4c7b3;border-top:6px solid #b59464;background:#fffdf9;box-shadow:0 24px 60px #31291e26;padding:clamp(24px,4vw,52px)}.ditell-premium-form .ditell-form-heading{border-bottom:1px solid #d8caba;display:flex;gap:17px;align-items:baseline;margin:40px 0 22px}.ditell-premium-form .ditell-form-heading:first-child{margin-top:0}.ditell-premium-form .ditell-form-heading span{flex:none;color:#8e693c}.ditell-premium-form .ditell-form-heading h3{font-family:Georgia,serif;font-weight:400;font-size:clamp(1.45rem,2vw,2rem);letter-spacing:-.025em}.ditell-premium-form .ditell-submit-form label{color:#29251f;font-size:.94rem}.ditell-premium-form .ditell-submit-form input:not([type=checkbox]):not([type=submit]),.ditell-premium-form .ditell-submit-form textarea,.ditell-premium-form .ditell-submit-form select{min-height:54px;background:#f8f5ef;border:1px solid #d3c8ba;border-radius:0;transition:border-color .2s,box-shadow .2s}.ditell-premium-form .ditell-submit-form textarea{min-height:146px}.ditell-premium-form .ditell-submit-form :is(input,textarea,select):focus{border-color:#947044;box-shadow:0 0 0 3px #b08e5b27}.ditell-premium-form .ditell-submit-form input[type=file]{height:auto;padding:14px;cursor:pointer}.ditell-premium-form .ditell-submit-form .wpcf7-acceptance{display:block;background:#f8f5ef;border-left:3px solid #c7ab7e;padding:15px 17px;margin:12px 0}.ditell-premium-form .ditell-submit-form input[type=submit]{width:100%;background:#1f1c19;border-color:#1f1c19;padding:20px;font-size:.84rem;letter-spacing:.16em}.ditell-premium-form .ditell-submit-form input[type=submit]:hover{background:#9c7748;border-color:#9c7748}
@media(max-width:849px){.ditell-call-hero .ditell-feature-cover img{max-height:430px}.ditell-premium-form .ditell-form-aside{margin-bottom:2rem}}@media(max-width:600px){.ditell-call-hero h1{font-size:2.7rem}.ditell-call-hero .ditell-feature-cover img{max-height:370px;margin:25px auto 0;transform:rotate(2deg)}.ditell-editorial-story .ditell-cover-image img{aspect-ratio:3/4}.ditell-premium-form .ditell-form-heading{display:block}.ditell-premium-form .ditell-submit-form{padding:22px}.ditell-process-card{min-height:0}}

/* DiTELL dark-section contrast correction 2026-10-14 */
.section.ditell-call-hero .section-content :is(h1,h2,h3),.section.ditell-call-process .section-content :is(h1,h2,h3),.section.ditell-call-process .ditell-process-card h3{color:#fff!important}
.section.ditell-call-hero .section-content :is(p,.text),.section.ditell-call-process .section-content :is(p,.text){color:#eee9df!important}
.section.ditell-call-hero .section-content :is(.ditell-call-kicker,.ditell-cover-caption),.section.ditell-call-process .section-content :is(.ditell-section-index,.ditell-process-card span){color:#dec290!important}
.section.ditell-call-hero .section-content h1 em,.section.ditell-call-process .section-content h2 em{color:#dec290!important}
.section.ditell-call-process .ditell-process-card{background-color:#25231f!important}.section.ditell-call-process .ditell-process-card p{color:#eee9df!important}
.section.ditell-call-hero .button.is-outline{color:#fff!important;border-color:#dec290!important}.section.ditell-call-hero .button.is-outline:hover{color:#171614!important;background:#dec290!important}

/* DiTELL Blog archive */
.ditell-blog-index{background:#f2eee6}.ditell-blog-hero{padding:82px 0;background:radial-gradient(circle at 10% 10%,#403425,#171613 55%);color:#f6f0e7}.ditell-blog-hero .row,.ditell-blog-feed .row{max-width:1200px}.ditell-blog-kicker{font-size:.73rem;letter-spacing:.2em;font-weight:700;color:#c8a874!important}.ditell-blog-hero h1,.ditell-blog-feed h2{font:400 clamp(2.7rem,5vw,5.5rem)/1.05 Georgia,serif;letter-spacing:-.045em}.ditell-blog-hero h1{color:#fff!important;margin:.3em 0}.ditell-blog-hero h1 em{color:#d9b987}.ditell-blog-hero p:not(.ditell-blog-kicker){color:#eee8dd!important;font-size:1.17rem;line-height:1.75;max-width:34rem}.ditell-blog-hero .button{color:#fff;border-color:#d9b987;padding:0 1.4rem;letter-spacing:.08em}.ditell-blog-hero .button:hover{background:#d9b987;color:#171613}.ditell-blog-cover{text-align:center}.ditell-blog-cover img{max-width:310px;max-height:460px;object-fit:contain;transform:rotate(3deg);box-shadow:25px 25px 38px #0008}.ditell-blog-cover small{display:block;color:#cdb994;letter-spacing:.15em;font-size:.7rem;margin:25px 0 0}.ditell-blog-feed{padding:82px 0 105px}.ditell-blog-feed h2{font-size:clamp(2.3rem,4vw,4.2rem);color:#29231e}.ditell-blog-feed h2 em{color:#987341}.ditell-blog-categories{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0 32px}.ditell-blog-categories:empty{display:none}.ditell-blog-categories a{border:1px solid #cbbba3;padding:8px 15px;color:#534332;font-size:.81rem}.ditell-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px}.ditell-blog-card{background:#fff;box-shadow:0 14px 35px #291d1420}.ditell-blog-card-media{display:block;aspect-ratio:4/3;overflow:hidden;background:#ddd4c5}.ditell-blog-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.ditell-blog-card:hover img{transform:scale(1.04)}.ditell-blog-card-body{padding:26px}.ditell-blog-meta{font-size:.71rem;letter-spacing:.12em;color:#8f7046}.ditell-blog-card h3{font:400 1.55rem/1.25 Georgia,serif;margin:14px 0}.ditell-blog-card h3 a{color:#28231d}.ditell-blog-card p{color:#5d554d;line-height:1.6}.ditell-blog-read,.ditell-blog-empty>a{font-size:.78rem;font-weight:700;letter-spacing:.1em;color:#806039}.ditell-blog-empty{border-top:3px solid #b38e58;background:#fff;padding:clamp(30px,5vw,60px);max-width:760px;box-shadow:0 20px 45px #3026191b}.ditell-blog-empty span{font-size:.76rem;letter-spacing:.19em;color:#9d7645}.ditell-blog-empty h3{font:400 clamp(1.9rem,3vw,3rem)/1.15 Georgia,serif;margin:17px 0;color:#29231e}.ditell-blog-empty p{font-size:1.08rem;line-height:1.75;color:#544b43}.ditell-blog-pagination{margin-top:35px}.ditell-blog-pagination .nav-links{display:flex;gap:12px}
@media(max-width:849px){.ditell-blog-hero,.ditell-blog-feed{padding:55px 0}.ditell-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.ditell-blog-hero,.ditell-blog-feed{padding:42px 0}.ditell-blog-cover img{max-width:68%;margin:32px auto 0}.ditell-blog-grid{grid-template-columns:1fr}.ditell-blog-hero h1{font-size:2.9rem}.ditell-blog-feed h2{font-size:2.5rem}}

body.page-id-83 .section .button{white-space:normal;height:auto;line-height:1.35;padding:14px 20px;max-width:100%;text-align:center}

/* ditell-secondary-dark-label: native Flatsome secondary background, readable dark lettering. */
body .button.secondary:not(.is-outline), body .button.secondary:not(.is-outline):hover, body .button.secondary:not(.is-outline):focus, body .button.secondary:not(.is-outline) span, body .button.secondary:not(.is-outline):hover span {color:#171614!important}

/* DiTELL About Us: equal-height narrative cards per desktop row. */
@media (min-width:850px){body.page-id-95 .ditell-about-equal-cards .col{display:flex}body.page-id-95 .ditell-about-equal-cards .col>.col-inner{width:100%;height:100%}}

/* CF7 wraps each pre-existing two-column field group in a paragraph. */
body.page-id-106 .ditell-submit-form .ditell-form-grid{display:block}
body.page-id-106 .ditell-submit-form .ditell-form-grid>p{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin:0}
body.page-id-106 .ditell-submit-form .ditell-form-grid>p>label{min-width:0;margin:0}
@media(max-width:650px){body.page-id-106 .ditell-submit-form .ditell-form-grid>p{grid-template-columns:1fr;gap:0}}

/* DiTELL mobile text reflow: long words and contact links must stay inside the phone viewport. */
@media (max-width: 849px) {
  #main :is(h1, h2, h3, p, li),
  #footer :is(h1, h2, h3, p, a) { overflow-wrap: anywhere; }
}

/* Ditell: only header assignment CTA matches warm-gold topbar artwork. */
#header .header-button a.button[href="/submit-article/"] { background-color:#dec5a3!important; background-image:none!important; border-color:#dec5a3!important; color:#171614!important; }
#header .header-button a.button[href="/submit-article/"]:hover, #header .header-button a.button[href="/submit-article/"]:focus-visible { background-color:#f0d7b5!important; border-color:#f0d7b5!important; color:#171614!important; }
