/*
Theme Name: tm-blog
Author: Teppei Matsumoto
Description: tm-blog Theme
Version: 1.0
Text Domain: tm-blog
*/
@charset 'UTF-8';

/*
COLORS
================================================ */
:root {
    /* Color */
    --light-grey: #ccc;
    --grey: #666;
    --dark-grey: #707070;
    --green: #7bba93;
    --dark-blue: #39565C;
    --white: #fff;
    --pale-yellow: #F9F9F4;
    --product-card-accent: var(--green);
    --product-card-accent-soft: rgba(123, 186, 147, .08);
    --product-card-accent-border: rgba(123, 186, 147, .45);
    --product-card-accent-heading: rgba(123, 186, 147, .12);
    
    /* Font/Space Size */
    --font-sm: .75rem;
    --font-md: 1rem;
    --font-lg: 1.25rem;
    --font-xl: 1.625rem;

    /* Border Radius Size */
    --round-sm: 6px;
    --round-md: 10px;
    --round-lg: 50%;
}

/*
GENERAL STYLING
================================================ */
body {
	color: var(--grey);
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--pale-yellow);
}

/*
COMMON
================================================ */
p {
    line-height: 1.7;
}
img,
iframe {
    max-width: 100%;
}

/*
PRODUCT COMPARISON
================================================ */
.product-comparison-wrap {
    width: 100%;
    max-height: 78vh;
    margin: 2rem 0;
    overflow: auto;
    background: #fff;
    border: 1px solid #d8e3de;
    border-top: 2px solid #9ed7bb;
    border-radius: 0;
    -webkit-overflow-scrolling: touch;
}
.product-comparison-table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    color: var(--dark-blue);
    font-size: .78rem;
    table-layout: fixed;
    border: 1px solid #d8e3de;
}
.product-comparison-table th,
.product-comparison-table td {
    width: 112px;
    min-width: 112px;
    max-width: 112px;
    padding: .55rem .45rem;
    border: 1px solid #dfe7e3 !important;
    line-height: 1.45;
    text-align: center;
    vertical-align: middle;
    background: #fff;
    overflow-wrap: anywhere;
}
.product-comparison-table thead th {
    position: sticky;
    top: 0;
    z-index: 4;
    background: #f6fbf8;
    color: var(--dark-blue);
    font-weight: 700;
    font-size: .72rem;
}
.product-comparison-sort {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2rem;
    color: inherit;
    font: inherit;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    cursor: pointer;
}
.product-comparison-sort::after {
    content: "↕";
    margin-left: .25rem;
    color: var(--green);
    font-size: .72em;
    line-height: 1;
}
.product-comparison-sort[aria-sort="ascending"]::after {
    content: "↑";
}
.product-comparison-sort[aria-sort="descending"]::after {
    content: "↓";
}
.product-comparison-table th:first-child,
.product-comparison-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    background: #fff;
    text-align: left;
    box-shadow: 4px 0 8px rgba(57, 86, 92, .06);
}
.product-comparison-table thead th:first-child {
    z-index: 6;
    background: #eef8f2;
    text-align: center;
}
.product-comparison-table .product-comparison-overall-heading {
    color: var(--dark-blue);
}
.product-comparison-table .product-comparison-field-image {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}
.product-comparison-table .product-comparison-field-rakuten_url,
.product-comparison-table .product-comparison-field-amazon_url {
    width: 124px;
    min-width: 124px;
    max-width: 124px;
    overflow-wrap: normal;
    word-break: keep-all;
}
.product-comparison-table tbody tr:nth-child(even) th,
.product-comparison-table tbody tr:nth-child(even) td {
    background: #fbfcfb;
}
.product-comparison-table tbody tr:nth-child(even) .product-comparison-product,
.product-comparison-table tbody tr:nth-child(even) .product-comparison-overall {
    background: #fbfcfb;
}
.product-comparison-table tr:last-child th,
.product-comparison-table tr:last-child td {
    border-bottom: 0;
}
.product-comparison-table th:last-child,
.product-comparison-table td:last-child {
    border-right: 0;
}
.product-comparison-product {
    position: relative;
    font-weight: 700;
}
.product-comparison-thumb {
    display: block;
    margin: 0 auto .45rem;
}
.product-comparison-thumb img,
.product-comparison-table td img {
    display: block !important;
    width: auto !important;
    max-width: 120px !important;
    max-height: 120px !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}
