/*
* Petra Creative One Page Template V1.0
* Version 1.0
* Copyright 2014, Limitless SARL
* www.limitless.ma
*/


/* Table of Content
==================================================
	#Header
	#Home
	#Slider
	#About
	#Team
	#Services
	#Quotes
	#Works
	#Contact
	#Footer
	#Misc 
==================================================*/


/*Header*/
header {
    background-color: transparent;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Desktop: solid cream bar with the hero sitting BELOW it, rather than the
   photo being pulled up behind a floating header. Cream matches the top of
   the hero gradient; a soft shadow separates the bar from the hero.
   !important on the background is required because petra.min.js animates an
   opaque #ebe0d7 inline background onto <header> on scroll (same colour, so
   harmless), which would otherwise win.
   Left to mobile (<=767px) untouched: there the menu is a hamburger.

   The photo keeps its original box position (top ~-140): its top tucks behind
   the opaque bar and it stays framed correctly in the visible hero below. */
@media screen and (min-width: 768px) {
    header {
        background-color: #ebe0d7 !important;
        box-shadow: 0 1px 6px rgba(60, 52, 45, 0.12);
    }
}

.header {
    position: relative;
    width: 100%;
}

.logo {
    background-image: url(../images/valentina-rotaru-logo.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    height: 77px;
    margin: 16px 0 12px 0;
    width: 164px;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}


.logo:hover {
    opacity: 0.7;
}

nav#navigation {
    float: right;
    margin-top: 0px;
}

nav#navigation li {
    display: inline-block;
    position: relative;
}

nav#navigation li a {
    color: #3C342D;
    font-family: "QuickSand";
    font-size: 14px;
    display: block;
    padding: 12px 13px;
    position: relative;
    text-transform: uppercase;
}

nav#navigation li a:hover {
    color: #878787;
}

nav#navigation a:after {
    border-bottom: 2px solid transparent;
    content: "";
    display: block;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    top: 6px;
    width: 14px;
    z-index: 0;
}

nav#navigation a.active {
    color: #878787;
}

nav#navigation a.active:after {
    border-bottom: 2px solid #878787;
    content: "";
    display: block;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    top: 6px;
    width: 14px;
    z-index: 0;
}

