/*
    Theme Name: Ann & John minisite
    Author: Cognito Concepts
    Author URI: https://cognito.nl
    Description: Ann & John minisite theme
    Requires at least: 6.1
    Requires PHP: 8+
    Version: 1.0
    Text Domain: ajm
    Domain Path: /languages
*/

/* General styling */

body {
    max-width: 1920px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.page-width {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header styling*/

header {
    position: relative;
    width: 100%;
    height: 90px;
}

#logo-container img {
    width: auto;
    height: 100%;

    padding: 15px;
    box-sizing: border-box;
}

#main-menu {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
}

#main-menu li {
    display: inline-block;
    margin: 0 20px;
    list-style: none;

    font-family: montserrat;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 600;
    line-height: 21px;
}

#main-menu li.current-menu-item {
    border-bottom: 1px solid #000;

    font-weight: 500;
}

/* Collection home styling */

.latest-posts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Collection gallery styling */

#gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    justify-content: space-between;

}

/* Call to action banner styling */
#call2action {
    background-color: #f7f4ef;
}

#call2action > img,
#call2action > div {
    display: inline-block;
}

#call2action > img {
    max-width: 30%;
    margin-right: 30px;
}

#call2action > div {
    vertical-align: top;
}

/* Footer styling */

footer {
    padding: 45px 5px;

    background-color: black;
    color: white;
}

#footer-widgets {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-widget {
    width: 400px;
    max-width: 100%;
}

#second-footer {
    width: 100%;
    margin: 15px 0;
}

#second-footer label {
    display: block;

    color: black;
    width: 100%;
    text-align: center;
}