.product-comparison-title {
    display: inline-block;
    color: var(--dark-blue) !important;
    font-weight: 700;
    text-decoration: underline;
    overflow-wrap: anywhere;
}
.product-comparison-score {
    display: inline-block;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.product-comparison-table a {
    color: inherit;
    overflow-wrap: anywhere;
}
.product-comparison-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.55rem;
    padding: .45rem .5rem;
    border-radius: 4px;
    background: #08ad3f;
    color: #fff !important;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    transition: opacity .2s;
}
.product-comparison-button:hover,
.product-comparison-button:focus-visible {
    opacity: .82;
}
.product-comparison-popup-open {
    overflow: hidden;
}
.product-comparison-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    padding: 2rem;
    background: rgba(20, 32, 36, .62);
}
.product-comparison-popup.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-comparison-popup__panel {
    position: relative;
    width: min(1120px, 100%);
    height: min(760px, 88vh);
    overflow: hidden;
    border: 1px solid #d8e3de;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(20, 32, 36, .24);
}
.product-comparison-popup__close {
    position: absolute;
    top: .65rem;
    right: .65rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #d8e3de;
    border-radius: 50%;
    background: #fff;
    color: var(--dark-blue);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(20, 32, 36, .14);
}
.product-comparison-popup__close:hover,
.product-comparison-popup__close:focus-visible {
    color: #fff;
    background: var(--green);
}
.product-comparison-popup__frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}
.product-comparison-empty {
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(57, 86, 92, .16);
    border-radius: var(--round-sm);
}

@media (max-width: 767px) {
    .product-comparison-wrap {
        max-height: 76vh;
        margin: 1.25rem 0;
    }
    .product-comparison-table {
        font-size: .62rem;
    }
    .product-comparison-table th,
    .product-comparison-table td {
        width: 78px;
        min-width: 78px;
        max-width: 78px;
        padding: .34rem .28rem;
        line-height: 1.35;
    }
    .product-comparison-table thead th {
        font-size: .6rem;
    }
    .product-comparison-sort {
        min-height: 1.65rem;
        line-height: 1.25;
    }
    .product-comparison-sort::after {
        margin-left: .15rem;
        font-size: .68em;
    }
    .product-comparison-table th:first-child,
    .product-comparison-table td:first-child {
        width: 118px;
        min-width: 118px;
        max-width: 118px;
        box-shadow: 3px 0 6px rgba(57, 86, 92, .05);
    }
    .product-comparison-table .product-comparison-field-image {
        width: 82px;
        min-width: 82px;
        max-width: 82px;
    }
    .product-comparison-table .product-comparison-field-rakuten_url,
    .product-comparison-table .product-comparison-field-amazon_url {
        width: 84px;
        min-width: 84px;
        max-width: 84px;
    }
    .product-comparison-thumb {
        margin-bottom: .25rem;
    }
    .product-comparison-thumb img,
    .product-comparison-table td img {
        max-width: 62px !important;
        max-height: 70px !important;
    }
    .product-comparison-title {
        font-size: .68rem;
        line-height: 1.35;
    }
    .product-comparison-score {
        font-size: .76rem;
    }
    .product-comparison-button {
        min-height: 2.6rem;
        padding: .32rem .28rem;
        font-size: .62rem;
        line-height: 1.25;
    }
    .product-comparison-popup {
        padding: .75rem;
    }
    .product-comparison-popup__panel {
        height: 86vh;
    }
}