.mobile-navigation {
    background-color: transparent;
    background-image: url(../images/mobile-navigation.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: none;
    height: 21px;
    opacity: 0.75;
    position: absolute;
    right: 5px;
    text-align: center;
    top: 23px;
    width: 21px;
    z-index: 1000;
}

.mobile-navigation:hover {
    opacity: 1;
}

.mobile-navigation i {
    font-size: 16px;
    color: #111111;
}

/*Header*/


/*Home*/
.home {
    background-color: #fafafa;
    overflow: hidden;
    position: relative;
    height: 100vh !important;
    height: 100vh !important;
    height: 100svh !important;
}

.home .overlay {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    position: absolute;
    width: 100%;
    z-index: 10;
}

.home .video {
    background-image: url(../video/home.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    left: 0px;
    padding: 0px;
    position: absolute;
    top: 0px;
}

.home video {
    position: relative;
}

.home .image {
    background-image: url(../images/backgrounds/home.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    left: 0px;
    padding: 0px;
    top: 0px;
}

.home .error {
    background-image: url(../images/backgrounds/error.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    left: 0px;
    padding: 0px;
    top: 0px;
}

.home .error p {
    color: #ffffff;
    margin-bottom: 20px;
}

.home .image .overlay, .home .error .overlay {
    position: relative !important;
}

.home .text {
    display: table;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.home .text .inner {
    text-align: left;
    vertical-align: text-top;
    width: 640px;
    display: table-cell;
}

#center-page-title-container {
    top: 300px;
    color: white;
}

#center-page-title {
    text-align: center;
    padding-top: 0em;
}

.center-page-title-component {
    color: #EBE0D7 !important;
    /*
    text-shadow: -2px -2px 0 #000, 2px -2px 0 #000,
          -2px 2px 0 #000, 2px 2px 0 #000; color: white;
          */
}

.home h1 {
    color: #3c342d;
    font-size: 60px;
    font-weight: normal;
    margin-bottom: 30px;
    text-transform: uppercase;

}

.home p {
    color: #3c342d;
    font-size: 2.5em;
    font-family: "QuickSand";
    font-weight: bold;
    margin-bottom: 1em;
    text-transform: uppercase;
}

.last-descriptor {
    font-size: 1.8em !important;
}

.home span {
    color: #acacac;
    cursor: pointer;
    font-family: "QuickSand";
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
    text-transform: none;
}

.home span:hover {
    color: #ffffff;
}

.home .arrow {
    bottom: 30px;
    height: 15px;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 200;
}

.home .arrow a {
    background-image: url(../images/arrow-bottom.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    display: block;
    height: 20px;
    margin: 10px auto 0px auto;
    opacity: 0.5;
    text-indent: -9999px;
    width: 33px;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

.home .arrow a:hover {
    opacity: 1;
}

/*Home*/


/*Main slider*/
.main-slider {
    margin-top: 0px !important;
    overflow: hidden;
    position: relative;
}

.main-slider .slides li {
}

.main-slider .slides li:before {
    height: 100%;
    width: 100%;
    content: "";
    position: absolute;
}

.flex-direction-nav a {
}

.main-slider .flex-control-nav {
    /*display:none;*/
}

/*Main slider*/


/*About*/
div.about p {
    
}

div.about button {
    
}

/*About*/


/*Team*/
section.team {
    background-color: #f6f6f6;
}

div.team {
}

div.team img {
    border: none;
    border-radius: 2px;
    height: 260px;
    margin-bottom: 25px;
    opacity: 1;
    width: 260px;
}

div.team h2 {
    text-align: center;
    font-size: 22px;
    font-family: "QuickSand";
    color: #000000;
    font-weight: 400;
    margin-top: 0px;
    padding-bottom: 30px;
}

div.team h2 span {
    color: #be953d;
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    padding-top: 10px;
}

div.team p {
    border-top: 1px solid #cccccc;
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 30px;
    margin: 0 auto;
    padding-top: 20px;
}

/*Team*/


/*Team*/


/*Services*/
div.service {
    display: table;
    margin-top: 30px;
}

div.service .inner {
    border: 1px solid #cccccc;
    border-radius: 2px;
    padding: 0px 20px 35px;
}

div.service .icon {
    background-color: #fff;
    color: #bf963d;
    font-size: 72px;
    height: 80px;
    margin: 0px auto;
    padding: 10px;
    position: relative;
    top: -60px;
    width: 80px;
}

div.service .icon img {
    height: 48px;
    width: 48px;
}

div.service h3 {
    color: #000;
    font-size: 22px;
    font-weight: 400;
    line-height: 36px;
    margin-bottom: 0px;
    position: relative;
    top: -40px;
}

div.service p {
    border-top: 1px solid #cccccc;
    display: table-cell;
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.2px;
    line-height: 30px;
    margin: 0 auto;
    padding-top: 25px;
    position: relative;
    top: -10px;
}

/*Services*/


/*Quotes*/
.quotes {
    background: url(../images/backgrounds/quotes.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #ffffff;
}

.quotes .overlay {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
}

.quotes .quotes-icon {
    background-image: url(../images/quote.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    height: 22px;
    width: 27px;
}

.quotes .quotes-slider {
    width: 800px;
    margin-top: 55px;
}

.quotes .quotes-slider .quotes-icon {
    bottom: 40px;
    color: #ffffff;
    display: block;
    font-size: 36px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    width: 50px;
}

.quotes .quotes-slider li {
    padding-bottom: 30px;
    text-align: center;
}

.quotes .quotes-slider li blockquote {
    color: #ffffff;
    font-family: "QuickSand";
    font-size: 30px;
    line-height: 48px;
}

.quotes .quotes-slider li blockquote:after {
    border-bottom: 2px solid #ffffff;
    content: "";
    display: block;
    position: relative;
    top: 10px;
    width: 20px;
    z-index: 0;
    margin-right: auto;
    margin-left: auto;
}

.quotes .quotes-slider li h3 {
    color: #ffffff;
    font-family: "QuickSand";
    font-size: 14px;
    font-weight: 700;
    opacity: 0.5;
    padding-top: 40px;
    padding-bottom: 50px;
    text-transform: uppercase;
}

/*Quotes*/


/*Works*/
section.works {
    background-color: #141414;
}

section.works .title {
    color: #ffffff;
}

section.works .title:after {
    border-bottom: 2px solid #ffffff;
}

section.works .contact-button {
    margin-top: 80px;
}

.work {
    height: 319px !important;
    display: inline;
    margin-left: 0px !important;
    margin-right: 1px !important;
    margin-bottom: 1px !important;
    position: relative;
    width: 319px !important;
}

.work img {
    height: 100%;
    width: 100%;
}

.work .info {
    background: rgba(255, 255, 255, 0.9);
    height: 100%;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
}

.work .info h3 {
    color: #000000;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 7px;
}

.work .info p {
    color: #999999;
    font-family: "Open Sans";
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.work .info p:after {
    border-bottom: 2px solid #000000;
    content: "";
    display: block;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    top: 12px;
    width: 14px;
    z-index: 0;
}

.work-preview {
    background: #222222;
    margin-bottom: 90px;
    padding-bottom: 60px;
}

.work-preview-slider {
    margin-top: 0px !important;
    overflow: hidden;
    position: relative;
}

.work-preview-slider .flex-control-nav {
    bottom: 15px !important;
}

.work-preview .info {
    text-align: left;
}

.work-preview h1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 30px;
    text-transform: none;
}

.work-preview h1:after {
    margin-left: 0 !important;
    margin-bottom: 16px;
    top: 22px;
}

.work-preview h1 span {
    color: #bcbcbc;
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 24px;
    text-transform: none;
}

.work-preview p {
    color: #727272;
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.2px;
    line-height: 30px;
}

.work-preview .social-icons {
    border-top: 1px solid #4e4e4e;
    position: absolute;
    bottom: 0px;
}

.work-preview .social-icons ul {
    padding: 0px;
}

.work-preview .social-icons li {
    color: #4e4e4e;
    cursor: pointer;
    display: inline;
    font-size: 14px;
    margin: 0px;
    padding: 20px;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

.work-preview .social-icons li:hover, .work-preview .social-icons li:active {
    color: #ffffff;
}

.work-preview .social-icons li span {
    font-weight: 700;
    padding: 0px;
    position: relative;
    top: -5px;
}

.work-preview .social-icons i {
    font-size: 26px;
    margin-right: 8px;
}

.work-preview .youtube, .work-preview .vimeo, .work-preview .soundcloud, .work-preview video, .work-preview .slider, .work-preview .image, .work-preview img {
    background-color: #000000;
    height: 281px;
    width: 500px;
}

.work-preview .audio {
    background-color: #000000;
    background-position: center center;
    background-repeat: no-repeat;
    height: 281px;
    width: 500px;
}

.work-preview audio {
    background-color: transparent;
    height: 281px;
    width: 500px;
}

.work-preview-close {
    background-image: url(../images/close.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    height: 18px;
    margin: 0px auto 60px;
    opacity: 0.5;
    width: 18px;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

.work-preview-close:hover {
    opacity: 1;
}

/*Works*/

/*Contact*/
section.contact {
    background-attachment: fixed;
    background-color: #fafafa;
    background-image: url(../images/backgrounds/contact.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

section.contact .overlay {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
}

section.contact .title {
    color: #ffffff;
}

section.contact .title:after {
    border-bottom: 2px solid #ffffff;
}

div.contact .form {
    margin: 20px auto 10px;
    width: 580px;
}

div.contact-info {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.60) !important;
    padding: 45px 0px !important;
}

div.contact-info p {
    color: #ffffff;
    font-family: "QuickSand";
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 26px;
}

.form input[type="text"], .form input[type="email"], .form input[type="number"], .form textarea {
    background: transparent;
    border: 2px solid #999999;
    border-radius: 2px;
    font-family: "Open Sans";
    font-size: 14px;
    height: 50px;
    margin-bottom: 16px;
    outline-width: 0;
    padding: 0px 20px;
    width: 550px;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}


.form input[type="text"]:focus, .form input[type="email"]:focus, .form input[type="number"]:focus, .form textarea:focus {
    border: 2px solid #888888;
}

.form input[type="text"] {
    height: 50px;
}

.form input[type="text"]::-webkit-input-placeholder {
    color: #aaaaaa;
}

.form input[type="text"]::-moz-placeholder {
    color: #aaaaaa;
}

.form input[type="text"]:-ms-input-placeholder {
    color: #aaaaaa;
}

.form input[type="text"]:-moz-placeholder {
    color: #aaaaaa;
}

.form textarea {
    height: 170px;
    overflow: auto;
    padding-top: 16px;
    resize: none;
}

.form button {
    margin-top: 40px;
}

#success, #error {
    display: none;
    position: relative;
    margin-top: 30px;
}

#success h2 {
    color: #3da430;
}

#error h2 {
    color: #CE3D3D;
}

.form-error {
    border: 2px solid #da4856 !important;
}

/*Contact*/


/*Footer*/
.footer.offset {
    padding-bottom: 0;
}

div.footer {
    background-color: #ebe0d7;
    padding: 40px 0 90px;
}

/* On mobile the social row is the last thing in the footer, and the 90px
   desktop bottom padding left far more space below the icons than above them
   (~130px vs the 50px `.right` margin-top). Trim the bottom padding so the gap
   below the icons (10px padding + the 40px `.right` margin-bottom = 50px) matches
   the 50px above. */
@media (max-width: 767px) {
    div.footer { padding-bottom: 10px; }
}

div.footer .arrow {
    padding-bottom: 30px;
}

div.footer .arrow a {
    background-image: url(../images/arrow-top.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    display: block;
    height: 15px;
    margin: 0px auto 20px;
    opacity: 0.5;
    text-indent: -9999px;
    width: 28px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

div.footer .arrow a:hover {
    opacity: 1;
}

div.footer .footer-logo {
    background-image: url(../images/valentina-rotaru-logo.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    height: 15px;
    margin-bottom: 10px;
    margin-top: 15px;
    position: relative;
    width: 90px;
}

div.footer .footer-slogan {
    color: #988d89;
    font-family: "Open Sans";
    font-size: 12px;
    font-weight: 400;
    position: relative;
}

div.footer .right {
    text-align: right;
}

div.footer .right li {
    background-color: transparent;
    border: 2px solid #444444;
    border-radius: 9999px;
    color: #444444;
    cursor: pointer;
    /* inline-block (not inline) so the chips' vertical padding counts toward
       layout height — as `inline` the padded circles overflowed below the
       footer's measured height and the bottoms were clipped on narrow screens */
    display: inline-block;
    vertical-align: middle;
    font-size: 30px;
    margin-left: 20px;
    padding: 12px 17px 10px;
}

div.footer .right li:hover {
    background: #fff;
    border: 2px solid #fff;
    color: #000000;
}

div.footer .right li i {
}

/*Footer*/


div.about-us p {
    
}

p.text2 {
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 30px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: left;
    color: #653535;
}

p.text3 {
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2px;
    margin: 0 auto;
    padding-top: 10px;
    text-align: left;
    color: #653535;
}

/* Bold inside body copy should keep the paragraph's colour, not the global
   strong { color:#333 } reset (which left it grey on the brown text). */
.text3 strong {
    color: inherit;
}

/* Inline links in body copy: the global a { color:#111 } left them near-black
   against the #653535 brown text. Match the list2 .fi-link brown instead. */
p.text3 a {
    color: #865024;
    text-decoration: underline;
}

p.text3 a:hover {
    color: #542f11;
}

p.text3-center {
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2px;
    margin: 0 auto;
    padding-top: 10px;
    text-align: center;
    color: #653535;
}

a.text3 {
    font-family: "Open Sans";
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.2px;
    padding-top: 10px;
    text-decoration: underline;
    text-align: center;
    color: #653535;
    display: flex;
    width: 100%;
}

ul.list2 {
    font-family: 'Open Sans';
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 30px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: left;
    color: #653535;
}

ul.list3 {
    font-family: 'Open Sans';
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 30px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: left;
}


.cta-button {
    display: inline-block;
    background-color: #BF9D82;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}


ul.list2 a {
    color: #BF9D82; /* Change this to any color you want */
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

ul.list2 a:hover {
    color: #875b38; /* Change this to any color you want */
}

ul.list2 a.fi-link {
    color: #865024; /* Change this to any color you want */
}

ul.list2 a.fi-link:hover {
    color: #542f11; /* Change this to any color you want */
}

ul.list3 a {
    color: #BF9D82; /* Change this to any color you want */
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
}

ul.list3 a:hover {
    color: #875b38; /* Change this to any color you want */
    text-decoration: underline;
}

ul.list3 a.fi-link {
    color: #865024; /* Change this to any color you want */
}

ul.list3 a.fi-link:hover {
    color: #542f11; /* Change this to any color you want */
}

.testimonial {
    display: flex;
    /*flex-direction: column;*/
    align-items: flex-start;
    text-align: justify;
}


.testimonial .person-info {
    border: 1px solid grey;
    padding: 25px;
    flex: 1;
    margin-right: 15px; /* optional: to create some space between the image and the text */
}

/* Alina Lazar's referral is several short paragraphs. The theme's
   `div.team p { border-top }` would draw a divider under every one, and
   <br><br> spacing was too large. Keep a single divider under the role and a
   tight, even gap between paragraphs. Scoped to .referral so the other
   (single-paragraph) testimonials are untouched. */
.referral .text-container p {
    border-top: none;
    padding-top: 0;
    margin: 0 0 12px;
}
.referral .text-container p:first-of-type {
    border-top: 1px solid #cccccc;
    padding-top: 20px;
}
.referral .text-container p:last-child {
    margin-bottom: 0;
}
/* Bold closing lines should keep the testimonial's colour, not the global
   strong { color:#333 } reset. */
.referral .text-container p strong {
    color: inherit;
}
/*Preloader*/
#loader {
    background-color: #111111;
    background-image: url(../images/loader.gif);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 40px 40px;
    bottom: 0;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 9999;
}

#wrapper {
    position: relative;
    width: 100%;
}

/*Preloader*/


/*Landscape 1024 X 600 */
@media only screen and (min-width: 1000px) and (max-width: 1030px) {

    html {
        overflow-x: hidden;
    }

    .home video {
        opacity: 0;
    }

}


/*iPad lanscape*/
@media screen and (max-device-width: 960px) {

    /*Basics*/
    html {
        overflow-x: hidden;
    }

    input, textarea {
        -webkit-appearance: none;
    }

    /*Home*/
    .home video {
        display: none;
    }

    /*Home*/
    /*Contact*/
    section.contact {
        background-attachment: scroll;
        background-position: center center !important;
        background-repeat: repeat;
        background-size: cover;
    }

    /*Contact*/
    /*Quotes*/
    .quotes {
        background-attachment: scroll;
        background-position: center center !important;
        background-repeat: repeat;
        background-size: cover;
    }

    /*Quotes*/
    /*Header*/
    nav#navigation {
        margin-right: 0px;
    }

    /*Header*/
    /*Works*/
    .work-preview .social-icons {
        margin-top: 10px;
        position: relative;
    }

    .work-preview .social-icons li {
        padding: 10px;
    }

    /*Works*/
}


/* Tablet Portrait size -> standard 960 */
@media only screen and (min-width: 768px) and (max-width: 959px) {

    .home video {
        display: none;
    }

    #wrapper {
        overflow: hidden;
    }

    section.contact {
        background-attachment: scroll;
        background-position: center center !important;
        background-repeat: repeat;
        background-size: cover;
    }

    .quotes .contact {
        background-attachment: scroll;
        background-position: top center !important;
        background-size: cover;
    }

    header .logo {
        margin: 28px 15px 12px;
    }

    nav#navigation {
        margin-right: 20px;
        margin-top: 0px;
    }

    .quotes .quotes-slider {
        width: 700px;
    }

    input, textarea {
        -webkit-appearance: none;
    }


    /*Works*/
    #works .innerContent {
        padding-bottom: 0px;
    }

    .work {
        height: 255px !important;
        width: 255px !important;
    }

    .work-preview .social-icons {
        margin-top: 10px;
        position: relative;
    }

    .work-preview p {
        line-height: 24px;
    }

    .work-preview .social-icons li {
        padding: 10px;
    }

    /*Works*/
    div.footer .footer-logo {
        width: 100%;
    }

    .flex-direction-nav {
        display: none;
    }


}


/* Mobile Landscape Size -> Tablet Portrait size*/
@media only screen and (min-width: 480px) and (max-width: 767px) {

    #wrapper {
        overflow: hidden;
    }

    input, textarea {
        -webkit-appearance: none;
        -webkit-border-radius: 0;
    }

    html {
        -webkit-text-size-adjust: none;
        -moz-text-size-adjust: none;
        -ms-text-size-adjust: none;
        overflow-x: hidden;
    }

    .home h1 {
        font-size: 40px;
    }

    .home p {
        font-size: 16px;
    }

    .home video {
        display: none;
    }

    div.about p {
        
    }

    .quotes {
        background-attachment: scroll;
        background-position: top center !important;
        background-size: cover;
    }

    .logo {
        margin: 17px 5px;
    }


    #loaderInner {
        margin: -50px 0 0 -30px;
    }

    .logo, nav#navigation {
        float: none
    }

    nav#navigation {
        margin-right: 0;
    }

    nav#navigation ul {
        display: none;
        margin-bottom: 10px;
    }

    nav#navigation li {
        float: none;
        display: block;
    }

    nav#navigation a.active:after {
        right: 1px;
        top: 22px;
    }

    nav#navigation li a {
        display: inline-block;
    }

    .mobile-navigation {
        display: inline-block;
    }

    .main-slider.flexslider {
        margin: 73px auto 0;
    }

    .caption h1 {
        font-size: 20px;
    }

    .caption h1 span.new:after {
        width: 17px;
        top: 26px;
        right: 2px;
    }

    .main-slider .flex-direction-nav a {
        top: 55% !important;
    }

    .container .team {
        margin-bottom: 60px;
    }


    .factSlider {
        width: 400px;
    }

    .factSlider .flex-direction-nav .flex-next {
        right: -30px;
    }

    .factSlider .flex-direction-nav .flex-prev {
        left: -30px;
    }

    .flex-direction-nav {
        display: none;
    }

    .quotes .quotes-slider {
        width: 400px;
    }

    .container .service.bottom3 {
        margin-bottom: 40px;
    }

    .container .service.bottom3:last-child {
        margin-bottom: 0;
    }

    .container .info {
        margin-bottom: 40px;
    }

    .container .widget {
        margin-bottom: 20px;
    }

    .container .widget:last-child {
        margin-bottom: 0;
    }

    div.form textarea, div.form form {
        width: 420px;
    }

    div.form input[type="text"] {
        width: 420px;
    }

    /*--Services--*/
    .service .inner {
        margin-bottom: 60px;
    }

    .service:last-child .inner {
        margin-bottom: 0;
    }

    #works .innerContent {
        padding-bottom: 60px;
    }

    .container .item {
        margin-bottom: 20px;
    }

    /*--Services--*/
    /*--Footer--*/
    div.footer {
        text-align: center;
    }

    div.footer .right {
        /* keep the social row IN FLOW — the theme's original `position:absolute`
           took it out of flow so nothing contained it, and `#wrapper{overflow:hidden}`
           above clipped the overhanging icons at the bottom on 480–767px screens */
        float: none;
        margin-top: 50px;
        margin-bottom: 40px;
        text-align: center;
        width: 100%;
    }

    /* the <ul> keeps the browser's default 40px left padding (theme reset typo,
       see the ol/ul note) which pushed the centred icons ~30px off-centre —
       zero it out, same as the <480 block does */
    div.footer .right ul {
        padding: 0;
    }

    /* symmetric side margins so the centred row is truly centred — the base
       `margin-left:20px` only leads, biasing the group ~10px right */
    div.footer .right li {
        margin-left: 10px;
        margin-right: 10px;
    }

    div.footer .footer-logo {
        width: 100%;
    }

    /*--Footer--*/

}

