/* 
Theme Name:		 Amici AAA
Description:	 Amici AAA is a child theme of Care - Boilerplate
Author:			 Care srl
Author URI:		 https://www.carecom.it/
Template:		 care-boilerplate
Version:		 1.0.0
Text Domain:	 amici-aaa
*/


:root {
    --red: #ef0c0c;
    --red-hover: #bf0a0a;
    --black: #2c2c2c;
    --title-main-fs: 60px;
    --title-main-lh: 55px;
    --desc-main-fs: 24px;
    --desc-main-lh: 24px;
    --claim-fs: 50px;
    --title-sub-fs: 40px;
    --title-sub-lh: 50px;
    --desc-fs: 16px;
    --desc-lh: 30px;
    --title-fs: 30px;
    --title-lh: 40px;
    --breadcrumb-fs: 14px;
    --pad-v: 75px;
    --pad-h: 60px;
    --text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    --font: 'Montserrat', sans-serif;
}

/* Font-face declarations for Montserrat */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

.row {
    font-family: 'Montserrat', sans-serif;
}

header#masthead {
    display: none;
}

.page-content, .entry-content, .entry-summary {
    margin: 0 !important;
}

.row {
    position: relative;
    padding: var(--pad-v) var(--pad-h);
}

.row.row-hero {
    background: url(/wp-content/uploads/2024/12/hero-bg.jpg);
    background-size: cover;
    background-position-x: left;
    background-position-y: center;
    background-repeat: no-repeat;
    padding-top: calc(var(--pad-v) * 2);
    padding-bottom: calc(var(--pad-v) * 2);
}

.header-internal > img {
    max-width: 205px;
}

.header-internal {
    display: grid;
    grid-template-columns: 205px auto auto;
    column-gap: var(--pad-h);
    row-gap: var(--pad-v);
    align-items: center;
}

.row.row-header {
    position: relative;
}

.claim span {
    font-size: clamp(20px, 1.85vw, var(--claim-fs));
    font-weight: 300;
}

.claim span b {
    font-weight: bold;
}

.links {
    display: grid;
    grid-auto-flow: column;
    width: fit-content;
    justify-self: end;
    gap: 50px;
}

.links a, .links a:visited {
    color: #fff;
}

.links a {
}

.links a:nth-child(2) {
    position: relative;
}

.links a:nth-child(2):after,.links a:nth-child(2):before {
    position: absolute;
    top: -3px;
    height: calc(100% + 6px);
    background: rgba(255,255,255,.5);
    width: 1px;
    content: '';
}

.links a:nth-child(2):after {
    left: -25px;
}

.links a:nth-child(2):before {
    right: -25px;
}

.row.row-header {
    background: var(--red);
    color: #fff;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-text {
    max-width: 935px;
}

.hero-text h1 {
    text-transform: uppercase;
    font-size: var(--title-main-fs);
    line-height: var(--title-main-lh);
    color: #fff;
    text-shadow: var(--text-shadow);
    margin-bottom: 15px;
    margin-top: 0;
    font-weight: 800;
}
.hero-text h1 span {
    color: var(--red);
    font-size: var(--title-main-fs);
    line-height: var(--title-main-lh);
}

.hero-text > span {
    font-size: var(--desc-main-fs);
    line-height: normal;
    text-shadow: var(--text-shadow);
    color: #fff;
}

.grid-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    column-gap: var(--pad-h);
    row-gap: var(--pad-v);
}

.grid-1-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--pad-h);
    row-gap: var(--pad-v);
    align-items: center;
}

.grid-main h2 {
    font-size: var(--title-sub-fs);
    line-height: var(--title-sub-lh);
}

.grid-main h2 span {
    text-transform: uppercase;
    font-weight: 800;
    color: var(--red);
}

.col span {
    font-size: var(--desc-fs);
    line-height: var(--desc-lh);
}

.grid-main .col span u {
    display: block;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 15px;
}

a.btn {
    width: fit-content;
    margin-top: 15px;
    text-decoration: none;
    color: #fff;
    background: var(--red);
    padding: 14px 60px 14px 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    line-height: 1;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 0 5px rgb(52 52 52 / 50%);
    transition: .5s background;
}

a.btn:visited {
    color: #fff;
}

a.btn:hover {
    background: var(--red-hover);
}

.btn svg {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.row.row-grey {
    background: var(--black);
    color: #fff;
}

.grid {
    display: grid;
    grid-template-columns: 90px 1fr;
    column-gap: var(--pad-h);
    row-gap: var(--pad-v);
}

.grid-1-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--pad-h);
    row-gap: var(--pad-v);
}

.breadcrumb {
    font-size: var(--breadcrumb-fs);
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
    padding-bottom: 8px;
    height: fit-content;
    width: fit-content;
    line-height: normal;
}

.breadcrumb:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--red);
}

.box h3,
.where h3 {
    font-weight: 800;
    font-size: var(--title-fs);
    line-height: var(--title-lh);
    margin-bottom: 15px;
}

.grid-1-3 .col {
    display: grid;
    grid-auto-flow: row;
    gap: var(--pad-v);
    height: fit-content;
}