/*
PRODUCT CARD
================================================ */
.product-card {
    width: 100%;
    margin: 2rem 0;
    padding: 1.25rem;
    border: 1px solid var(--light-grey);
    border-radius: var(--round-sm);
    color: #333;
    background: #fff;
}
.product-card-kicker {
    margin-bottom: .35rem;
    color: #9a9a9a;
    line-height: 1.4;
}
.product-card-title {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: baseline;
    margin: 0 0 1.25rem;
    color: #333;
    font-size: 1.35rem;
    line-height: 1.35;
}
.product-card-kicker,
.product-card-title,
.product-card-badge,
.product-card-overall span,
.product-card-scores,
.product-card-scores b,
.product-card-button,
.product-card-specs dd {
    font-weight: 700;
}
.product-card-title span {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}
.product-card-title span::before {
    content: "|";
    color: #777;
    font-weight: 400;
}
.product-card-badge {
    display: inline-block;
    margin-left: .5rem;
    padding: .1rem .45rem;
    background: #ef3535;
    color: #fff;
    font-size: .72rem;
    line-height: 1.3;
    vertical-align: middle;
}
.product-card-score-box {
    margin-bottom: 1.35rem;
    padding: 1rem;
    border: 1px solid var(--product-card-accent-border);
    border-radius: var(--round-sm);
    background: var(--product-card-accent-soft);
}
.product-card-overall {
    margin-bottom: .4rem;
}
.product-card-overall span {
    display: block;
    color: #a43a1a;
    font-size: .78rem;
}
.product-card-overall strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1.1;
}
.product-card-scores {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1rem;
    color: #a43a1a;
    font-size: .78rem;
    line-height: 1.5;
}
.product-card-main {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, .9fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.5rem;
}
.product-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    min-height: 260px;
    max-height: 360px;
    overflow: hidden;
    background: #fff;
}
.product-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0;
    object-fit: contain !important;
}
.product-card-actions {
    min-width: 0;
}
.product-card-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: .85rem;
}
.product-card-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 4.25rem;
    padding: .75rem 1rem;
    border-radius: var(--round-sm);
    background: var(--product-card-accent);
    color: #fff !important;
    font-size: 1.1rem;
    line-height: 1.3;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 3px 7px rgba(0, 0, 0, .18);
    transition: opacity .2s, transform .2s;
}
.product-card-button:hover,
.product-card-button:focus-visible {
    opacity: .88;
    transform: translateY(-1px);
}
.product-card-button small {
    display: block;
    margin-top: .15rem;
    font-size: .82rem;
    font-weight: 400;
}
.product-card-description {
    margin: 0 0 1.5rem;
    color: #000;
    font-size: var(--font-md);
    line-height: 1.7;
}
.product-card-description p {
    margin: 0 0 .75rem;
}
.product-card-description p:last-child {
    margin-bottom: 0;
}
.product-card-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 1rem 0 0;
    border-top: 1px solid var(--product-card-accent-border);
    border-left: 1px solid var(--product-card-accent-border);
}
.product-card-specs div {
    display: grid;
    grid-template-columns: minmax(120px, 42%) minmax(0, 1fr);
    min-height: 4rem;
    border-right: 1px solid var(--product-card-accent-border);
    border-bottom: 1px solid var(--product-card-accent-border);
}
.product-card-specs dt,
.product-card-specs dd {
    margin: 0;
    padding: .7rem .8rem;
    line-height: 1.45;
}
.product-card-specs dt {
    background: var(--product-card-accent-heading);
    font-weight: 400;
}
.product-card-specs dd {
    background: #fff;
}
.product-card-specs a {
    color: var(--product-card-accent);
    text-decoration: underline;
}
.product-master-single {
    max-width: 980px;
    margin: 0 auto 2rem;
}
.product-master-single .product-card {
    margin-top: 0;
}
.product-master-content {
    margin: 2rem 0 0;
    color: #333;
}

