@charset "utf-8";

/* CSS Document for Horizons Modern Kitchen */
/* Import Cormorant Infant and Lato Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300..700;1,300..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;1,300;1,400&display=swap');


/*
FONT INFO

.cormorant-infant-<uniquifier> {
    font-family: "Cormorant Infant", serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

.lato-thin {
    font-family: "Lato", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.lato-light {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.lato-regular {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.lato-bold {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.lato-light-italic {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.lato-regular-italic {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: italic;
}

*/


/*==============CSS RESET==============*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/*==============GENERAL CSS START==============*/

:root {
    font-size: 16px;
    --color-Black: #091016;
    --color-BlackLowOpacity: rgba(9, 16, 22, 0.80);
    --color-RealBlack: #000000;
    --color-OffBlack: #666666;
    --color-OffBlackLowOpacity: rgba(102, 102, 102, 0.80);
    --color-OffBlackLowerOpacity: rgba(102, 102, 102, 0.60);
    --color-OffWhite: #F9F9F9;
    --color-DarkGold: #b9923c;
    --color-LightGold: #cbad67;
    --font-serif: "Cormorant Infant", serif;
    --font-sans: "Lato", sans-serif;
    --weight-thin: 100;
    --weight-light-italic: 300;
    --weight-light: 300;
    --weight-regular-italic: 400;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-bold: 700;
}

html {
    font-size: 16px;
    /* font-feature-settings: "smcp" 1, "lnum" 1; // small caps
    -webkit-font-feature-settings: "smcp" 1, "lnum" 1; // small caps
    -moz-font-feature-settings: "smcp" 1, "lnum" 1; // small caps
    -ms-font-feature-settings: "smcp" 1, "lnum" 1; // small caps */
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    font-size: 100%;
    background-color: transparent;
    margin: 0;
    font-family: var(--font-serif);
    font-style: normal;
    line-height: 1.75;
}

.container-fluid {
    background: transparent;
}

table {
    background: transparent;
}

#content {}

h1:first-letter,
h1:first-letter,
h3:first-letter,
h4:first-letter,
h5:first-letter,
h6:first-letter {
    text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-Black);
    font-family: var(--font-serif);
    font-style: normal;
    -webkit-font-smoothing: antialiased;
}

.header.section td h1 {
    color: var(--color-Black);
    display: inline-block;
    letter-spacing: 0.25rem;
    line-height: 125%;
    margin-bottom: 0.625em;
    padding: 5px 10px;
    text-transform: uppercase;
    text-align: center;
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-style: normal;
    font-weight: var(--weight-medium);
    width: 100%;
    transition: all 0.4s ease;
}



/* .header.page+table.section .header.section h1 {
    margin-top: 0;
} */

table.section {
    margin-top: 0;
}

table {
    background: transparent;
    /*     border-collapse: collapse; */
}

.page-numbers+table.section {
    margin: 0;
}


/*==============BEGIN SECTIONS=============*/

.rule-info {
    /*     margin-left: 20px; */
}


/* h1 {
    margin: 0;
    font-size: 2rem;
} */


/* SELECT ALL BUT THE FIRST H1 SECTION */

.wine+.section .header h1 {
    margin-top: 3.0rem;
}

.rule-info+.h1 .header.section h1 {
    margin-top: 3.0rem;
}