/* Mobile Portrait Size -> Mobile Landscape Size */
@media only screen and (max-width: 479px) {

    input, textarea {
        -webkit-appearance: none;
    }

    html {
        -webkit-text-size-adjust: none;
        -moz-text-size-adjust: none;
        -ms-text-size-adjust: none;
        overflow-x: hidden;
    }

    #wrapper {
        overflow: hidden;
    }

    /*--Home--*/
    .home h1 {
        font-size: 36px;
    }

    .home p {
        font-size: 2.5em;
    }

    .home video {
        display: none;
    }

    /*--Home--*/
    /*--About--*/
    div.about p {
        
    }

    /*--About--*/
    /*--Quotes--*/
    .quotes {
        background-attachment: scroll;
        background-position: center center !important;
        background-repeat: repeat;
        background-size: cover;
    }

    .quotes .quotes-slider {
        width: 230px;
        margin-top: 50px;
    }

    .quotes .quotes-slider li blockquote {
        font-size: 20px;
        line-height: 36px;
    }

    .quotes .quotes-slider li h3 {
        font-size: 14px;
        padding-bottom: 30px;
    }

    /*--Quotes--*/
    #loaderInner {
        margin: -50px 0 0 -30px;
    }

    /*--Nav--*/
    .logo {
        margin: 7px 2px;
    }

    nav#navigation {
        float: none;
        margin-right: 0;
    }

    nav#navigation ul {
        display: none;
        margin-bottom: 20px;
    }

    nav#navigation li {
        float: none;
        display: block;
    }

    nav#navigation a.active:after {
        right: 1px;
        top: 22px;
    }

    nav#navigation li a {
        display: inline-block;
    }

    nav#navigation a:after {
        opacity: 0;
    }

    .mobile-navigation {
        display: inline-block;
    }

    /*--Nav--*/
    /*--Slider--*/
    .main-slider.flexslider {
        margin: 73px auto 0;
    }

    .main-slider .flex-direction-nav a {
        top: 80% !important;
    }

    .container .team {
        margin-bottom: 60px;
    }

    .flex-direction-nav {
        display: none;
    }

    /*--Slider--*/
    /*Services*/
    .service .inner {
        margin-bottom: 60px;
    }

    .service:last-child .inner {
        margin-bottom: 0;
    }

    /*Services*/
    /*Contact*/
    section.contact {
        background-attachment: scroll;
        background-position: center center !important;
        background-repeat: repeat;
        background-size: cover;
    }

    div.contact .form {
        width: 250px;
    }

    div.form textarea, div.form form, div.form input[type="text"] {
        padding: 10px 0px;
        width: 250px;
    }

    /*Contact*/
    /*Works*/
    #works .innerContent {
        padding-bottom: 0px;
    }

    .work {
        height: 299px !important;
        width: 299px !important;
    }

    .work-preview .info {
        margin-top: 20px;
    }

    .work-preview .social-icons {
        margin-top: 10px;
        position: relative;
    }

    .work-preview .social-icons li {
        padding: 10px;
    }

    /*Works*/
    /*Footer*/
    div.footer {
        text-align: center;
    }

    div.footer .right {
        float: none;
        margin-top: 50px;
        margin-bottom: 40px;
        text-align: center;
    }

    div.footer .footer-logo {
        margin-top: 0px;
        width: 100%;
    }

    div.footer .right ul {
        padding: 0px;
    }

    div.footer .right li {
        margin-left: 5px;
    }

    /*Footer*/

}

/* Default styles for larger screens */
.person-info.team {
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* Keep the image at the top */
    justify-content: space-between;
    margin-bottom: 20px;
}

.mobile-image {
    display: block;
    margin: 0;
    max-width: 100%; /* Ensure the image does not exceed its container width */
    text-align: center;
}

.text-container {
    width: 66%;
    color: #653535;
}


/* Media query for screens with a maximum width of 768px (typical for mobile devices) */
@media screen and (max-width: 768px) {
    .person-info.team {
        flex-direction: column; /* Stack elements vertically */
        text-align: center; /* Center align text */
    }
    
    nav#navigation {
        margin-top: 5em;
    }
    
    .home {
        height: 100vh !important;
        height: 100vh !important;
        height: 100svh !important;
    }

    .mobile-image {
        margin: 0 auto 20px; /* Center the image horizontally, space below it */
    }

    .text-container {
        width: 100%; /* Make text take up full width */
    }
    
    .frontpage-image {
        margin-top: -11em;
    }
    
    .frontpage-image-right {
        margin-top: -11em;
        width: 100%;
        margin-left: 11%;
        clip-path: inset(0% 9% 0 39%);
    }
    
    .frontpage-overlay {
        height: max(69.2em, calc(100vh + 15em));
        height: max(69.2em, calc(100svh + 15em));
    }
    
    .home h1 {
        font-size: 2.3em;
    }
    
    .home p {
        font-size: 1.8em;
    }
    
    #secondary-subtitle {
        font-size: 1.4em;
    }
    
    #frontpage-paragraph-container > p {
        font-size: 1.4em;
    }
    
    #center-page-title-container {
        top: 200px;
    }
    
    #podcast {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    #podcast-content-container {
        display: inherit;
    }
    
    #podcast-video {
        width: 100%;
    }
    
    #podcast-description-container {
        width: 100%;
        margin-left: 0em;
        margin-top: 2em;
    }
    
    #badge-table {
        display: block;
    }
    		
    #badge-table > tbody > tr > td {
        display: inline-block;
    }
    
    #about-image {
        margin-top: -5em;
        width: 100%;
        clip-path: inset(0% 29% 0 21%);
        margin-left: -21%;
    }
    
    #about-overlay {
        height: max(67em, calc(100vh + 15em));
        height: max(67em, calc(100svh + 15em));
    }
    
    .about-paragraph {
        font-size: 1.1em !important;
    }
    
    .o2o-paragraph {
        font-size: 1.2em !important;
    }
    
    #group-choaching-title-container {
        top: 6.1em;
    }
    
    #group-coaching-image {
        padding-left: 87em;
    }
    
    #group-coaching-overlay {
        /* max(): never end above the hero's bottom edge -- see base.css */
        height: max(60.2em, calc(100vh + 15em));
        height: max(60.2em, calc(100svh + 15em));
    }
    
    .workshop-paragraph {
        font-size: 1.2em !important;
    }
    
    #workshop-frontpage-image {
        margin-top: -5em;
        height: max(60em, calc(100vh + 15em));
        height: max(60em, calc(100svh + 15em));
        width: 135%;
        margin-left: -35%;
        clip-path: inset(0% 0% 0 63%);
    }
}

/* =========================================================================
   Mobile navigation (<= 767px) — redesigned dropdown panel.

   Replaces the theme's scattered mobile-nav rules: the desktop bar collapses
   to a solid cream bar with a burger that toggles a full-width dropdown panel.
   Visibility is driven by `body.nav-open` (set by js/nav.js), NOT the theme's
   inline slideToggle, so it can never get stuck hidden after a resize.

   Placed last in the file so it wins on source order over the theme's older
   `nav#navigation ...` mobile rules at equal specificity.
   ========================================================================= */
@media screen and (max-width: 767px) {

    /* Solid bar across the full width; hides the top strip of the hero photo
       cleanly instead of the links floating over it. A soft shadow keeps the
       bar readable where its cream blends into the light photo/gradient. */
    header {
        background-color: #ebe0d7;
        box-shadow: 0 1px 6px rgba(60, 52, 45, 0.12);
    }

    #header .header { position: relative; min-height: 54px; }
    #header .one-third.column { display: none; }          /* empty logo slot */
    #header .two-thirds.column { width: 100%; margin: 0; }

    nav#navigation { float: none; margin: 0; padding: 0; }

    /* Burger sits in the bar, top-right, with a "Menu" label beside the icon.
       A bare three-line glyph reads as decoration to some users; the word makes
       it obviously a tappable menu. Auto-width flex, right-anchored; the PNG
       burger background is dropped in favour of the icon-menu glyph + text. */
    .mobile-navigation {
        /* Fixed to the viewport (like the panel below) so it clears the
           skeleton grid's narrow 300px .container -- otherwise `right` is
           measured from the container edge (~55px in) and the button floats
           well short of the corner. Fixed + the header being fixed keeps it
           pinned in the bar. */
        position: fixed;
        display: inline-flex;
        align-items: center;            /* centre the icon+label within the bar */
        gap: 6px;
        width: auto;
        /* Span the 54px bar height and let align-items centre the content
           vertically (the old nav#navigation parent was zero-height, so %
           offsets collapsed). */
        top: 0;
        height: 54px;
        right: 8px;                     /* snug to the corner */
        background-image: none;
        opacity: 1;
        /* No blue tap flash / text selection when the button is touched. */
        -webkit-tap-highlight-color: transparent;
        -webkit-user-select: none;
        user-select: none;
    }

    /* icon-menu isn't a real glyph in either icon font -- the theme drew the
       burger with the PNG background on the <a>. With the label added we moved
       that off the <a>; render it on the <i> as a sized icon beside the text. */
    .mobile-navigation i {
        width: 19px;
        height: 17px;
        background: url(../images/mobile-navigation.png) center / contain no-repeat;
    }

    .mobile-navigation .mobile-navigation-label {
        font-family: "QuickSand";
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #3C342D;
        line-height: 1;
    }

    /* The panel: absolutely positioned just below the 54px bar so it can
       collapse to a true 0 height (padding won't keep it open) and unroll
       with a max-height transition, like the theme's old slideDown. Absolute
       also means it overlays the hero instead of growing the fixed bar.
       The `header` prefix matches base.css's `header nav#navigation
       ul.navigation` (the desktop menu-centring rule, no media query) on
       specificity so this wins by source order and can actually hide it. */
    header nav#navigation ul.navigation {
        position: fixed;                                  /* full-bleed below the bar, regardless of ancestor widths */
        top: 54px;                                        /* below the bar */
        left: 0;
        right: 0;
        display: block;
        max-height: 0;                                    /* collapsed; unrolls on open */
        overflow: hidden;
        margin: 0;
        padding: 0;
        list-style: none;
        background-color: #ebe0d7;
        box-shadow: 0 8px 12px rgba(60, 52, 45, 0.12);
        transition: max-height 0.3s ease;
    }
    /* Open: capped to the viewport, not to a pixel guess.
       This was 440px, chosen to clear a 391px menu. Adding Blog under Free
       Resources took the content to 514px, so 74px -- the last row and a bit
       -- was silently cut off the bottom, with nothing in the CSS to say why.
       A number that has to be raised by hand every time a menu item is added
       will be forgotten again, so size it to the screen instead: it cannot be
       outgrown, and max-height only caps, so the panel still renders at its
       own content height on a normal phone.
       overflow-y also covers the short/landscape case, where the panel would
       otherwise run past the bottom of the screen with no way to reach the
       last items. Overlay scrollbars stay invisible on mobile until actually
       scrolled, so this does not show a bar on ordinary screens. */
    body.nav-open header nav#navigation ul.navigation {
        max-height: calc(100vh - 54px);
        max-height: calc(100svh - 54px);
        overflow-y: auto;
    }

    nav#navigation ul.navigation > li {
        display: block;
        float: none;
        border-top: 1px solid rgba(60, 52, 45, 0.10);
    }
    nav#navigation ul.navigation > li:first-child { border-top: none; }

    nav#navigation li a {
        display: block;
        padding: 13px 20px;
        font-size: 15px;
    }
    /* Drop the theme's little centred underline in the stacked list. */
    nav#navigation ul.navigation > li > a:after { display: none; }

    /* Submenu: an indented static list inside the open panel (always shown,
       since there is no hover on touch). */
    nav#navigation ul.sub-navigation {
        display: block;
        position: static;
        min-width: 0;
        margin: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }
    nav#navigation ul.sub-navigation li a {
        padding: 11px 20px 11px 38px;
        font-size: 13px;
        opacity: 0.9;
    }
}
/* The short/landscape-viewport rule that used to sit here is gone: the open
   panel above is now capped to the viewport at every height, which is what
   that rule was doing, so it had become an exact duplicate. */