/*
LAYOUT
================================================ */
.wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/*
HEADER
================================================ */
.site-header {
    height: 130px;
    background: url(images/header.jpg) center/cover;
    padding-top: 1rem;
    margin-bottom: 1rem;
    -webkit-clip-path: ellipse(100% 100% at 50% 0);
    clip-path: ellipse(100% 100% at 50% 0);
}
.site-header .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.site-title {
    margin-bottom: .15rem;
    line-height: 1;
    max-width: 50vw;
}
.site-title a {
    color: #000;
    font-family: 'Yomogi', 'Noto Sans JP', sans-serif;
    display: block;
    font-size: clamp(1rem, 5.2vw, 1.28rem);
    letter-spacing: 0;
    overflow-wrap: anywhere;
    transition: color .25s, opacity .25s;
}
.site-title a:hover,
.site-title a:focus-visible {
    color: var(--green);
    opacity: .9;
}
.site-logo {
    height: 40px;
}
.site-description {
    color: #000;
    font-family: 'Yomogi', 'Noto Sans JP', sans-serif;
    max-width: 50vw;
    font-size: clamp(.62rem, 2.8vw, .72rem);
    line-height: 1.15;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

/* Navigation */
body.menu-open {
    overflow: hidden;
}
.btn-menu {
    color: var(--white);
    border: 0;
    border-radius: var(--round-lg);
    width: 46px;
    height: 46px;
    padding: 0;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 20;
    background: var(--dark-blue);
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
    transition: background .25s, color .25s, transform .25s;
}
.btn-menu:hover,
.btn-menu:focus-visible {
    background: var(--green);
    color: var(--white);
    transform: translateY(-1px);
}
.btn-menu-lines {
    display: block;
    width: 22px;
    height: 16px;
    margin: 0 auto;
    position: relative;
}
.btn-menu-lines span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    position: absolute;
    left: 0;
    transition: transform .25s, top .25s, opacity .25s;
}
.btn-menu-lines span:nth-child(1) {
    top: 0;
}
.btn-menu-lines span:nth-child(2) {
    top: 7px;
}
.btn-menu-lines span:nth-child(3) {
    top: 14px;
}
.btn-menu.open-menu .btn-menu-lines span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}
.btn-menu.open-menu .btn-menu-lines span:nth-child(2) {
    opacity: 0;
}
.btn-menu.open-menu .btn-menu-lines span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
}
.admin-bar .btn-menu {
    top: calc(1rem + 46px);
}
.menu-wrapper {
    background: rgba(255,255,255,.94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 5.5rem 1.25rem 2rem;
    margin-top: 0;
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0;
    overflow-y: auto;
    text-align: left;
    width: min(82vw, 320px);
    height: 100vh;
    box-shadow: -8px 0 24px rgba(0,0,0,.16);
    transform: translateX(100%);
    transition: transform .35s ease;
}
.admin-bar .menu-wrapper {
    padding-top: calc(5.5rem + 46px);
}
.menu-wrapper li {
    border-bottom: 1px solid rgba(57, 86, 92, .16);
    padding: 0;
}
.menu-wrapper a {
    display: block;
    color: var(--dark-blue);
    font-weight: bold;
    padding: 1rem .25rem;
    white-space: nowrap;
    transition: color .25s;
}
.menu-wrapper.open-menu {
    transform: translateX(0);
}

/*
MAIN
================================================ */
.main-contents {
    margin-bottom: 3rem;
}
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.content-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.content-primary {
    min-width: 0;
}

/*
HOME SEARCH
================================================ */
.home-search {
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
}
.home-search-label {
    color: var(--green);
    font-size: var(--font-sm);
    font-weight: bold;
    letter-spacing: 0;
    margin-bottom: .5rem;
}
.home-search-title {
    color: var(--dark-blue);
    font-size: var(--font-xl);
    margin-bottom: 1rem;
}
.home-search-form {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-width: 640px;
    margin: 0 auto 1rem;
}
.home-search-form input[type="search"] {
    width: 100%;
    border: 2px solid var(--green);
    border-radius: var(--round-md);
    background: var(--white);
    padding: .9rem 1rem;
    text-align: left;
    transition: border-color .25s, box-shadow .25s;
}
.home-search-form input[type="search"]:focus {
    border-color: var(--dark-blue);
    box-shadow: 0 0 0 3px rgba(57, 86, 92, .16);
    outline: none;
}
.home-search-form button {
    color: var(--white);
    background: var(--dark-blue);
    border-radius: var(--round-md);
    padding: .9rem 1.25rem;
    font-weight: bold;
    transition: background .25s, box-shadow .25s, transform .25s;
}
.home-search-form button:hover,
.home-search-form button:focus-visible {
    background: var(--green);
    box-shadow: 0 4px 10px rgba(123, 186, 147, .45);
    transform: translateY(-1px);
}
.home-search-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}
.home-search-categories a {
    display: inline-block;
    color: var(--dark-blue);
    background: var(--white);
    border: 1px solid var(--light-grey);
    border-radius: var(--round-sm);
    padding: .5rem .75rem;
    transition: background .25s, border-color .25s, color .25s;
}
.home-search-categories a:hover,
.home-search-categories a:focus-visible {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
}

