/*
 Theme Name:   LeadGenera
 Description:  LeadGenera
 Author:       Keiran Martin
*/

@font-face {
    font-family: 'Copperplate';
    src: url('/wp-content/themes/lg/fonts/Copperplate-Bold.woff2') format('woff2'),
         url('/wp-content/themes/lg/fonts/Copperplate-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* font-family: 'Copperplate'; */

:root {
    --primary-color: blue;
    --secondary-color: green;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}
 
html {
    scroll-behavior: smooth;
    scroll-padding-top: 250px !important;
}

.screen-reader-only {
    position: absolute;
    width: 1px;
    clip: rect(0 0 0 0);
    overflow: hidden;
    white-space: nowrap;
}

.wp-video, video{
    max-width: 100% !important; 
    display: block;
    margin: 50px auto;
}

.skip-link {
    background: #319795;
    color: #fff;
    font-weight: 700;
    left: 50%;
    padding: 4px;
    position: absolute;
    transform: translateY(-100%);
    transition: transform 0.3s;
}

.skip-link:focus {
    transform: translateY(0%);
}

hr{
    border-top: 1px solid #fff;
    opacity: 1;
    width: 200px;
    margin: 30px auto;
}

picture{
    width: 100%
}
.adminLabel{
    display: none !important;
}

/*----------------------------
BODY / FONTS
----------------------------*/
body{
    position: relative;
    font-family: "Domine", serif;
    color: #0D0F12;
}
h1,
h2,
h3,
h4,
h5,
h6{
    font-family: "Domine", serif;
    color: #000;
}
h1{
    font-size: 40px;
    line-height: 47px;
}
h2{
    font-size: 37px;
    line-height: 42px;
}
h3{
    font-size: 27px;
    line-height: 32px;
}
h4{
    font-size: 25px;
    line-height: 32px;
}
h5{
    font-size: 23px;
    line-height: 32px;
}
small{
    font-size: 14px;
}

/*----------------------------
CONTENT
----------------------------*/
#app {
    margin-top: 0px;
}

/*----------------------------
FOOTER
----------------------------*/
footer {
    background: #1D1D1D;
    padding: 50px 0 0;
}
footer img {
    margin: 0 auto 40px;
    display: block;
}
footer .content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
footer .content p {
    color: #FFFFFF;
}
footer .date {
    margin-top: 50px;
}
footer .date p {
    text-align: center;
    margin: 0 0 10px;
    color: #FFFFFF;
    opacity: 0.79;
}

footer .phone {
    margin: 0 auto;
    display: block;
    width: fit-content;
    display: flex;
    align-items: center;
    font-size: 20px;
}
footer .phone i {
    color: #fff;
    margin-right: 10px;
}
footer .phone a {
    color: #fff;
    text-decoration: none;
}

/*----------------------------
BUTTONS
----------------------------*/

.btn-orange {
    background: #E9AE61;
    border: 1px solid #FFFFFF;
    border-radius: 0;
    font-family: "Domine", serif;
    font-weight: 700;
    min-width: 250px;
}
.btn-orange:hover {
    background: #1D1D1D;
    color: #fff;
    border: 1px solid #E9AE61;
}

@media(max-width: 576px){
    .btn{
        max-width: 100%;
    }
}

/*----------------------------
PAGINATION
----------------------------*/

#pagination ul{
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

#pagination li{
    margin: 0 5px;
}

#pagination li a{
    font-size: 18px;
    font-weight: 700;
}

/*----------------------------
GLOBAL WHISKY FORM STYLES
----------------------------*/
div.whisky-form-grid p { display: contents !important; }
div.whisky-form-grid br { display: none !important; }

div.whisky-form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 850px !important;
    margin: 30px auto 50px !important; /* 50px adds breathing room beneath the wrapper */
    box-sizing: border-box !important;
}

div.whisky-form-grid .form-field { display: block !important; width: 100% !important; }
div.whisky-form-grid .full-width { grid-column: span 2 !important; }

div.whisky-form-grid input[type="text"],
div.whisky-form-grid input[type="email"],
div.whisky-form-grid input[type="tel"],
div.whisky-form-grid select,
div.whisky-form-grid textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 20px !important;
    border: 1px solid #ffffff !important;
    background-color: #ffffff !important;
    color: #222222 !important;
    font-family: "Georgia", serif !important;
    font-size: 1.1rem !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    height: auto !important;
}

div.whisky-form-grid .wpcf7-form-control-wrap { display: block !important; width: 100% !important; }

div.whisky-form-grid select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
    background-size: 16px !important;
    cursor: pointer !important;
}

div.whisky-form-grid textarea { height: 140px !important; resize: vertical !important; }
div.whisky-form-grid ::placeholder { color: #666666 !important; opacity: 1 !important; }

div.whisky-form-grid .form-submit { 
    text-align: center !important; 
    margin-top: 15px !important; 
    grid-column: span 2 !important; 
}

div.whisky-form-grid input[type="submit"] {
    background-color: #E9AE61 !important;
    color: #1a1a1a !important;
    border: none !important;
    padding: 15px 60px !important;
    font-family: "Domine", serif !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    border-radius: 0 !important;
    width: auto !important;
    display: inline-block !important;
}

div.whisky-form-grid input[type="submit"]:hover { 
    background-color: #1D1D1D !important; 
    color: #ffffff !important; 
}

@media (max-width: 650px) {
    div.whisky-form-grid { grid-template-columns: 1fr !important; gap: 15px !important; }
    div.whisky-form-grid .full-width, div.whisky-form-grid .form-submit { grid-column: span 1 !important; }
}