/* ============================================================
   #Home banner (rebuilt from Valentina's supplied banner PNG)
   Live-HTML version of images/frontpage-photos/banner Valentina.png:
   cream field, cropped portrait (hero-portrait.jpg) on the left, real
   text on the right. Self-contained -- deliberately does NOT reuse the
   .frontpage-image / .frontpage-overlay / clamp machinery the other
   pages use. Spacing in rem/px (not em): this block sets its own
   font-sizes so em would be unpredictable. Cream field = #ecdfd5, the
   unified hero cream shared with the podcast banner. (Was #eddbce, sampled
   from the home PNG; unified 2026-07-29 — the portrait is a transparent
   cutout, so the field colour can change freely with no seam.)
   ============================================================ */
#home-banner {
    position: relative;
    background-color: #ecdfd5;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* clear the fixed 72px desktop cream bar */
    padding: 88px 4vw 64px;
    box-sizing: border-box;
    overflow: hidden;
}

.home-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.home-banner-photo {
    flex: 0 1 46%;
    text-align: center;
}

.home-banner-photo img {
    display: block;
    width: 100%;
    height: auto;
    /* 80svh on tall screens (unchanged look); on short screens fall back to
       whatever fits inside 100svh after the 88px+64px paddings, so the banner
       never overflows and the scroll arrow (pinned to its bottom) stays on
       screen. Without this the photo forces the banner past 100svh on any
       viewport under ~760px tall and the arrow drops below the fold. */
    max-height: min(80vh, calc(100vh - 160px));
    max-height: min(80svh, calc(100svh - 160px));
    object-fit: contain;
    margin: 0 auto;
    /* Soft contact shadow: transparent cutout grounds her against the cream
       instead of the white shirt dissolving into the background. Warm-grey,
       mostly downward, large blur, low opacity — deliberately not a hard
       drop shadow. */
    filter: drop-shadow(0 14px 20px rgba(74, 58, 44, 0.30));
}

.home-banner-copy {
    flex: 1 1 54%;
    max-width: 34rem;
    /* Centred as a group to match the banner: the title, the divider (centred
       under the name, ~1/3 its width) and the tagline all share one centre. */
    text-align: center;
}

.home-banner-name {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-weight: 600;
    text-transform: none;
    color: #3a3632;
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: 0.005em;
    margin: 0;
}

.home-banner-rule {
    display: block;
    position: relative;
    width: 11rem;
    max-width: 60%;
    height: 1px;
    background: #c69a78;
    /* auto margins centre it under the name (banner: ~1/3 the title width) */
    margin: 1.4rem auto;
}

.home-banner-rule::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b07d56;
}

.home-banner-tagline {
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 400;
    text-transform: none;
    color: #4a453f;
    font-size: clamp(1.05rem, 2vw, 1.6rem);
    line-height: 1.5;
    margin: 0 auto;
    max-width: 22em;
}

/* Scroll-down arrow, same glyph the other heroes use (.home .arrow). Their
   arrow-bottom.png is white for the dark photo heroes, so invert it to a dark
   mark that reads on the cream banner. Links to #certificates like before. */
#home-banner .arrow {
    position: absolute;
    left: 0;
    bottom: 30px;
    width: 100%;
    height: 15px;
    text-align: center;
    z-index: 200;
}

#home-banner .arrow a {
    display: block;
    width: 33px;
    height: 20px;
    margin: 10px auto 0 auto;
    background: url(../images/arrow-bottom.png) center center / cover no-repeat;
    filter: invert(1);
    opacity: 0.4;
    cursor: pointer;
    text-indent: -9999px;
    transition: opacity 0.4s ease 0s;
}

#home-banner .arrow a:hover {
    opacity: 0.8;
}

/* Mobile: stack photo over copy, everything centred, clear the 54px bar. */
@media screen and (max-width: 768px) {
    #home-banner {
        padding: 74px 6vw 56px;
    }

    .home-banner-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .home-banner-photo {
        flex: 0 0 auto;
        order: 1;
    }

    .home-banner-photo img {
        max-height: 46vh;
        max-height: 46svh;
    }

    .home-banner-copy {
        flex: 0 0 auto;
        order: 2;
        max-width: 100%;
    }

    .home-banner-rule {
        margin-left: auto;
        margin-right: auto;
    }

    .home-banner-tagline {
        margin-left: auto;
        margin-right: auto;
    }
}


/* ============================================================
   PODCAST banner hero — added 2026-07-28. Live HTML, same technique
   as the #home-banner block: photo left, centred copy right, on a
   cream #ecdfd5 field. The photo asset (podcast-portrait.jpg) is
   PRE-BLENDED to the field cream on its right edge (baked offline),
   so there is no muddy CSS fade and no seam. The maroon brand mark
   (logo_look form recoloured) and the banner's own waveform are
   transparent PNGs sized so the raster stays sharp; the name and
   tagline are live text. Spacing in rem/px, not em.
   ============================================================ */
#podcast-banner {
    position: relative;
    display: flex;
    align-items: stretch;
    background-color: #ecdfd5;
    min-height: 100vh;
    min-height: 100svh;
    /* clear the fixed 72px header so the photo (and her head) sit below it;
       the top strip shows the cream field behind the cream header bar */
    padding-top: 72px;
    box-sizing: border-box;
    overflow: hidden;
    --pb-maroon: #5c1113;
}

/* Full-bleed photo, cover-cropped. The asset is baked with a wide pure-cream
   margin to the right of the mic, so the panel edge always lands in the exact
   field cream — the mic stays fully solid and there is no seam. */
.pb-photo {
    flex: 0 0 50%;
    background-color: #ecdfd5;
    background-image: url(../images/frontpage-photos/podcast-portrait.jpg?v=v1);
    background-position: 26% center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Right column — centred as a group, matching the banner. */
.pb-copy {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px 5vw 56px;
    box-sizing: border-box;
    color: var(--pb-maroon);
}

/* Wide screens: the copy column has spare room, so give the photo more width
   (and show more of Valentina, not the cream margin) by biasing the crop left. */
@media screen and (min-width: 1300px) {
    .pb-photo {
        flex-basis: 62%;
        background-position: 20% center;
    }
    /* the copy has no background, so shift it left over the photo's empty
       cream-fade zone → the content sits more centrally in the visible cream */
    .pb-copy {
        transform: translateX(-6vw);
    }
    /* The photo taking 62% leaves the copy column ~38% wide, so the name at
       4.6vw outgrows it between ~1300–1546px and "Valentina Rotaru" wraps to
       two lines. Drive the name off a smaller vw here so it always fits the
       narrower column, still reaching the same 3.9rem cap on very wide screens.
       ID-scoped so it beats the later base `.pb-name` rule (media queries add no
       specificity, so a plain `.pb-name` here would lose on source order). */
    #podcast-banner .pb-name { font-size: clamp(2.4rem, 3.8vw, 3.9rem); }
}

/* Brand mark — a standalone symmetric mic (logo_look artwork recoloured to
   maroon, left half mirrored) beside a LIVE-TEXT wordmark, set apart with a
   clean gap (deliberately not connected). The wordmark is crisp, selectable
   Quicksand text; the mic is a transparent maroon PNG. */
.pb-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.7rem, 1.6vw, 1.15rem);
    margin-bottom: clamp(1.2rem, 3vw, 2rem);
}

.pb-logo-mic {
    flex: 0 0 auto;
    width: auto;
    height: clamp(76px, 8.4vw, 116px);
}

/* Right-aligned stack (the reference shares a common right edge), Nunito Sans
   to match logo_look. Row 1 "Power" and row 3 "Power of many" are sized to the
   SAME width (so they share left AND right edges); "of two" is right-aligned
   and shorter. */
.pb-logo-words {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    line-height: 1;
    font-family: "Nunito Sans", "Open Sans", Arial, sans-serif;
    color: var(--pb-maroon);
}

.pb-logo-power {
    font-weight: 800;
    font-size: clamp(2.1rem, 4.2vw, 3.5rem);
    line-height: 0.9;
    letter-spacing: 0.005em;
}

.pb-logo-sub1 {
    font-weight: 700;
    font-size: clamp(0.9rem, 1.8vw, 1.5rem);
    margin-top: 0.2em;
}

/* "Power of many": sized (proportional to "Power") so its rendered width
   matches "Power" above it — same left and right edges. */
.pb-logo-sub2 {
    font-weight: 700;
    font-size: clamp(0.92rem, 1.84vw, 1.53rem);
    margin-top: 0.2em;
}

/* Waveform — the dot-matrix graphic lifted from the banner. Sized wider than
   the "Valentina Rotaru" name below it: fills the copy column (up to 480px) so
   it reads as the widest element in the stack and clearly overhangs the name.
   >100% lets it extend a little past the text column into the copy's 5vw side
   padding (stays centred, well inside the padding — no banner overflow). */
.pb-wave {
    display: block;
    width: min(114%, 540px);
    /* beat the global `img { max-width: 100% }` (base.css) so the >100% width
       above isn't clamped back to the column width */
    max-width: 540px;
    height: auto;
    margin-bottom: clamp(1.4rem, 3.2vw, 2.2rem);
}

.pb-name {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-weight: 600;
    text-transform: none;
    color: #571210;   /* exact maroon sampled from the reference name */
    font-size: clamp(2.4rem, 4.6vw, 3.9rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
    margin: 0;
}

/* Rule under the name with a centred dot (matches the banner) */
.pb-rule {
    display: block;
    position: relative;
    width: min(80%, 340px);
    height: 1px;
    /* same solid maroon as the "Valentina Rotaru" name (no fade) */
    background: #571210;
    margin: 1rem auto 1.1rem;
}

.pb-rule::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #571210;
}

.pb-tagline {
    font-family: "Nunito Sans", "Open Sans", Arial, sans-serif;
    font-weight: 400;
    text-transform: none;
    color: #2d2b29;   /* charcoal sampled from the reference tagline (NOT maroon) */
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    line-height: 1.5;
    margin: 0;
    max-width: 24rem;
}

/* Scroll arrow — same glyph as the other heroes, inverted to read dark
   on the cream field; links to #podcast like before. */