/*
SIDEBAR
================================================ */
.site-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sidebar-card {
    background: var(--white);
    border-radius: var(--round-md);
    padding: 1.25rem;
}
.sidebar-title {
    color: var(--dark-blue);
    font-size: var(--font-lg);
    margin-bottom: 1rem;
    text-align: center;
}
.profile-card {
    text-align: center;
}
.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    overflow: hidden;
    border-radius: var(--round-lg);
    background: var(--pale-yellow);
}
.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-name {
    color: var(--dark-blue);
    font-weight: bold;
    margin-bottom: .5rem;
}
.profile-text {
    font-size: var(--font-sm);
    margin-bottom: 1rem;
}
.profile-link {
    display: inline-block;
    color: var(--white);
    background: var(--green);
    border-radius: var(--round-sm);
    padding: .65rem 1rem;
    font-size: var(--font-sm);
    font-weight: bold;
    transition: background .25s, box-shadow .25s, transform .25s;
}
.profile-link:hover,
.profile-link:focus-visible {
    background: var(--dark-blue);
    box-shadow: 0 4px 10px rgba(57, 86, 92, .35);
    transform: translateY(-1px);
}
.sidebar-category-list li {
    border-bottom: 1px solid var(--light-grey);
    padding: .75rem 0;
}
.sidebar-category-list li:first-child {
    padding-top: 0;
}
.sidebar-category-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.sidebar-category-list a {
    color: var(--dark-blue);
    transition: color .25s;
}
.sidebar-category-list a:hover,
.sidebar-category-list a:focus-visible {
    color: var(--green);
}