h2 {
    color: var(--color-RealBlack);
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: normal;
    font-weight: var(--weight-medium);
    letter-spacing: 0.25rem;
    line-height: 2.0rem;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

/* h2::before {
    font-family: var(--font-serif);
    content: '― ';
} */

/* h2::after {
    font-family: var(--font-serif);
    content: ' ―';
} */


/* SELECT ALL H2 SECTIONS THAT FALL IMMEDIATELY AFTER AN H1 SECTION */

.section+.section h2 {
    margin-top: 1.0rem;
}

.h1+.h2 h2 {
    margin-bottom: 1.0rem;
}

/* SELECT ALL H2 SECTIONS THAT DON'T FALL IMMEDIATELY AFTER AN H1 SECTION */

.rule-info+.h2 h2 {
    margin-top: 3.0rem;
    margin-bottom: 1.0rem;
}

/* SELECT ALL H2 SECTIONS THAT ARE THE ONLY TITLES BETWEEN TWO WINE BLOCKS */
.h4~.h2 h2 {
    margin-bottom: 1.0rem;
}

h3 {
    color: var(--color-Black);
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-style: normal;
    font-weight: var(--weight-regular);
    letter-spacing: 0.2rem;
    line-height: 1;
    position: relative;
    text-align: left;
    text-transform: uppercase;
    transition: all 0.4s ease;
}


/* SELECT ALL H3 SECTIONS THAT FALL IMMEDIATELY AFTER AN H1 TITLE */

.h1+.h3 {
    margin-top: 1.0rem;
}


/* SELECT ALL H3 SECTIONS THAT FALL IMMEDIATELY AFTER A WINE BLOCK */

.rule-info+.h3 h3 {
    margin-top: 1.0rem;
}

/* SELECT ALL H3 SECTIONS THAT FALL IMMEDIATELY AFTER AN H2 TITLE */

.h2+.h3 h3 {
    margin-top: 0.25rem;
}

h4 {
    color: var(--color-Black);
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-style: normal;
    font-weight: var(--weight-regular);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

h4::before {
    font-family: var(--font-serif);
    content: '» ';
}

/* SELECT ALL H4 SECTIONS THAT ARE THE ONLY TITLES BETWEEN TWO WINE BLOCKS */

.h3+.h4 h4 {
    margin-top: 0.25rem;
}

/* SELECT ALL H4 SECTIONS THAT FALL IMMEDIATELY AFTER A WINE BLOCK */

.rule-info+.h4 h4 {
    margin-top: 1.0rem;
}



/*==============END SECTIONS=============*/


/*==============BEGIN WINE CELL=============*/

tr {
    border: none;
}


/* SELECT ALL WINES THAT FALL IMMEDIATELY AFTER A SECTION HEADER */

.wine:nth-child(1) {
    margin-top: 0.5rem;
}


/* Each Wine Cell */

.wine {
    border-collapse: collapse;
    margin-bottom: 0.8rem;
    /* Distance between wine cells */
}


/* Bin Number */

table.wine tr td.bin-number {
    color: var(--color-OffBlack);
    font-family: var(--font-serif);
    font-size: 0.85rem;
    padding-left: 10px;
    padding-right: 5px;
    text-align: center;
    vertical-align: top;
    width: 40px;
}

/* .wine td.bin_number h3 {
    color: #bcbcbc;
    font-size: 0.5rem;
    font-weight: 600;
    margin-top: 5px;
    vertical-align: top;
} */


/* Wine Name and Origin Group*/

.title {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5em;
    width: 85%;
    justify-content: space-between;
    transition: all 0.4s ease;
}


/* Wine Name */

.wine-name {
    color: var(--color-OffBlack);
    display: inline-block;
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 1.25rem;
    letter-spacing: 0.01rem;
    line-height: 1;
    transition: all 0.4s ease;
}


/* Wine Origin */

.origin {
    color: var(--color-OffBlack);
    display: inline-block;
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.89rem;
    font-weight: var(--weight-regular);
    letter-spacing: 0.05rem;
    line-height: 1;
    padding-left: 0.5em;
    padding-top: 4px;
    text-transform: uppercase;
    text-wrap-mode: nowrap;
    transition: all 0.4s ease;
}

.origin::before {
    content: '║';
    color: var(--color-OffBlack);
    font: inherit;
    line-height: inherit;
    display: inline-block;
    padding-right: 0.5em;
    padding-top: 4px;
    transition: all 0.4s ease;
}

.title+td {}

/* Wine Serving Format and Price*/

.serving-container {
    display: inline-block;
    justify-content: flex-end;
    align-items: baseline;
    text-align: right;
    width: 15%;
    vertical-align: -webkit-baseline-middle;
    baseline-source: first;
    transition: all 0.4s ease;
}

.serving-price {
    display: inline-block;
    margin-right: 0;
    margin-left: 5px;
    text-align: right;
    transition: all 0.4s ease;
}

.serving-format {
    display: inline-block;
    transition: all 0.4s ease;
}

.serving {
    display: inline-block;
    direction: rtl;
    /* Positions the serving format before the price */
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    text-align: right;
    transition: all 0.4s ease;
}

.serving-price,
.serving-format,
.price,
.format {
    direction: ltr;
    /* Positions the price after the serving format */
}


/* Wine Price */

.price {
    color: var(--color-OffBlackLowOpacity);
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: var(--weight-medium);
    width: 35px;
    transition: all 0.4s ease;
}


/* Wine Serving Format*/

.format {
    color: var(--color-OffBlackLowOpacity);
    display: inline;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: var(--weight-light);
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-wrap-mode: nowrap;
    transition: all 0.4s ease;
}

/* Wine Tasting Note */

tr td.description {
    display: flex;
    width: 85%;
    transition: all 0.4s ease;
}

.description {
    color: var(--color-OffBlackLowerOpacity);
    font-family: var(--font-sans);
    font-style: italic;
    font-size: 1.14rem;
    font-weight: var(--weight-regular);
    letter-spacing: -0.02rem;
    line-height: 1.15rem;
    padding-top: 0rem;
    text-transform: none;
    transition: all 0.4s ease;
}


/*==============END WINE CELL=============*/


/*====
  MEDIA QUERIES
====*/


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

    h1 {
        line-height: 110%;
        margin-bottom: 0.5em;
        font-size: 2.4rem;
    }

    h2 {
        font-size: 1.9rem;
        font-weight: 550;
        ;
    }

    h3 {
        font-size: 1.7rem;
    }

    .title {
        gap: unset;
        width: calc(80% - 20px);
        vertical-align: baseline;
    }

    .wine-name {
        font-size: 1.23rem;
        vertical-align: baseline;
    }

    .origin {
        display: inline-flex;
        flex-wrap: wrap-reverse;
        font-size: 0.9rem;
        padding: 0 0.5em;
        justify-content: flex-end;
        text-align: end;
        text-wrap-mode: unset;
    }

    .origin::before {
        content: '';
    }

    .serving-container {
        display: inline-block;
        /* float: inline-end; */
        flex-wrap: wrap;
        align-items: baseline;
        padding-left: 20px;
        width: 20%;
        vertical-align: baseline;
        baseline-source: first;
    }

    .serving-price {
        display: inline-flex;
    }

    .serving-format {
        display: inline-flex;
        /* align-items: flex-end; */
    }

    .serving {
        display: flex;
        align-items: baseline;
    }

    .format {
        display: inline-block;
        text-wrap-mode: wrap;
        line-height: 1;
    }

    tr td.description {
        width: 80%;
    }

    .description {
        font-size: 1.1rem;
        padding-top: 0.2em;
    }
}