#podcast-banner .arrow {
    position: absolute;
    left: 0;
    bottom: 30px;
    width: 100%;
    height: 15px;
    text-align: center;
    z-index: 200;
}

#podcast-banner .arrow a {
    display: block;
    width: 33px;
    height: 20px;
    margin: 10px auto 0 auto;
    background: url(../images/arrow-bottom.png) center center / cover no-repeat;
    filter: invert(1);
    opacity: 0.4;
    cursor: pointer;
    text-indent: -9999px;
    transition: opacity 0.4s ease 0s;
}

#podcast-banner .arrow a:hover { opacity: 0.8; }

/* Mobile (<=768px): stack the photo band over the centred copy. */
@media screen and (max-width: 768px) {
    #podcast-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .pb-photo {
        flex: 0 0 auto;
        height: 38vh;
        height: 38svh;
        min-height: 240px;
        /* use the raw studio crop (no baked cream edge) so the full-width
           band has no faded/blurred strip on the right */
        background-image: url(../images/frontpage-photos/podcast-hero.jpg?v=v2);
        background-position: 42% 20%;
        /* fade the lower edge into the cream for the stack */
        -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
                mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
    }

    .pb-copy {
        flex: 1 1 auto;
        padding: 1.25rem 8vw 2rem;
    }

    .pb-logo-mic { height: clamp(70px, 17vw, 96px); }
    .pb-logo-power { font-size: clamp(2rem, 9vw, 2.7rem); }
    .pb-wave { width: min(106%, 420px); }
    .pb-name { font-size: clamp(2.2rem, 10vw, 3rem); }
    .pb-tagline { font-size: clamp(1rem, 4.4vw, 1.25rem); }
}


/* ============================================================
   Podcast "Listen on" buttons — platform links with official-style
   inline-SVG icons (Apple Podcasts / Spotify / YouTube). 2026-07-28.
   ============================================================ */
.podcast-listen {
    margin-top: 2.4rem;
    text-align: left;
}

.podcast-listen-title {
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #444;
    text-transform: none;
    margin: 0 0 1.1rem;
}

.podcast-listen-title span {
    color: #5c1113;   /* maroon show name, cohesive with the banner */
}

.podcast-listen-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.listen-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;   /* centre icon+label within the button */
    gap: 11px;
    min-width: 200px;          /* all three buttons the same width */
    padding: 12px 22px;
    background: #fff;
    border: 1px solid #e7ded3;
    border-radius: 999px;
    text-decoration: none;
    color: #2d2b29;
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(60, 40, 20, 0.06);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.listen-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(60, 40, 20, 0.13);
    border-color: #d8ccbe;
}

.listen-ico {
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
    display: block;
}


/* ============================================================
   Legal pages (Terms, Privacy, Cookie) — added 2026-07-27.
   Self-contained, appended at the end like the home-banner block.
   Text-only pages with no photo hero: the section clears the fixed
   cream header bar (72px desktop / 54px mobile) with its own padding.
   Everything is LEFT-aligned and held to a readable measure.
   ============================================================ */
.legal-page {
    padding-top: 120px;   /* clears the 72px fixed bar + breathing room */
    padding-bottom: 80px;
    background-color: #fbf7f3;
}

.legal-page .container {
    max-width: 780px;
}

@media screen and (min-width: 960px) {
    .legal-page .container { width: 780px; }
}

.legal-page h1 {
    font-family: "Quicksand";
    font-weight: 700;
    font-size: 30px;
    color: #3C342D;
    text-align: left;
    margin-bottom: 6px;
}

.legal-updated {
    font-family: "Open Sans";
    font-size: 13px;
    font-style: italic;
    color: #a08b7d;
    text-align: left;
    margin-bottom: 34px;
}

.legal-page h2 {
    font-family: "Quicksand";
    font-weight: 700;
    font-size: 19px;
    color: #653535;
    text-align: left;
    margin: 40px 0 4px;
}

.legal-page h3 {
    font-family: "Quicksand";
    font-weight: 700;
    font-size: 15px;
    color: #653535;
    text-align: left;
    margin: 24px 0 2px;
}

.legal-page p {
    font-family: "Open Sans";
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.2px;
    color: #4f463f;
    text-align: left;
    margin-top: 12px;
}

.legal-page ul {
    font-family: "Open Sans";
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.2px;
    color: #4f463f;
    list-style: disc;
    margin: 12px 0 12px 22px;
    padding: 0;
}

.legal-page ul li { margin: 4px 0; text-align: left; }

.legal-page a { color: #BF9D82; text-decoration: underline; }
.legal-page a:hover { color: #875b38; }

.legal-page .legal-note {
    font-size: 14px;
    color: #4f463f;
    background: #f1e7de;
    border-left: 3px solid #BF9D82;
    padding: 14px 18px;
    margin-top: 16px;
    line-height: 1.7;
}

.legal-contact {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid #e7dccf;
}

@media screen and (max-width: 767px) {
    .legal-page { padding-top: 90px; padding-bottom: 56px; }
    .legal-page h1 { font-size: 25px; }
}

/* Footer legal links (Terms / Privacy / Cookie) */
.footer .legal-links {
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: 0;
}
/* Keep each policy name intact so it never splits mid-phrase ("Cookie" / "Policy") */
.footer .legal-links a { color: inherit; text-decoration: none; opacity: 0.85; white-space: nowrap; }
.footer .legal-links a:hover { text-decoration: underline; opacity: 1; }


/* ============================================================
   Contact page visual refresh (2026-07-27). Keeps the two-column
   structure (form left, details right) but balances them as equal-
   height cards and modernises the fields, button and social links.
   All scoped to #contact so no other page is affected.
   ============================================================ */
section#contact {
    background: #faf6f2;
    padding: 60px 0 74px;
}

/* Side-by-side cards on desktop, aligned at the top. The details card sizes
   to its own content rather than stretching to the (taller) form's height —
   forcing equal height only inflated the card and left a big gap above the
   contact panel. */
@media screen and (min-width: 768px) {
    #contact .container {
        display: flex;
        align-items: flex-start;
        gap: 44px;
    }
    #contact .container > .eight.columns {
        width: auto;
        flex: 1 1 0;
        margin: 0;
    }
}

/* Card shells */
#contact .contact,
#contact #contact-details {
    box-sizing: border-box;
    border-radius: 12px;
    padding: 40px 42px;
}
#contact .contact {                     /* form card */
    background: #ffffff;
    border: 1px solid #ece2d6;
    box-shadow: 0 6px 22px rgba(90, 70, 55, 0.06);
}
#contact #contact-details {             /* details card */
    background: #f1e7de;
    border: 1px solid #e7dccf;
}

#contact .title { margin-bottom: 26px; }

/* Form fields: white, softly rounded, warm focus ring */
#contact .form input[type="text"],
#contact .form input[type="email"],
#contact .form input[type="number"],
#contact .form textarea {
    background: #ffffff;
    border: 1px solid #d9cabb;
    border-radius: 8px;
    color: #4f463f;
    margin-bottom: 14px;
}
/* Textarea only — the oversized 170px box forced the cards too tall. */
#contact .form textarea { height: 132px; }
/* Fluid widths. The theme hard-codes pixel widths per breakpoint (550px base at
   line 796, 250px under 480px at line 1668) which overran the card's padding box
   by 35px on a phone. The <form> element carries a width of its own, so the
   fields' 100% resolves against it — it has to be fluid too, or the fields just
   inherit the overflow. Keep `width` in its own rule — never merge it into the
   shared four-line `.form input…textarea` selector above. */
#contact .form form,
#contact .form input[type="text"],
#contact .form input[type="email"],
#contact .form input[type="number"],
#contact .form textarea {
    width: 100%;
}
/* Same breakpoint rule zeroes the horizontal padding (`padding: 10px 0`), which
   left the placeholders flush against the border. Set the sides only, so the
   vertical padding stays whatever the breakpoint decided. */
#contact .form input[type="text"],
#contact .form input[type="email"],
#contact .form input[type="number"],
#contact .form textarea {
    padding-left: 16px;
    padding-right: 16px;
}
#contact .form input[type="text"]:focus,
#contact .form input[type="email"]:focus,
#contact .form input[type="number"]:focus,
#contact .form textarea:focus {
    border: 1px solid #BF9D82;
    box-shadow: 0 0 0 3px rgba(191, 157, 130, 0.18);
}
#contact .form input::-webkit-input-placeholder,
#contact .form textarea::-webkit-input-placeholder { color: #b3a596; }
#contact .form input::placeholder,
#contact .form textarea::placeholder { color: #b3a596; }

/* Send button: solid accent instead of the ghost gold outline */
#contact .form button {
    background: #BF9D82;
    border: none;
    color: #ffffff;
    border-radius: 8px;
    padding: 16px 36px;
    margin-top: 22px;
    letter-spacing: 0.6px;
    transition: background 0.25s ease;
}
#contact .form button:hover { background: #a6825f; color: #ffffff; }
/* Mobile only: the 200px fixed button ended 50px short of the fields. */
@media only screen and (max-width: 767px) {
    #contact .form button { width: 100%; }
}

/* Email / phone lines */
/* Contact panel: icon-circle rows (Email / Phone), a divider, then social. */
#contact .contact-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}
#contact .contact-row:last-of-type { margin-bottom: 0; }
#contact .contact-ic {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2d3c4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8a6b50;
    font-size: 19px;
}
#contact .contact-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    min-width: 0;                 /* flex items default to min-width:auto, which
                                     refused to shrink below the email address */
}
#contact .contact-lbl {
    font-family: "Quicksand";
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #a08b7d;
}
#contact .contact-txt a {
    font-family: "Open Sans";
    font-size: 15px;
    color: #653535;
    text-decoration: none;
    overflow-wrap: anywhere;      /* the address is one unbreakable token */
}
#contact .contact-txt a:hover { color: #a6825f; }
#contact .contact-divider {
    height: 1px;
    background: #e2d3c4;
    margin: 26px 0;
}
#contact .contact-social .contact-lbl {
    display: block;
    margin-bottom: 14px;
}

/* Social links as circular icon chips */
#contact .social-chips {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}
#contact .social-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2d3c4;
    color: #8a6b50;
    font-size: 20px;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
#contact .social-chip:hover {
    background: #BF9D82;
    border-color: #BF9D82;
    color: #ffffff;
    transform: translateY(-2px);
}
#contact .social-chip i { line-height: 1; }


/* ==========================================================================
   Newsletter band (footer, site-wide) — theMarketer signup
   Sits at the top of the footer, above the certificate badges. Centred stack:
   the copy reads as two clean lines and the form sits beneath it, which flows
   into the centred badge row below and needs no separate desktop/mobile
   layout. Scoped under .newsletter and appended at the end of the file so
   source order beats the theme's scattered footer rules.
   ========================================================================== */

.newsletter {
    background: #ebe0d7;
    padding: 55px 0 45px;
    border-bottom: 1px solid #ddcbbc;
}

/* base.css has `footer .container > .sixteen.columns { text-align: center }`
   for the badge row, which catches this band too. Centring is what we want
   here, but match its specificity anyway so the block owns its own layout
   rather than inheriting it by luck. Do NOT weaken the base rule. */
footer .newsletter .sixteen.columns {
    text-align: center;
}

.newsletter-copy {
    max-width: 620px;
    margin: 0 auto 26px;
    color: #653535;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.newsletter-form {
    max-width: 620px;
    margin: 0 auto;
}