/*
POST LIST
================================================ */
.home .post-list,
.archive .post-list,
.search .post-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}
.post-item {
    background: var(--white);
    border-radius: var(--round-md);
    position: relative;
}
.post-item .wp-post-image {
    border-radius: var(--round-md) var(--round-md) 0 0;
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.post-header {
    padding: 1rem;
}
.post-title {
    margin-bottom: .5rem;
    line-height: 1.5;
    word-break: break-word;
}
.post-date {
    color: var(--light-grey);
    font-size: var(--font-sm);
}
.post-categories {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.post-categories li {
    background: var(--dark-blue);
    color: var(--white);
    font-size: var(--font-sm);
    border-radius: var(--round-sm);
    padding: .5rem;
}

/* Post navigation */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.nav-links a{
    padding: .75rem 1rem .85rem;
    background: var(--green);
    border-radius: var(--round-sm);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(123, 186, 147, .6);
}

/* Archive */
.page-title {
    margin-bottom: 1.5rem;
    text-align: center;
}

/*
SINGLE / PAGE ARTICLE
================================================ */
.single .post-title,
.page .post-title {
    font-size: var(--font-lg);
}
.single .post-header {
    padding: 4rem 1rem 1rem;
}
.page .post-header {
    padding: 1rem;
}
.single .wp-post-image + .post-header,
.page .wp-post-image + .post-header {
    padding-top: 1rem;
}
.post-content {
    padding-bottom: 1rem;
}
.post-content a {
    color: var(--green);
    text-decoration: underline;
}
.post-content a:hover {
    color: var(--dark-blue);
}
.post-content h2 {
    font-size: var(--font-lg);
    background: url(images/Light.svg) left top/24px 28px no-repeat;
    border-bottom: 4px double var(--light-grey);
    padding: 0 .5rem .75rem 2rem;
    margin: 3rem 0 .5rem;
}
.post-content h3 {
    font-size: var(--font-lg);
    margin-top: 2rem;
}
.post-content h4,
.post-content h5,
.post-content h6 {
    font-weight: bold;
}
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.post-content p,
.post-content ul,
.post-content ol,
.post-content figure,
.post-content blockquote,
.post-content pre {
    margin-bottom: 1rem;
}
.post-content figcaption {
    font-size: var(--font-sm);
    text-align: center;
}
.post-content img {
    margin-bottom: .5rem;
    height: auto;
}
.post-content .wp-block-image:not(.is-style-rounded) img {
    border-radius: var(--round-md);
}
.post-content ul,
.post-content ol {
    padding-left: 2rem;
}
.post-content ul {
    list-style: square;
}
.post-content ol {
    list-style: decimal;
}
.post-content li {
    line-height: 1.5;
}
.post-content li::marker {
    color: var(--green);
}
.post-content blockquote {
    background: #eee;
    padding: 1rem 1rem .25rem 2rem;
    border-radius: var(--round-md);
    position: relative;
}
.post-content blockquote::before {
    content: '“';
    position: absolute;
    font-size: 3rem;
    color: var(--light-grey);
    top: 0;
    left: 8px;
}
.post-content blockquote cite {
    margin-bottom: 1.5rem;
    display: inline-block;
}
.person-heading {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    margin: 2rem 0;
}
.person-heading-profile {
    text-align: center;
}
.person-heading-image {
    width: 78px;
    height: 78px;
    border-radius: var(--round-lg);
    object-fit: cover;
    background: var(--white);
    display: block;
    margin: 0 auto .65rem;
}
.person-heading-name {
    color: var(--dark-blue);
    display: block;
    font-size: var(--font-sm);
    font-weight: bold;
    line-height: 1.4;
}
.person-heading-bubble {
    background: #e9e9e9;
    border-radius: var(--round-sm);
    color: #1f2b33;
    font-size: var(--font-lg);
    font-weight: bold;
    line-height: 1.7;
    padding: 1.5rem 1.75rem;
    position: relative;
}
.person-heading-bubble::before {
    content: '';
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-right: 16px solid #e9e9e9;
    position: absolute;
    top: 1.25rem;
    left: -16px;
}
.person-heading-bubble p {
    margin-bottom: 0;
}
@media(max-width: 599px) {
    .product-card-title {
        display: block;
        font-size: 1.05rem;
    }
    .product-card-title span {
        display: block;
        margin-top: .25rem;
    }
    .product-card-title span::before {
        margin-right: .45rem;
    }
    .product-card-score-box {
        padding: .85rem;
    }
    .product-card-overall strong {
        font-size: 1.45rem;
    }
    .product-card-main {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .product-card-image {
        min-height: 0;
    }
    .product-card-buttons {
        gap: .75rem;
    }
    .product-card-button {
        min-height: 3.5rem;
        font-size: 1rem;
    }
    .product-card-specs {
        grid-template-columns: 1fr;
    }
    .product-card-specs div {
        grid-template-columns: minmax(112px, 42%) minmax(0, 1fr);
    }
    .person-heading {
        grid-template-columns: 1fr;
        gap: .75rem;
        text-align: center;
    }
    .person-heading-bubble {
        font-size: var(--font-md);
        padding: 1.2rem 1rem;
        text-align: left;
    }
    .person-heading-bubble::before {
        border-right: 12px solid transparent;
        border-left: 12px solid transparent;
        border-bottom: 14px solid #e9e9e9;
        border-top: 0;
        top: -14px;
        left: 50%;
        transform: translateX(-50%);
    }
}
.post-footer {
    padding-bottom: 1rem;
}
.post-content code,
.post-content kbd {
        background: #eee;
        padding: 3px;
        border-radius: 3px;
        margin: 0 3px;
}
/*
BLOCK
================================================ */
.wp-caption {
max-width: 100%;
}
a.wp-block-button__link {
    color: var(--white);
    text-decoration: none;
}
.wp-block-code {
    font-family: Menlo,Consolas,monaco,monospace;
    padding: 0.8em 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: var(--font-sm);
    line-height: 1.5;
}
.wp-block-code code {
    background: none;
}
.wp-block-table table {
    border-collapse: collapse;
    width: 100%;
}
.wp-block-table thead {
    border-bottom: 3px solid;
}
.wp-block-table td,
.wp-block-table th {
    padding: 0.5em;
    border: 1px solid;
    word-break: normal;
}
.wp-block-separator {
    margin: 2rem auto;
    border-color: var(--light-grey);
    width: 100px;
}
.wp-block-calendar {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/*
TAG LIST
================================================ */
.tags-links li {
    display: inline-block;
    font-size: var(--font-sm);
    border: 1px solid var(--light-grey);
    border-radius: var(--round-sm);
    padding: .4rem .5rem .5rem;
    margin-right: .25rem;
    margin-bottom: .25rem;
}
.tags-links a::before {
    content: '#';
    color: var(--light-grey);
    margin-right: .25rem;
}
.tags-links a:hover {
    color: var(--green);
}

/*
FORM
================================================ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    border: 1px solid var(--light-grey);
    border-radius: var(--round-sm);
    padding: .5rem;
}
input[type="submit"] {
    padding: .75rem 1rem .85rem;
    background: var(--green);
    border-radius: var(--round-sm);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(123, 186, 147, .6);
}

/*
COMMENTS
================================================ */
.commentlist {
    margin-bottom: 3rem;
}
h3#comments,
h3#reply-title {
    font-size: var(--font-lg);
    border-bottom: 4px double var(--light-grey);
    padding-bottom: 1rem;
    margin: 3rem 0 1rem;
}
.comment {
    position: relative;
    margin-bottom: 2rem;
}
.comment .avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--round-lg);
    position: absolute;
    top: 0;
    left: 0;
}
.comment-meta {
    font-size: var(--font-sm);
    color: var(--light-grey);
    display: block;
    margin-bottom: .5rem;
}
.comment-author {
    font-weight: bold;
    display: block;
    margin-bottom: .5rem;
}
.comment-body {
    padding-left: 3.5rem;
}
.comment-body p a {
    color: var(--green);
    text-decoration: underline;
}
/* Comment form */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    display: block;
    margin-bottom: 1rem;
    width: 100%;
}
.comment-form-cookies-consent {
    margin-bottom: 1rem;
}