.box ul {
    display: grid;
    grid-auto-flow: row;
    gap: 8px;
    font-size: var(--desc-fs);
    line-height: var(--desc-lh);
    list-style: disc;
    list-style-position: unset;
    margin: 30px;
}

.box span b {
    font-weight: 600;
}

.box {
    height: fit-content;
}

.row-internal, .hero-internal,
.header-internal {
    max-width: 1783px;
    margin: 0 auto;
}

.video-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--pad-h);
    row-gap: var(--pad-v);
}


a.youtube-link {
    line-height: 0;
    position: relative;
}

a.youtube-link:before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='video-overlay-play-button' viewBox='0 0 200 200' alt='Play video'%3E%3Ccircle cx='100' cy='100' r='90' fill='none' stroke-width='15' stroke='%23fff'%3E%3C/circle%3E%3Cpolygon points='70, 55 70, 145 145, 100' fill='%23fff'%3E%3C/polygon%3E%3C/svg%3E");
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) scale(0);
    width: 50px;
    height: 50px;
    transform-origin: center;
    transition: .65s transform ease-out;
    z-index: 3;
}

a.youtube-link:hover:before {
    transform: translateX(-50%) translateY(-50%) scale(1);
}

a.youtube-link:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: .5s opacity ease-in-out;
}

a.youtube-link:hover:after {
    opacity: 1;
}


.col.col-1 {
    display: grid;
    grid-auto-flow: row;
    gap: 40px;
}

.info-grid .box a, .info-grid .box a:visited {
    color: #fff;
    display: block;
    width: fit-content;
}


.col.col-1 {
    display: grid;
    grid-auto-flow: row;
    gap: 40px;
}

.info-grid .box a, .info-grid .box a:visited {
    color: #fff;
    display: block;
    width: fit-content;
}

.where-list {
    display: grid;
    grid-auto-flow: column;
    gap: 40px;
}

.info-grid.grid-main {
    align-items: start;
}

.grid-main.info-grid .col span u,
.grid-main.info-grid .col span u a {
    display: inline;
}

.where-list > div {
    display: grid;
    grid-auto-flow: row;
    gap: 8px;
}

.where-list b {
    font-weight: 600;
}

.where-list span {
    line-height: normal;
}

.where-list a, .where-list a:visited, .where-list a:hover {
    color: #fff;
    text-decoration: none;
}

.where-list > div > p {
    line-height: 1.5;
}

.col.col-2 {
    display: grid;
    grid-auto-flow: row;
    gap: 40px;
}

.map {
    line-height: 0;
    width: 100%;
    height: 100%;
    min-height: 400px;
}
#map {
    width: 100%;
    height: 100%;
}


/* Mobile menu */
.menu-icon {
    display: none;
}
.menu-icon a {
  display: inline-grid;
  grid-auto-flow: row;
  gap: 4px;
  cursor: pointer;
  height: 20px;
  align-items: center;
}
.menu-icon a .line {
  height: 2px;
  width: 26px;
  background: #fff;
  display: block;
  transition: .5s transform ease;
}
.menu-icon a.open .line:nth-child(1) {
  transform: rotate(45deg);
}
.menu-icon a.open .line:nth-child(3) {
  transform: rotate(-45deg);
  position: absolute;
}
.menu-icon a.open .line:nth-child(2) {
  display: none;
}



@media screen and (max-width: 1180px) {
    .grid-main,
    .grid-1-3 {
        grid-template-columns: 1fr;
    }
    .col.col-1 {
        grid-auto-flow: dense;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 860px) {
    .grid {
        grid-template-columns: auto;
    }
    .video-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-internal {
        grid-template-columns: 205px auto;
    }
    .claim {
        display: none;
    }
}

@media screen and (max-width: 680px) {
    :root {
        --pad-v: 30px;
        --pad-h: 30px;
    }
    .grid-1-2 {
        grid-template-columns: 1fr;
    }
    .video-list {
        grid-template-columns: 1fr;
    }
    .where-list {
        grid-auto-flow: row;
    }
    .col.col-1 {
        grid-template-columns: 1fr;
    }

    .box ul {
        margin: 15px 0;
    }

    .menu-icon {
        display: block;
        justify-self: end;
    }
    .links {
        display: none;
        position: absolute;
        grid-auto-flow: row;
        top: 100%;
        z-index: 10;
        background: var(--red);
        width: 100%;
        left: 0;
        right: 0;
        text-align: center;
        padding: 1em 0 2em;
    }
    .links a:nth-child(2):after, .links a:nth-child(2):before {
        display: none;
    }
}

@media screen and (max-width: 580px) {
    :root {
        --title-main-fs: 45px;
        --title-main-lh: 50px;
        --desc-main-fs: 20px;
        --title-sub-fs: 35px;
        --title-sub-lh: 42px;
    }
}
@media screen and (max-width: 420px) {
    :root {
        --title-main-fs: 42px;
        --title-main-lh: 46px;
        --title-fs: 26px;
        --title-lh: 34px;
    }
}





















































































