.newsletter-fields {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* The theme hard-codes width/padding on .form inputs per breakpoint; these
   fields live outside .form, so they set their own and stay fluid. */
.newsletter-fields input {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: 46px;
    margin: 0;
    padding: 0 16px;
    background: #ffffff;
    border: 1px solid #e2d3c4;
    border-radius: 6px;
    color: #3C342D;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    text-align: left;
    box-shadow: none;
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* "First and Last Name" needs more room than "Email", or it truncates. */
.newsletter-fields input[name="name"] { flex-grow: 1.45; }

.newsletter-fields input::-webkit-input-placeholder { color: #a89684; }
.newsletter-fields input::-moz-placeholder { color: #a89684; opacity: 1; }
.newsletter-fields input:-ms-input-placeholder { color: #a89684; }
.newsletter-fields input::placeholder { color: #a89684; }

.newsletter-fields input:focus {
    outline: none;
    border-color: #BF9D82;
    box-shadow: 0 0 0 3px rgba(191, 157, 130, 0.25);
}

.newsletter-fields button {
    flex: 0 0 auto;
    height: 46px;
    /* The theme gives buttons min-width:200px; the label is only ~70px wide,
       so that stole ~78px from the inputs and truncated the name placeholder. */
    min-width: 0;
    margin: 0;
    padding: 0 26px;
    background: #BF9D82;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.newsletter-fields button:hover { background: #a9866c; transform: translateY(-1px); }
.newsletter-fields button[disabled] { opacity: 0.55; cursor: default; transform: none; }

.newsletter-consent {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    margin: 16px 0 0;
    color: #7a6a5c;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
    /* Clicking the label toggles the checkbox, but the text was also being
       highlighted as you clicked it — a word selects on the second click,
       which makes a working control feel broken. Same treatment the mobile
       burger already gets. */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* The link stays selectable so the policy name can still be copied. */
.newsletter-consent a {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* The theme sets `input, textarea { -webkit-appearance: none }` inside FOUR
   separate mobile/tablet media blocks (petra.css ~1203, ~1288, ~1336, ~1540)
   to strip iOS's styling off text inputs. It also strips the native checkbox
   rendering, and with no border or background of its own this box was
   completely invisible below 960px while still occupying its 15px. Measured:
   `appearance` computed `auto` at 1200px but `none` at 360px. So draw the box
   ourselves at every width rather than fight all four blocks — it also keeps
   desktop and mobile looking the same instead of native vs custom.
   `accent-color` is deliberately gone: it does nothing once appearance:none. */
.newsletter-consent input {
    flex: 0 0 auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #c9b49c;
    border-radius: 3px;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.newsletter-consent input:checked {
    background-color: #BF9D82;
    border-color: #BF9D82;
    /* Tick inlined as a data URI so the checked state fetches nothing. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.4l3 3 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 14px 14px;
}

.newsletter-consent input:focus {
    outline: none;
    border-color: #BF9D82;
    box-shadow: 0 0 0 3px rgba(191, 157, 130, 0.25);
}

.newsletter-consent a { color: #865024; text-decoration: underline; }

.newsletter-message {
    margin: 12px 0 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    min-height: 1px;
}

.newsletter-message.is-error { color: #9d3b3b; }
.newsletter-message.is-success { color: #4f7a4f; }

/* Mobile — stack the fields full-width. Covers BOTH of the theme's mobile
   footer blocks (480-767 and <480), which are separate and easy to miss. */
@media only screen and (max-width: 767px) {
    .newsletter { padding: 40px 0 35px; }
    .newsletter-copy { font-size: 15px; margin-bottom: 22px; }
    .newsletter-fields { display: block; }
    .newsletter-fields input,
    .newsletter-fields button {
        display: block;
        width: 100%;
        max-width: 340px;
        margin: 0 auto 10px;
    }
    .newsletter-fields button { margin-bottom: 0; }
    .newsletter-consent {
        max-width: 340px;
        margin: 16px auto 0;
        text-align: left;
    }
    .newsletter-message { max-width: 340px; margin: 12px auto 0; }

    /* base.css turns every <a> in a footer .sixteen.columns into a block at
       this width so the six badges stack one per row. That also catches the
       Privacy Policy link inside the consent line and breaks it onto its own
       row mid-sentence — keep it inline here. */
    footer .newsletter .sixteen.columns a { display: inline; }
}


/* ==========================================================================
   Free Resources — ebooks listing (ebooks.php) and ebook pages
   (ebook-*.php). Appended at the end of the file so source order beats the
   theme's scattered rules; scoped under .ebook-page so nothing leaks.

   These pages have no photo hero: like the legal pages they open with their
   own band and pad past the fixed bar instead. Every heading sets its own
   text-align because the theme centres headings in several places.
   ========================================================================== */

.ebook-page,
.resource-page {
    background-color: #fbf7f3;
    padding-bottom: 80px;
}

/* --- Title band ------------------------------------------------------- */

/* The band is shared by all four Free Resources pages. The .ebook-* names
   came first and stay on the pages already using them; .resource-* is the
   same thing for the section index and the blog, so the rules simply carry
   both names rather than being duplicated. */
.ebook-band,
.resource-band {
    background: #ebe0d7;
    border-bottom: 1px solid #ddcbbc;
    padding: 120px 0 45px;   /* clears the 72px fixed bar + breathing room */
    margin-bottom: 55px;
}

.ebook-eyebrow,
.resource-eyebrow {
    margin: 0 0 10px;
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-align: left;
    color: #a08b7d;
}

.ebook-band h1,
.resource-band h1 {
    /* Cormorant Garamond is the serif the home and podcast banners use for
       Valentina's name — the same voice, not a third typeface. */
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 46px;
    line-height: 1.15;
    color: #653535;
    text-align: left;
    margin: 0 0 14px;
}

.ebook-band-copy,
.resource-band-copy {
    max-width: 640px;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #4f463f;
    text-align: left;
}

/* --- Listing card ----------------------------------------------------- */

.ebook-card {
    display: flex;
    align-items: center;
    gap: 42px;
    background: #ffffff;
    border: 1px solid #ece0d5;
    border-radius: 8px;
    padding: 34px 38px;
    margin: 0 0 30px;
}

.ebook-card-cover {
    flex: 0 0 240px;
    max-width: 240px;
}

.ebook-card-cover img,
.ebook-detail-cover img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e6d8ca;
    border-radius: 4px;
    box-shadow: 0 14px 30px rgba(101, 53, 53, 0.13);
}

.ebook-card-copy {
    flex: 1 1 auto;
    min-width: 0;   /* flex items floor at min-content without this */
}

.ebook-card-copy h2 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 1.3;
    color: #3C342D;
    text-align: left;
    margin: 0 0 8px;
}

.ebook-card-copy h2 a { color: inherit; text-decoration: none; }
.ebook-card-copy h2 a:hover { color: #653535; }

.ebook-card-meta,
.ebook-detail-meta {
    margin: 0 0 14px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #a08b7d;
    text-align: left;
}

.ebook-card-copy p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #4f463f;
    text-align: left;
    margin: 0 0 18px;
}

.ebook-card-copy p:last-child { margin-bottom: 0; }

/* --- Ebook page: copy + form left, cover right ------------------------ */

.ebook-detail {
    display: flex;
    align-items: flex-start;
    gap: 55px;
}

.ebook-detail-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.ebook-detail-cover {
    flex: 0 0 300px;
    max-width: 300px;
}

.ebook-detail-copy p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #4f463f;
    text-align: left;
    margin: 0 0 16px;
}

.ebook-detail-copy h2 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #653535;
    text-align: left;
    margin: 34px 0 12px;
}

.ebook-questions {
    margin: 0 0 6px;
    padding: 0 0 0 22px;
    list-style: decimal;
}

.ebook-questions li {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #4f463f;
    padding-left: 6px;
    margin-bottom: 10px;
}

.ebook-quote {
    margin: 30px 0 0;
    padding: 4px 0 4px 20px;
    border-left: 3px solid #BF9D82;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    line-height: 1.45;
    color: #653535;
    text-align: left;
}

/* --- The request form ------------------------------------------------- */

.ebook-request {
    background: #ffffff;
    border: 1px solid #ece0d5;
    border-radius: 8px;
    padding: 30px 32px 32px;
    margin-top: 38px;
}

.ebook-request h2 { margin-top: 0; }

.ebook-request-copy {
    margin-bottom: 22px !important;
    font-size: 14px !important;
    color: #7a6a5c !important;
}

.ebook-form-fields {
    display: flex;
    gap: 10px;
}

/* The theme hard-codes width/padding on .form inputs per breakpoint; these
   fields live outside .form, so they set their own and stay fluid. */
.ebook-form-fields input {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: 46px;
    margin: 0;
    padding: 0 16px;
    background: #ffffff;
    border: 1px solid #e2d3c4;
    border-radius: 6px;
    color: #3C342D;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    text-align: left;
    box-shadow: none;
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ebook-form-fields input[name="name"] { flex-grow: 1.35; }

.ebook-form-fields input::-webkit-input-placeholder { color: #a89684; }
.ebook-form-fields input::-moz-placeholder { color: #a89684; opacity: 1; }
.ebook-form-fields input:-ms-input-placeholder { color: #a89684; }
.ebook-form-fields input::placeholder { color: #a89684; }

.ebook-form-fields input:focus,
.ebook-lang input:focus,
.ebook-consent input:focus {
    outline: none;
    border-color: #BF9D82;
    box-shadow: 0 0 0 3px rgba(191, 157, 130, 0.25);
}

/* Language choice. Both files are the same guide, so this is a choice inside
   one request rather than two separate ebooks. */
.ebook-lang {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 18px 0 0;
}

.ebook-lang-label {
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a08b7d;
}

.ebook-lang label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #4f463f;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* The theme sets `input, textarea { -webkit-appearance: none }` inside FOUR
   separate mobile/tablet media blocks, which strips the native radio and
   checkbox rendering below 960px and leaves an invisible control (that is
   exactly how the newsletter consent box shipped broken). So draw both
   ourselves at every width instead of fighting all four blocks. */
.ebook-lang input {
    flex: 0 0 auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #c9b49c;
    border-radius: 50%;
    box-shadow: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ebook-lang input:checked {
    border-color: #BF9D82;
    /* Inner dot drawn with an inset shadow so the checked state fetches
       nothing and stays crisp at any zoom. */
    box-shadow: inset 0 0 0 4px #BF9D82;
}

.ebook-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 18px 0 22px;
    color: #7a6a5c;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* The link stays selectable so the policy name can still be copied. */
.ebook-consent a {
    color: #865024;
    text-decoration: underline;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.ebook-consent input {
    flex: 0 0 auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #c9b49c;
    border-radius: 3px;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ebook-consent input:checked {
    background-color: #BF9D82;
    border-color: #BF9D82;
    /* Tick inlined as a data URI so the checked state fetches nothing. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.4l3 3 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 14px 14px;
}

.ebook-form button {
    height: 46px;
    /* The theme gives every button min-width:200px; let this one hug its
       label instead so it reads as a button, not a bar. */
    min-width: 0;
    margin: 0;
    padding: 0 30px;
    background: #BF9D82;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.ebook-form button:hover { background: #a9866c; transform: translateY(-1px); }
.ebook-form button[disabled] { opacity: 0.55; cursor: default; transform: none; }

.ebook-message {
    margin: 14px 0 0 !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px !important;
    line-height: 1.5;
    min-height: 1px;
}

.ebook-message.is-error { color: #9d3b3b !important; }
.ebook-message.is-success { color: #4f7a4f !important; }

/* --- Narrow screens ---------------------------------------------------- */

/* Below ~900px the card's two columns and the page's copy/cover split both
   get too tight to hold, so stack them. The cover goes ABOVE the copy on the
   ebook page (column-reverse) — a book should be seen before it is described. */
@media only screen and (max-width: 900px) {
    .ebook-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
    }

    .ebook-card-cover {
        flex-basis: auto;
        max-width: 200px;
    }

    .ebook-detail {
        flex-direction: column-reverse;
        gap: 34px;
    }

    .ebook-detail-cover {
        flex-basis: auto;
        max-width: 240px;
    }
}

@media only screen and (max-width: 767px) {
    .ebook-band,
    .resource-band {
        padding: 92px 0 36px;   /* the bar is 54px at this width */
        margin-bottom: 40px;
    }

    .ebook-band h1,
    .resource-band h1 { font-size: 36px; }
    .ebook-band-copy,
    .resource-band-copy { font-size: 15px; }

    .ebook-page,
    .resource-page { padding-bottom: 55px; }

    .ebook-card { padding: 26px 24px; }
    .ebook-card-copy h2 { font-size: 22px; }

    .ebook-request { padding: 24px 22px 26px; }

    /* Stack the fields; side by side they are too narrow to read the
       placeholders at this width. */
    .ebook-form-fields { display: block; }

    .ebook-form-fields input {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .ebook-form button { width: 100%; }

    /* At phone width the label and the two options do not fit on one line and
       broke as "LANGUAGE English / Romana"; give the label its own line. */
    .ebook-lang { display: block; }
    .ebook-lang-label { display: block; margin-bottom: 9px; }
    .ebook-lang label { margin-right: 22px; }

    .ebook-quote { font-size: 20px; }
}


/* ==========================================================================
   Free Resources — the section index (free-resources.php) and the blog
   listing (blog.php).

   Both reuse the page shell and title band defined with the ebook pages
   above, so only the cards are new. Blog posts have no cover art, so these
   are text cards rather than the ebooks' cover-plus-copy row.
   ========================================================================== */

.resource-card,
.post-card {
    background: #ffffff;
    border: 1px solid #ece0d5;
    border-radius: 8px;
    padding: 30px 38px;
}

/* The index holds two deliberate choices and wants room around each; the
   blog holds a run of posts and reads better a little tighter. */
.resource-card { margin: 0 0 30px; }
.post-card     { margin: 0 0 22px; }

/* A post card carries its lead image beside the copy, the same shape as the
   ebook cards' cover-and-copy row. Posts without an image are the same rule
   with one child, so they simply fill the width. */
.post-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.post-card-thumb {
    flex: 0 0 240px;
    max-width: 240px;
}

/* The image is wrapped in a link, and an inline anchor shrink-wraps, so the
   image's width:100% would resolve against the anchor rather than the card. */
.post-card-thumb a { display: block; }

.post-card-thumb img {
    display: block;
    width: 100%;
    /* Substack art is whatever shape she uploaded, so the box is fixed and
       the image is cropped to it — otherwise every card is a different
       height and the list stops reading as a list. */
    height: 160px;
    object-fit: cover;
    border: 1px solid #e6d8ca;
    border-radius: 4px;
}

.post-card-copy {
    flex: 1 1 auto;
    min-width: 0;   /* flex items floor at min-content without this */
}

.resource-card h2,
.post-card h2 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 1.3;
    color: #3C342D;
    text-align: left;
    margin: 0 0 8px;
}

.resource-card h2 a,
.post-card h2 a { color: inherit; text-decoration: none; }
.resource-card h2 a:hover,
.post-card h2 a:hover { color: #653535; }

.resource-card-meta,
.post-card-meta {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #a08b7d;
    text-align: left;
}

/* The index's meta line sits under its title, the blog's date sits above
   one, so they need different room beneath them. */
.resource-card-meta { margin: 0 0 14px; }
.post-card-meta     { margin: 0 0 7px; }

.resource-card p,
.post-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #4f463f;
    text-align: left;
    margin: 0 0 18px;
}

.resource-card p:last-child,
.post-card p:last-child { margin-bottom: 0; }

/* A run of posts with a button apiece would shout; the index has two cards
   and each is a destination, so those keep the site's .cta-button. */
.post-card-more a {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.6px;
    color: #865024;
    text-decoration: none;
}

.post-card-more a:hover { text-decoration: underline; }

/* The blog's language switch: two links drawn as one pill, the current
   language filled. Links rather than a form control because each language
   is a page of its own (blog.php and blog.php?lang=ro). */
.post-lang {
    display: inline-flex;
    margin: 0 0 30px;
    border: 1px solid #ddcbbc;
    border-radius: 999px;
    overflow: hidden;
    background: #ffffff;
}

.post-lang a {
    padding: 9px 22px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.6px;
    line-height: 1.4;
    color: #865024;
    text-decoration: none;
}

.post-lang a:hover { background: #f6eee7; }

.post-lang a.is-current,
.post-lang a.is-current:hover {
    background: #865024;
    color: #ffffff;
}

/* Both languages' lists are in the page; the one not chosen is hidden. Said
   outright because the attribute alone loses to any display rule. */
.post-list[hidden] { display: none; }

/* Shown when the publication has nothing published yet, and when the feed
   cannot be read at all — see includes/substack-feed.php. */
.resource-note {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #4f463f;
    text-align: left;
    margin: 0;
}

.resource-note a { color: #865024; text-decoration: underline; }

@media only screen and (max-width: 767px) {
    .resource-card,
    .post-card { padding: 26px 24px; }

    .resource-card h2,
    .post-card h2 { font-size: 22px; }

    /* A 240px image beside the copy leaves neither enough room at phone
       width, so the image goes full width above it. The ebook cards stack
       at 900px, but they carry a tall portrait cover; a landscape post
       image still sits happily beside text down to the mobile breakpoint,
       and stacking it earlier only produced a hard letterbox crop. */
    .post-card {
        flex-direction: column;
        /* A column flex container with flex-start shrink-wraps its
           children, which left the image at its intrinsic width instead of
           filling the card. */
        align-items: stretch;
        gap: 20px;
    }

    .post-card-thumb {
        flex-basis: auto;
        max-width: none;
        width: 100%;
    }

    .post-card-thumb img { height: 180px; }
}


/* ==========================================================================
   Hello (hello-*.php) — the short introduction shared by link.

   One page that stands in for the whole site in half a minute, so it is
   built from the pieces the site already has: the home banner's portrait,
   serif name and dot rule, the Free Resources cards, the site's .cta-button.
   Self-contained under .hello-* and appended last, like the blocks above.
   It lays itself out with .hello-wrap rather than the skeleton .container,
   whose fixed widths (300px on a phone) are the wrong shape for cards.
   Spacing in rem/px, never em — the theme's font-sizes make em unpredictable.
   ========================================================================== */

/* --- Hero -------------------------------------------------------------- */

/* Unlike the home banner this does not fill the screen: the point is that
   the first screen already shows there is more below. */
.hello-hero {
    background-color: #ecdfd5;
    padding: 56px 4vw;   /* no menu bar on these pages, so nothing to clear */
    box-sizing: border-box;
    overflow: hidden;
}

.hello-hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    max-width: 1080px;
    margin: 0 auto;
}

.hello-hero-photo {
    flex: 0 1 38%;
}

.hello-hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(62vh, 560px);
    max-height: min(62svh, 560px);
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 14px 20px rgba(74, 58, 44, 0.30));
}

.hello-hero-copy {
    flex: 1 1 62%;
    max-width: 34rem;
    text-align: center;
}

.hello-name {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-weight: 600;
    text-transform: none;
    color: #3a3632;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: 0.005em;
    margin: 0;
}

.hello-rule {
    display: block;
    position: relative;
    width: 11rem;
    max-width: 60%;
    height: 1px;
    background: #c69a78;
    margin: 1.3rem auto;
}

.hello-rule::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b07d56;
}

.hello-tagline {
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 400;
    color: #4a453f;
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
    line-height: 1.5;
    margin: 0 auto;
}

/* Her accreditation, on the first screen: for someone meeting her through a
   link it is the quickest reason to keep reading. */
.hello-credential {
    font-family: "Quicksand", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    line-height: 1.7;
    text-transform: uppercase;
    color: #8a6b50;
    margin: 14px 0 0;
}

.hello-lede {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #653535;
    max-width: 27rem;
    margin: 1.5rem auto 0;
    text-wrap: balance;   /* no one-word last line; ignored where unsupported */
}

.hello-actions {
    margin: 1.6rem 0 0;
    text-align: center;
}

.hello-actions .cta-button { margin: 0; }

/* --- Sections ---------------------------------------------------------- */

.hello-section {
    background: #ffffff;
    padding: 64px 0;
}

.hello-section-tint {
    background: #fbf7f3;
    border-top: 1px solid #f0e6dc;
    border-bottom: 1px solid #f0e6dc;
}

.hello-wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.hello-wrap-narrow { max-width: 720px; }

.hello-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 1.15;
    color: #653535;
    text-align: center;
    text-transform: none;
    margin: 0 0 26px;
    text-wrap: balance;
}

.hello-text {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #4f463f;
    text-align: center;
    margin: 0 0 14px;
    text-wrap: balance;
}

.hello-more {
    margin: 18px 0 0;
    text-align: center;
}

.hello-more a {
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.6px;
    color: #865024;
    text-decoration: none;
}

.hello-more a:hover { text-decoration: underline; }

/* --- Cards ------------------------------------------------------------- */

.hello-cards {
    display: flex;
    gap: 22px;
}

/* Four cards share a row only on a wide screen; between that and the
   phone layout they go two and two, so a title never wraps word by word. */
.hello-cards-4 { flex-wrap: wrap; }
.hello-cards-4 .hello-card { flex-basis: calc(50% - 11px); }

@media screen and (min-width: 1000px) {
    .hello-cards-4 { flex-wrap: nowrap; }
    .hello-cards-4 .hello-card { flex-basis: 0; }
}

.hello-card {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #ece0d5;
    border-radius: 8px;
    padding: 28px 28px 26px;
    box-sizing: border-box;
}

.hello-card h3 {
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: #3C342D;
    text-align: left;
    margin: 0 0 8px;
}

.hello-card h3 a { color: inherit; text-decoration: none; }
.hello-card h3 a:hover { color: #653535; }

.hello-card p {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #4f463f;
    text-align: left;
    margin: 0 0 12px;
}

/* This line is her copy, not a caption, so it is the darker brown: the
   site's usual #a08b7d meta colour is too faint for a sentence. */
.hello-card p.hello-card-lead {
    text-wrap: balance;
    font-size: 14px;
    font-weight: 600;
    color: #8a6b50;
    margin-bottom: 8px;
}

/* Pinned to the bottom so the three links line up whatever the copy length. */
.hello-card p.hello-more {
    margin: auto 0 0;
    padding-top: 6px;
    text-align: left;
}

/* --- Testimonial ------------------------------------------------------- */

.hello-quote {
    margin: 0;
    padding: 0;
    border: 0;
    text-align: center;
}

.hello-quote p {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    font-style: italic;
    font-size: 25px;
    line-height: 1.5;
    color: #4a453f;
    margin: 0 0 24px;
    text-wrap: balance;
}

.hello-quote footer {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: none;
    text-align: left;
}

.hello-quote footer img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.hello-quote footer span {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #8a6b50;
}

.hello-quote footer strong {
    display: block;
    font-family: "Quicksand", sans-serif;
    font-size: 15px;
    color: #3C342D;
}

/* --- Option 2: the six destinations as two lists ------------------------ */

.hello-cols {
    display: flex;
    gap: 56px;
}

.hello-col {
    flex: 1 1 0;
    min-width: 0;
}

.hello-col-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.2;
    color: #653535;
    text-align: left;
    text-transform: none;
    margin: 0 0 10px;
}

.hello-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hello-links li {
    margin: 0;
    border-top: 1px solid #ece0d5;
}

.hello-links li:last-child { border-bottom: 1px solid #ece0d5; }

/* The whole row is the link; the chevron says so without a "Learn more". */
.hello-links a {
    position: relative;
    display: block;
    padding: 14px 28px 14px 0;
    text-decoration: none;
}

.hello-links a::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-top: 2px solid #BF9D82;
    border-right: 2px solid #BF9D82;
    transform: rotate(45deg);
    transition: right 0.16s ease;
}

.hello-links a:hover::after { right: 2px; }

.hello-links strong {
    display: block;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.35;
    color: #3C342D;
}

.hello-links a:hover strong { color: #653535; }

.hello-links span {
    display: block;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #8a6b50;
}

.hello-quote-small {
    max-width: 640px;
    margin: 52px auto 0;
}

.hello-quote-small p {
    font-size: 23px;
    margin-bottom: 18px;
}

/* --- Option 3: one screen, links only ----------------------------------- */

/* The portrait stays beside the copy on a wide screen and the links sit
   under the button as two columns of three, so nothing needs scrolling. */
.hello-card-page .hello-hero-copy { max-width: 30rem; }

/* Filled column by column, so each column is one kind of thing: working
   with her on the left, listening and reading on the right. */
.hello-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    gap: 10px;
    list-style: none;
    max-width: 26rem;
    margin: 1.6rem auto 0;
    padding: 0;
}

.hello-pills li { margin: 0; }

/* Language training sits under both columns rather than in either. */
.hello-pills .hello-pill-wide {
    grid-column: 1 / -1;
    grid-row: 4;
}

.hello-pills a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 46px;
    padding: 6px 10px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e2d3c4;
    border-radius: 6px;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.25;
    color: #3C342D;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.16s ease, color 0.16s ease;
}

.hello-pills a:hover {
    border-color: #BF9D82;
    color: #653535;
}

/* --- The way out ------------------------------------------------------- */

/* With no menu bar, this is the one link to the site as a whole. */
.hello-exit {
    margin: 44px 0 0;
    text-align: center;
}

.hello-exit a {
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #865024;
    text-decoration: none;
    border-bottom: 1px solid #d9c3ae;
    padding-bottom: 3px;
}

.hello-exit a:hover { border-bottom-color: #865024; }

.hello-card-page .hello-exit { margin-top: 1.7rem; }

/* --- Footer on these pages --------------------------------------------- */

/* Site-wide, phones stack the six certificate badges one per row -- about
   900px of scrolling, more than option 3's whole content. Here they sit three
   to a row instead. The size is set inline on each <img> in footer.php,
   hence !important. */
@media screen and (max-width: 767px) {
    body.landing footer .container > .sixteen.columns a { display: inline-block; }

    body.landing footer .container > .sixteen.columns a img {
        width: 86px;
        padding: 5px !important;
    }
}

/* --- Phone ------------------------------------------------------------- */

@media screen and (max-width: 767px) {

    .hello-hero { padding: 36px 6vw 44px; }

    .hello-hero-inner {
        flex-direction: column;
        gap: 1.1rem;
    }

    .hello-hero-photo { flex: 0 0 auto; }

    /* Short enough that the name, tagline and button share the first screen
       with the portrait — this page is opened from a link on a phone. */
    .hello-hero-photo img {
        max-height: 34vh;
        max-height: 34svh;
    }

    .hello-hero-copy {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .hello-rule { margin: 0.9rem auto; }
    .hello-credential { font-size: 11px; letter-spacing: 1.3px; margin-top: 10px; }
    .hello-lede { font-size: 15px; margin-top: 1rem; }
    .hello-actions { margin-top: 1.2rem; }

    .hello-section { padding: 46px 0; }
    .hello-title { font-size: 30px; margin-bottom: 20px; }
    .hello-text { font-size: 15px; }
    .hello-quote p { font-size: 21px; }

    .hello-cards {
        flex-direction: column;
        gap: 16px;
    }

    .hello-card { padding: 24px 22px 22px; }
    .hello-cards-4 .hello-card { flex-basis: auto; }

    .hello-cols {
        flex-direction: column;
        gap: 34px;
    }

    .hello-col-title { font-size: 25px; }
    .hello-quote-small { margin-top: 40px; }
    .hello-quote-small p { font-size: 21px; }
    .hello-exit { margin-top: 36px; }

    .hello-card-page .hello-hero-photo {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        overflow: hidden;
        background: #f6eee7;
        box-shadow: 0 8px 18px rgba(74, 58, 44, 0.16);
    }

    /* A full-length cutout shrunk to fit beside six links leaves her face
       about 40px across, so on a phone this option crops to head and
       shoulders in a circle instead. The image is a transparent cutout:
       oversize it and let the circle do the cropping. */
    .hello-card-page .hello-hero-photo img {
        width: 170%;
        max-width: none;
        max-height: none;
        margin: 2px 0 0 -54%;
        filter: none;
    }

    .hello-pills { margin-top: 1.2rem; }

    .hello-pills a {
        padding: 6px;
        font-size: 13px;
    }
}

/* ==========================================================================
   Communicative Language Training (language-training.php).

   Valentina designed this page herself as a standalone file; its layout,
   cards and pills are hers. Only the colours and typefaces are swapped for
   the site's own, mapped onto the Free Resources pages' system: #fbf7f3
   page, #ebe0d7 title band, white cards, #653535 brown, Cormorant Garamond
   titles, Quicksand card headings and eyebrows, Open Sans body copy.
   Self-contained under .lt-* because her class names (.card, .btn, .band)
   would otherwise meet the theme's. Spacing in rem/px, never em.
   ========================================================================== */

.lt-page {
    background: #fbf7f3;
    color: #4f463f;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

.lt-page p { margin: 0 0 1em; }
.lt-page strong { color: inherit; font-weight: 700; }

.lt-page h1,
.lt-page h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    color: #653535;
    line-height: 1.15;
    text-align: left;
    margin: 0 0 0.5em;
}

.lt-page h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }

.lt-page h3 {
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: #3C342D;
    text-align: left;
    margin: 0 0 0.35em;
}

.lt-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.lt-section { padding: 64px 0; }
.lt-section.lt-flush-top { padding-top: 0; }

.lt-eyebrow {
    display: inline-block;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    line-height: 1.6;
    color: #a08b7d;
    border: 1.5px solid #a08b7d;
    border-radius: 999px;
    padding: 4px 14px;
    margin-bottom: 20px;
}

/* --- Hero: the site's cream title band ---------------------------------- */

.lt-hero {
    background: #ebe0d7;
    border-bottom: 1px solid #ddcbbc;
    padding: 120px 0 64px;   /* clears the 72px fixed bar + breathing room */
}

.lt-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.lt-page .lt-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.lt-hero h1 .lt-row { display: block; }

.lt-page .lt-lead {
    font-size: 18px;
    max-width: 720px;
}

.lt-hero-photo {
    margin: 0;
    position: relative;
}

.lt-hero-photo::before {
    content: "";
    position: absolute;
    inset: 14px -14px -14px 14px;
    border: 2px solid #653535;
    border-radius: 24px;
    z-index: 0;
}

.lt-hero-photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1000 / 718;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(101, 53, 53, 0.18);
}

.lt-page .lt-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 32px;
    padding: 0;
    list-style: none;
}

.lt-langs li {
    background: #653535;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
}

/* The site's call-to-action tan (.cta-button), in her pill shape. */
.lt-btn {
    display: inline-block;
    background: #BF9D82;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 999px;
    border: 2px solid #BF9D82;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.lt-btn:hover,
.lt-btn:focus-visible {
    background: transparent;
    color: #865024;
    border-color: #865024;
    transform: translateY(-2px);
}

/* --- Cards and lists ---------------------------------------------------- */

.lt-grid { display: grid; gap: 20px; }
/* Two columns, as the class says: auto-fit packed the five "What you will
   gain" cards three to a row and left one alone. One column on a phone. */
.lt-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 680px) {
    .lt-cols-2 { grid-template-columns: minmax(0, 1fr); }
}
.lt-span-all { grid-column: 1 / -1; }

.lt-card {
    background: #ffffff;
    border: 1px solid #ece0d5;
    border-radius: 18px;
    padding: 28px;
}

.lt-page .lt-card p:last-child { margin-bottom: 0; }

/* The theme's reset strips list markers, so they are put back here. */
.lt-page ul.lt-bullets {
    margin: 0;
    padding-left: 1.3em;
    list-style: disc;
}

.lt-bullets > li { padding-bottom: 8px; }
.lt-bullets > li:last-child { padding-bottom: 0; }
.lt-bullets > li::marker { color: #653535; }

.lt-page .lt-sectors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 12px 0 0;
    list-style: none;
}

.lt-sectors li {
    border: 1.5px solid #ece0d5;
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 15px;
    background: #ffffff;
}

.lt-page ul.lt-checks {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lt-checks li {
    position: relative;
    padding: 0 0 14px 34px;
}

.lt-checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #653535;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    display: grid;
    place-items: center;
}

/* --- The brown band ----------------------------------------------------- */

.lt-band {
    background: #653535;
    color: #ebe0d7;
}

.lt-page .lt-band h2 { color: #ffffff; }
.lt-band .lt-eyebrow { color: #ebe0d7; border-color: #ebe0d7; }
.lt-band .lt-checks li::before { background: #ebe0d7; color: #653535; }

/* --- Closing call to action --------------------------------------------- */

.lt-cta { text-align: center; }
.lt-page .lt-cta h2 { text-align: center; }

.lt-box {
    background: #ffffff;
    border: 1px solid #ece0d5;
    border-radius: 28px;
    padding: 56px 28px;
}

.lt-page .lt-cta p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.lt-two-col {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

@media (max-width: 900px) {
    .lt-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .lt-hero-photo { margin-right: 14px; }
}

@media (max-width: 820px) {
    .lt-two-col { grid-template-columns: 1fr; }
    .lt-section { padding: 48px 0; }
    .lt-hero { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    .lt-btn { transition: none; }
}

.lt-page a:focus-visible { outline: 3px solid #653535; outline-offset: 3px; }
.lt-band a:focus-visible { outline-color: #ebe0d7; }

/* ==========================================================================
   Cookie consent banner (js/consent.js).

   Asks before the Meta Pixel loads. Decline and Accept are deliberately the
   same size and weight: EU guidance treats a louder "Accept" as nudging.
   A card floating above the bottom edge rather than a full-width bar, so it
   never hides the footer links underneath for good. Below the preloader
   (#loader, 9999) and above the fixed header (1000/1001).
   ========================================================================== */

.consent-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1100;
    max-width: 420px;
    margin: 0 auto;
    padding: 18px 20px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e2d3c4;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(74, 58, 44, 0.18);
    font-family: "Open Sans", sans-serif;
    text-align: center;
}

.consent-banner .consent-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #4f463f;
}

.consent-banner .consent-text a {
    color: #653535;
    text-decoration: underline;
    white-space: nowrap;
}

.consent-banner .consent-actions {
    display: flex;
    gap: 10px;
    margin: 14px 0 0;
}

.consent-banner .consent-button {
    flex: 1 1 0;
    min-width: 0; /* base.css gives every button min-width: 200px */
    min-height: 44px;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #BF9D82;
    border-radius: 6px;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #653535;
    cursor: pointer;
    transition: background-color 0.16s ease, color 0.16s ease;
}

.consent-banner .consent-button:hover,
.consent-banner .consent-button:focus-visible {
    background: #BF9D82;
    color: #ffffff;
}

@media screen and (max-width: 767px) {
    .consent-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 16px;
    }
    .consent-banner .consent-text { font-size: 13px; }
}