/*
FOOTER
================================================ */
.site-footer {
    background: url(images/footer.svg)center/cover;
    text-align: center;
    color: var(--white);
    padding: 5rem 0 3rem;
    margin-top: 2rem;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: .75rem;
    font-size: var(--font-sm);
}
.footer-links a {
    color: var(--white);
    text-decoration: underline;
    transition: color .25s, opacity .25s;
}
.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--green);
    opacity: .95;
}
.copyright {
    font-size: var(--font-sm);
    color: rgba(255,255,255,.6)
}

/*
MEDIUM SIZE
================================================ */
@media(min-width: 600px){
/* LAYOUT  */
    .wrapper {
        max-width: 1120px;
        padding: 0 3rem;
    }

/* HEADER */
    .site-header {
        height: 260px;
        text-align: center;
        padding-top: 2.5rem;
        -webkit-clip-path: ellipse(80% 100% at 50% 0);
        clip-path: ellipse(80% 100% at 50% 0);
    }
    .site-title {
        margin-bottom: .25rem;
        max-width: none;
    }
    .site-title a {
        font-size: 2.5rem;
    }
    .site-logo {
        height: 100px;
    }
    .site-description {
        max-width: none;
        font-size: 1.5rem;
    }

    /* Navigation */
    .primary-navigation {
        margin-bottom: 2rem;
    }
    .btn-menu {
        display: none;
    }
    .menu-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        border-bottom: 1px solid var(--light-grey);
        background: none;
        position: static;
        width: 100%;
        height: auto;
        box-shadow: none;
        overflow: visible;
        transform: none;
        padding: 0 0 1rem;
        transition: none;
        text-align: center;
    }
    .menu-wrapper li {
        border-bottom: 0;
        padding: 1rem;
    }
    .menu-wrapper a {
        display: inline;
        padding: 0;
        color: inherit;
        font-weight: normal;
    }
    .menu-wrapper a:hover {
        color: var(--green);
    }

    /* Archive */
    .page-title {
        font-size: var(--font-xl);
        margin-bottom: 2rem;
    }

/* MAIN */
    .home-search {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    .home-search-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    .home-search-form {
        flex-direction: row;
    }
    .home-search-form button {
        flex: 0 0 120px;
    }
    .content-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 280px;
        align-items: start;
        gap: 2rem;
    }
    .site-sidebar {
        position: sticky;
        top: 1.5rem;
    }
    .admin-bar .site-sidebar {
        top: calc(1.5rem + 32px);
    }
    .home .post-list,
    .archive .post-list,
    .search .post-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .post-item:hover {
        box-shadow: 0 0 10px rgba(0,0,0,.16);
    }
    .post-categories li:hover {
        background: var(--dark-grey);
    }
    .nav-links a:hover {
        background: var(--dark-blue);
        box-shadow: 0 4px 10px rgba(57, 86, 92, .6);
    }
    .post-item .wp-post-image {
        aspect-ratio: 4 / 3;
    }

/* SINGLE / PAGE ARTICLE */
    .single .post-item .wp-post-image,
    .page .post-item .wp-post-image {
        aspect-ratio: 16 / 9;
    }
    .single .post-item:hover,
    .page .post-item:hover {
        box-shadow: none;
    }
    .single .post-header {
        padding: 4rem 3rem 2rem;
    }
    .page .post-header {
        padding: 2rem 3rem;
    }
    .single .wp-post-image + .post-header,
    .page .wp-post-image + .post-header {
        padding-top: 2rem;
    }
    .single .post-title,
    .page .post-title {
        font-size: var(--font-xl);
    }
    .post-content {
        padding-bottom: 2rem;
    }
    .post-content h2 {
        font-size: var(--font-xl);
        margin-bottom: 1rem;
    }
    .post-content h3 {
        font-size: var(--font-xl);
        margin-top: 3rem;
    }
    .post-content h4 {
        font-size: var(--font-lg);
        margin-top: 3rem;
    }
    .post-content h3,
    .post-content h4,
    .post-content h5,
    .post-content h6,
    .post-content p,
    .post-content ul,
    .post-content ol,
    .post-content figure,
    .post-content blockquote {
        margin-bottom: 1.5rem;
    }
    .post-content img {
        margin-bottom: 1rem;
    }
    .post-content blockquote {
        padding: 1.5rem 1.5rem .25rem 2.5rem;
    }
    .post-content blockquote::before {
        top: 2px;
        left: 10px;
    }
    .post-footer {
        padding-bottom: 3rem;
    }

/* FOOTER */
    .site-footer {
        padding: 9rem 0 5rem;
    }
}

/*
LARGE SIZE
================================================ */
@media(min-width: 1000px){
    .wrapper {
        width: 80%;
        max-width: none;
        padding: 0;
    }

    .home .post-list,
    .archive .post-list,
    .search .post-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
