@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {

    --gold: #FFBF00;

    --sand: #F2CF7E;

    --lemon: #FFE642;

    --orange: #FF7900;

    --ink: #171717;

    --muted: #62656b;

    --line: #e9e7e2;

    --cream: #fff9e9;

    --bg: #fff;

    --radius: 18px;

    --shadow: 0 12px 32px rgba(28,20,0,.07);

}

* {

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    margin: 0;

    color: var(--ink);

    background: var(--bg);

    font-family: "DM Sans",Arial,sans-serif;

    line-height: 1.65;

}

h1,h2,h3,h4 {

    font-family: Outfit,Arial,sans-serif;

    line-height: 1.14;

    letter-spacing: -.035em;

}

h1 {

    font-size: clamp(2.5rem,5.5vw,5.1rem);

}

h2 {

    font-size: clamp(1.8rem,3.2vw,2.8rem);

}

h3 {

    font-size: 1.3rem;

}

a {

    color: inherit;

    text-decoration: none;

}

a:hover {

    color: #d65d00;

}

img {

    max-width: 100%;

    height: auto;

}

button,input {

    font: inherit;

}

button {

    cursor: pointer;

}

.container {

    width: min(1180px,calc(100% - 40px));

    margin-inline: auto;

}

.screen-reader-text {

    position: absolute;

    left: -9999px;

}

.screen-reader-text:focus {

    left: 10px;

    top: 10px;

    z-index: 99;

    background: #fff;

    padding: 10px;

}

.site-header {

    background: #fff;

    position: relative;

    z-index: 10;

    border-bottom: 1px solid var(--line);

}

.header-inner {

    min-height: 88px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 28px;

}

.brand-link {

    display: flex;

    align-items: center;

    gap: 12px;

}

.brand-icon {

    width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    background: linear-gradient(145deg,var(--gold),var(--orange));

    border-radius: 14px;

    color: #fff;

    font-size: 26px;

}

.brand-text {

    font: 800 clamp(1.15rem,2vw,1.55rem)/1.1 Outfit,Arial;

    letter-spacing: -.045em;

    white-space: nowrap;

}

.brand-text>span {

    color: #111;

}

.brand-text>b {

    color: var(--orange);

}

.brand-text small {

    display: block;

    font: 500 .65rem/1.6 "DM Sans",Arial;

    letter-spacing: 0;

    color: #666;

}

.custom-logo {

    max-height: 70px;

    width: auto;

}

.nav-list {

    display: flex;

    gap: 24px;

    list-style: none;

    padding: 0;

    margin: 0;

    font-size: .91rem;

    font-weight: 700;

}

.nav-list a {

    display: block;

    padding: 12px 0;

}

.nav-list a:hover {

    color: var(--orange);

}

.menu-toggle {

    display: none;

    border: 1px solid var(--line);

    background: #fff;

    border-radius: 10px;

    padding: 8px 12px;

}

.hero {

    background: radial-gradient(circle at 75% 30%,#ffe167 0,transparent 38%),linear-gradient(110deg,#fff4d4,#ffcb4b);

    overflow: hidden;

}

.hero-grid {

    min-height: 480px;

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    align-items: center;

    gap: 30px;

}

.hero-copy {

    padding: 65px 0;

}

.hero h1 {

    margin: 16px 0 20px;

    max-width: 680px;

}

.hero h1 em {

    font-style: normal;

    color: #e85f00;

}

.hero p {

    max-width: 520px;

    font-size: 1.13rem;

}

.eyebrow {

    font-weight: 800;

    color: #e86600;

    font-size: .77rem;

    letter-spacing: .13em;

    text-transform: uppercase;

}

.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 27px;

}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 13px 22px;

    border-radius: 11px;

    font-weight: 800;

    line-height: 1.3;

    transition: transform .2s,background .2s;

}

.btn:hover {

    transform: translateY(-2px);

}

.btn-primary {

    background: var(--orange);

    color: #fff;

}

.btn-primary:hover {

    background: #dd6100;

    color: #fff;

}

.btn-outline {

    border: 2px solid var(--orange);

    background: #fff8e9;

}

.hero-art {

    min-height: 390px;

    position: relative;

    display: grid;

    place-items: center;

}

.orb {

    position: absolute;

    border-radius: 50%;

}

.orb-one {

    width: 350px;

    height: 350px;

    background: linear-gradient(145deg,var(--lemon),var(--orange));

    right: 0;

}

.orb-two {

    width: 220px;

    height: 220px;

    background: #fff7d5;

    left: 3%;

    bottom: 3%;

    opacity: .7;

}

.hero-art-card {

    position: relative;

    z-index: 1;

    width: min(340px,90%);

    aspect-ratio: 1.15;

    background: #fff;

    border-radius: 26px;

    box-shadow: 0 28px 60px #a85e0038;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 12px;

    text-align: center;

    padding: 35px;

    transform: rotate(-5deg);

}

.hero-art-card strong {

    font: 800 2rem/1.1 Outfit;

}

.hero-art-card>span:last-child {

    font-size: .85rem;

    color: #666;

}

.hero-art-icon {

    font-size: 4rem;

    color: var(--orange);

}

.trust-strip {

    background: #fff8e8;

    border-bottom: 1px solid #f7e6bf;

}

.trust-items {

    display: flex;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 18px;

    padding: 20px 0;

    font-size: .88rem;

    font-weight: 800;

}

.section {

    padding: 78px 0;

}

.section-muted {

    background: #faf9f6;

}

.section-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 27px;

}

.section-heading h2 {

    margin: 8px 0 0;

}

.text-link {

    font-weight: 800;

    color: #ed6900;

}

.category-grid {

    display: grid;

    grid-template-columns: repeat(5,minmax(0,1fr));

    gap: 14px;

}

.category-tile {

    min-height: 168px;

    padding: 23px 15px;

    background: linear-gradient(145deg,#fff6da,#ffd65b);

    border: 1px solid #ffda79;

    border-radius: var(--radius);

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: space-between;

    position: relative;

    transition: transform .2s,box-shadow .2s;

}

.category-tile:nth-child(3n) {

    background: linear-gradient(145deg,#fff3c3,#ffbe31);

}

.category-tile:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow);

    color: var(--ink);

}

.category-tile strong {

    font: 800 1.05rem/1.3 Outfit;

    max-width: 175px;

}

.category-icon {

    font-size: 2.3rem;

    line-height: 1;

}

.category-arrow {

    position: absolute;

    right: 16px;

    top: 15px;

    color: #a75500;

}

.review-grid {

    display: grid;

    grid-template-columns: repeat(3,minmax(0,1fr));

    gap: 20px;

}

.review-card {

    background: #fff;

    border: 1px solid var(--line);

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: 0 5px 16px #00000006;

    display: flex;

    flex-direction: column;

}

.review-thumb {

    height: 230px;

    background: #fff6e1;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 16px;

}

.review-thumb img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;

}

.review-body {

    padding: 22px;

    display: flex;

    flex-direction: column;

    flex: 1;

}

.review-meta {

    display: flex;

    justify-content: space-between;

    gap: 10px;

    flex-wrap: wrap;

    font-size: .8rem;

    font-weight: 800;

    color: #dc6600;

}

.review-body h3 {

    margin: 13px 0 8px;

}

.review-body p {

    font-size: .92rem;

    color: var(--muted);

    margin: 0 0 20px;

}

.read-more {

    font-weight: 800;

    color: #e86700;

    margin-top: auto;

}

.stars {

    color: #f59c00;

    font-weight: 800;

    white-space: nowrap;

}

.empty-state {

    grid-column: 1/-1;

    background: #fff;

    border: 1px dashed #e3c67c;

    border-radius: var(--radius);

    padding: 35px;

}

.value-grid {

    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 65px;

    align-items: center;

}

.value-grid p {

    color: var(--muted);

    font-size: 1.05rem;

}

.value-panel {

    background: var(--cream);

    border-radius: 24px;

    padding: 25px;

}

.value-panel>div {

    display: grid;

    grid-template-columns: 45px 1fr;

    gap: 2px 12px;

    padding: 14px 0;

    border-bottom: 1px solid #f0dcaa;

}

.value-panel>div:last-child {

    border: 0;

}

.value-panel b {

    grid-row: span 2;

    color: #e86b00;

    font: 800 1.5rem Outfit;

}

.value-panel strong {

    font-weight: 800;

}

.value-panel span {

    color: var(--muted);

    font-size: .9rem;

}

.site-footer {

    background: #1d1c19;

    color: #fff;

    padding-top: 55px;

}

.footer-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 45px;

}

.footer-grid h2 {

    font-size: 1.4rem;

}

.footer-grid h3 {

    font-size: 1rem;

}

.footer-grid p {

    color: #c7c7c7;

}

.footer-grid a {

    display: block;

    color: #e2e2e2;

    margin: 9px 0;

}

.footer-grid ul {

    list-style: none;

    padding: 0;

}

.fineprint {

    font-size: .79rem;

}

.footer-bottom {

    border-top: 1px solid #444;

    margin-top: 35px;

    padding: 20px 0;

    font-size: .8rem;

    color: #bbb;

}

.page-content {

    padding-top: 45px;

    padding-bottom: 85px;

    min-height: 60vh;

}

.page-heading {

    max-width: 760px;

    margin: 22px 0 45px;

}

.page-heading h1,.category-hero h1,.single-heading h1 {

    margin: 8px 0 14px;

}

.page-heading p,.category-hero p {

    font-size: 1.1rem;

    color: var(--muted);

}

.breadcrumbs {

    font-size: .82rem;

    color: #777;

}

.breadcrumbs span {

    padding: 0 9px;

}

.category-hero {

    background: linear-gradient(105deg,#fff7e3,#ffe38a);

    padding: 45px;

    border-radius: 24px;

    margin: 24px 0 55px;

}

.category-hero p {

    max-width: 740px;

}

.category-directory {

    display: grid;

    grid-template-columns: repeat(2,minmax(0,1fr));

    gap: 18px;

}

.directory-item {

    padding: 32px;

    border: 1px solid #efdfbd;

    border-radius: 20px;

    background: linear-gradient(130deg,#fff,#fff6dc);

}

.directory-item h2 {

    font-size: 1.6rem;

    margin: 12px 0;

}

.directory-item p {

    color: var(--muted);

}

.single-heading {

    max-width: 950px;

    margin: 25px 0 35px;

}

.byline {

    color: #666;

    font-size: .9rem;

}

.review-layout {

    display: grid;

    grid-template-columns: minmax(0,1fr) 310px;

    gap: 40px;

    align-items: start;

}

.single-image {

    background: #fff8e9;

    border: 1px solid #f3e8ce;

    border-radius: 20px;

    display: grid;

    place-items: center;

    min-height: 320px;

    padding: 30px;

}

.single-image img {

    max-height: 480px;

    width: 100%;

    object-fit: contain;

}

.affiliate-disclosure {

    font-size: .8rem;

    color: #686868;

    border-left: 3px solid var(--orange);

    padding: 12px 15px;

    background: #faf9f6;

    margin: 24px 0;

}

.verdict {

    padding: 28px;

    background: #fff7df;

    border-radius: 18px;

    margin: 30px 0;

}

.verdict h2 {

    margin: 5px 0 10px;

}

.pros-cons {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

    margin: 35px 0;

}

.pros-cons section {

    padding: 20px;

    background: #f7f9f4;

    border: 1px solid #e4e9dc;

    border-radius: 16px;

}

.pros-cons section+section {

    background: #fff9f3;

    border-color: #f3e3d6;

}

.pros-cons h2 {

    font-size: 1.3rem;

}

.pros-cons li {

    margin-bottom: 8px;

}

.entry-content {

    font-size: 1.04rem;

    overflow-wrap: anywhere;

}

.entry-content h2 {

    margin-top: 2rem;

}

.entry-content img {

    border-radius: 10px;

}

.review-sidebar {

    position: sticky;

    top: 25px;

}

.sidebar-panel {

    border: 1px solid var(--line);

    border-radius: 20px;

    padding: 25px;

    box-shadow: var(--shadow);

}

.sidebar-panel h2 {

    font-size: 1.55rem;

}

.detail-row {

    display: flex;

    justify-content: space-between;

    gap: 10px;

    border-bottom: 1px solid var(--line);

    padding: 12px 0;

    font-size: .85rem;

}

.detail-row span {

    color: #777;

}

.detail-row strong {

    text-align: right;

}

.sidebar-rating {

    margin: 20px 0;

}

.btn-block {

    display: flex;

    width: 100%;

}

.sidebar-panel small {

    display: block;

    color: #777;

    margin-top: 15px;

    font-size: .74rem;

}

.related {

    margin-top: 80px;

}

.narrow {

    max-width: 850px;

}

.search-form {

    margin: 20px 0 40px;

}

.search-form label {

    display: block;

    font-weight: 700;

    margin-bottom: 8px;

}

.search-form>div {

    display: flex;

    gap: 8px;

}

.search-form input {

    flex: 1;

    min-width: 0;

    padding: 12px;

    border: 1px solid #ccc;

    border-radius: 9px;

}

.search-form button {

    background: var(--orange);

    border: 0;

    border-radius: 9px;

    color: #fff;

    font-weight: 800;

    padding: 12px 20px;

}

.nav-links {

    display: flex;

    gap: 12px;

    margin-top: 30px;

}

.page-numbers {

    padding: 8px 12px;

    background: #fff3d0;

    border-radius: 8px;

}

@media (max-width:1000px) {

    .nav-list {

        gap: 12px;

    }

    .brand-text {

        font-size: 1.15rem;

    }

    .category-grid {

        grid-template-columns: repeat(3,1fr);

    }

}

@media (max-width:760px) {

    .container {

        width: min(100% - 28px,1180px);

    }

    .header-inner {

        min-height: 72px;

    }

    .menu-toggle {

        display: block;

    }

    .main-nav {

        display: none;

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        background: #fff;

        box-shadow: 0 12px 24px #0001;

        padding: 12px 20px;

    }

    .main-nav.is-open {

        display: block;

    }

    .nav-list {

        display: flex;

        flex-direction: column;

        gap: 0;

    }

    .nav-list li {

        border-bottom: 1px solid var(--line);

    }

    .hero-grid {

        grid-template-columns: 1fr;

        gap: 0;

    }

    .hero-copy {

        padding: 55px 0 20px;

    }

    .hero-art {

        min-height: 240px;

    }

    .orb-one {

        width: 230px;

        height: 230px;

    }

    .orb-two {

        width: 130px;

        height: 130px;

    }

    .hero-art-card {

        max-width: 250px;

        aspect-ratio: 1.5;

    }

    .hero-art-card strong {

        font-size: 1.4rem;

    }

    .hero-art-icon {

        font-size: 2rem;

    }

    .trust-items {

        justify-content: center;

    }

    .section {

        padding: 55px 0;

    }

    .category-grid {

        grid-template-columns: repeat(2,minmax(0,1fr));

    }

    .review-grid {

        grid-template-columns: repeat(2,minmax(0,1fr));

    }

    .value-grid,.review-layout,.footer-grid {

        grid-template-columns: 1fr;

        gap: 24px;

    }

    .review-sidebar {

        position: static;

    }

    .category-directory {

        grid-template-columns: 1fr;

    }

    .category-hero {

        padding: 28px;

    }

    .section-heading {

        align-items: start;

        flex-direction: column;

    }

    .footer-grid {

        gap: 15px;

    }

}

@media (max-width:520px) {

    .brand-icon {

        width: 37px;

        height: 37px;

    }

    .brand-text {

        font-size: .94rem;

    }

    .brand-text small {

        font-size: .51rem;

    }

    .menu-toggle span {

        display: none;

    }

    .hero h1 {

        font-size: 2.65rem;

    }

    .review-grid {

        grid-template-columns: 1fr;

    }

    .category-tile {

        min-height: 148px;

    }

    .pros-cons {

        grid-template-columns: 1fr;

    }

    .single-image {

        min-height: 230px;

    }

    .page-content {

        padding-top: 28px;

    }

    .hero-actions .btn {

        width: 100%;

    }

}

@media (prefers-reduced-motion:reduce) {

    html {

        scroll-behavior: auto;

    }

    *,*:before,*:after {

        transition: none !important;

    }

}

/* Version 1.1: 11 distinct category cards; graceful wrapping at all sizes. */

.category-grid {

    grid-template-columns: repeat(4,minmax(0,1fr));

}

.category-tile {

    min-width: 0;

}

.category-tile strong {

    overflow-wrap: anywhere;

}

@media (max-width:1000px) {

    .category-grid {

        grid-template-columns: repeat(3,minmax(0,1fr));

    }

}

@media (max-width:760px) {

    .category-grid {

        grid-template-columns: repeat(2,minmax(0,1fr));

    }

}

@media (max-width:360px) {

    .category-grid {

        grid-template-columns: 1fr;

    }

}

/* v1.6: Full-bleed square featured images, no inset padding. */

.review-grid .review-card > a.review-thumb,
.review-card > a.review-thumb {

    display: block;

    width: 100%;

    height: auto;

    aspect-ratio: 1 / 1;

    min-height: 0;

    padding: 0;

    margin: 0;

    overflow: hidden;

    background: transparent;

}

.review-grid .review-card > a.review-thumb > img,
.review-card > a.review-thumb > img {

    display: block;

    width: 100%;

    height: 100%;

    max-width: none;

    max-height: none;

    margin: 0;

    padding: 0;

    object-fit: cover;

    object-position: center;

}

/* v1.6: Full-bleed featured image on individual product review pages. */

.review-single .single-image {

    display: block;

    width: 100%;

    min-height: 0;

    aspect-ratio: 1 / 1;

    padding: 0;

    margin: 0;

    border: 0;

    border-radius: 20px;

    overflow: hidden;

    background: transparent;

}

.review-single .single-image > img {

    display: block;

    width: 100%;

    height: 100%;

    max-width: none;

    max-height: none;

    margin: 0;

    padding: 0;

    border-radius: 0;

    object-fit: cover;

    object-position: center;

}

/* v1.8: Homepage hero banner — keep all product photography to the right. */

.hero {

    position: relative;

    overflow: hidden;

    background-color: #ffbf00;

    background-image: url("https://dalinproductreviews.com/wp-content/uploads/2026/11/darlin-product-reviews-hero-banner.webp");

    background-repeat: no-repeat;

    background-position: center center;

    background-size: cover;

}

.hero .hero-art {

    display: none;

}

.hero .hero-grid {

    display: grid;

    grid-template-columns: minmax(0, 1fr);

    min-height: 480px;

    align-items: center;

}

.hero .hero-copy {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 540px;

    padding: 65px 0;

}

@media (max-width: 760px) {

    .hero {

        background-position: 65% center;

    }

    .hero::before {

        content: "";

        position: absolute;

        inset: 0;

        z-index: 1;

        background: rgba(255, 222, 111, 0.85);

    }

    .hero .hero-copy {

        max-width: 100%;

        padding: 55px 0;

    }

}

/* v1.9 - Responsive category photography; category names are baked into images.
      HTML headings remain in the DOM for accessibility and SEO. */

.category-grid {

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;

}

.category-tile.category-tile--photo {

    display: block;

    min-height: 0;

    padding: 0;

    overflow: hidden;

    aspect-ratio: 768 / 165;

    border: 1px solid #f2c25e;

    background: #ffca32;

    border-radius: 14px;

}

.category-tile-image, .directory-item-image {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.category-tile--photo:hover, .directory-item--photo:hover {

    transform: translateY(-3px);

    box-shadow: 0 12px 25px rgba(90,55,0,.15);

}

.category-directory {

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;

}

.directory-item.directory-item--photo {

    padding: 0;

    overflow: hidden;

    display: block;

    border: 1px solid #efdfbd;

    background: #fff9e9;

    transition: transform .2s, box-shadow .2s;

}

.directory-item-image {

    height: auto;

    aspect-ratio: 768 / 165;

}

.directory-item-content {

    padding: 18px 24px 23px;

}

.directory-item-content p {

    margin: 0 0 12px;

    font-size: .94rem;

}

@media (max-width: 1000px) {

    .category-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

}

@media (max-width: 760px) {

    .category-grid {

        grid-template-columns: 1fr;

    }

    .category-directory {

        grid-template-columns: 1fr;

    }

}

/* v1.9 - Preserve approved homepage hero typography refinements */

.hero {

    isolation: isolate;

}

.hero::before {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background: linear-gradient(90deg,rgba(255,183,38,.65),rgba(255,197,44,.38) 27%,rgba(255,202,47,0) 52%);

    z-index: 0;

}

.hero-grid {

    position: relative;

    z-index: 1;

    min-height: 560px;

}

.hero-copy {

    width: 100%;

    max-width: 425px;

    padding: 45px 0;

}

.hero-copy h1 {

    font-size: clamp(2.5rem,3.5vw,3.65rem);

    line-height: 1.08;

    letter-spacing: -.045em;

    max-width: 425px;

    margin: 14px 0 18px;

    overflow-wrap: normal;

}

.hero-copy p {

    font-size: 1rem;

    line-height: 1.6;

    max-width: 400px;

    margin-bottom: 22px;

}

.hero-actions {

    gap: 10px;

    margin-top: 20px;

}

.hero-actions .btn {

    padding: 12px 17px;

    font-size: .9rem;

}

@media (max-width: 1000px) {

    .hero-copy {

        max-width: 380px;

    }

    .hero-copy h1 {

        font-size: clamp(2.3rem,4vw,3rem);

    }

}

@media (max-width: 760px) {

    .hero::before {

        background: rgba(255,222,111,.88);

        z-index: 0;

    }

    .hero-grid {

        min-height: 460px;

    }

    .hero-copy {

        max-width: 100%;

        padding: 50px 0;

    }

    .hero-copy h1 {

        font-size: clamp(2.2rem,8vw,3rem);

        max-width: 100%;

    }

    .hero-copy p {

        max-width: 100%;

    }

}

/* ==========================================
      DALIN CATEGORY CARDS - v2.0
      Homepage image and HTML text layout
      ========================================== */

.category-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;

}

/* Entire card is clickable */

.category-grid .category-tile--photo {

    display: flex;

    flex-direction: column;

    align-items: stretch;

    justify-content: flex-start;

    height: auto;

    min-height: 0;

    padding: 0;

    overflow: hidden;

    border-radius: 18px;

    background: #fff8e6;

    border: 1px solid #f2d998;

    text-decoration: none;

}

/* Image container */

.category-grid .category-image-wrap {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    aspect-ratio: 3 / 2;

    overflow: hidden;

    background: #ffbf00;

}

/* Display complete category image */

.category-grid .category-tile-image {

    display: block;

    width: 100%;

    height: 100%;

    max-width: none;

    max-height: none;

    object-fit: contain;

    object-position: center;

    border-radius: 0;

}

/* HTML5 category heading and description */

.category-grid .category-tile-content {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 20px;

    background: #fff8e6;

}

.category-grid .category-tile-title {

    margin: 0 0 9px;

    font-size: clamp(1.15rem, 1.5vw, 1.45rem);

    font-weight: 800;

    line-height: 1.25;

    color: #171717;

}

.category-grid .category-tile-description {

    margin: 0 0 18px;

    font-size: 0.9rem;

    line-height: 1.55;

    color: #555;

}

.category-grid .category-tile-link {

    margin-top: auto;

    color: #df6500;

    font-weight: 800;

    font-size: 0.9rem;

}

.category-grid .category-tile--photo:hover {

    transform: translateY(-4px);

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);

}

/* Tablet */

@media (max-width: 1000px) {

    .category-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

}

/* Mobile */

@media (max-width: 600px) {

    .category-grid {

        grid-template-columns: 1fr;

        gap: 16px;

    }

    .category-grid .category-tile-content {

        padding: 18px;

    }

}

/* ==========================================
      DALIN CATEGORY DIRECTORY - v2.0
      Larger image-based category cards
      ========================================== */

.category-directory {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 24px;

}

/* Main directory card */

.category-directory .directory-item--photo {

    display: flex;

    flex-direction: column;

    align-items: stretch;

    justify-content: flex-start;

    min-width: 0;

    padding: 0;

    overflow: hidden;

    border: 1px solid #f0d89c;

    border-radius: 20px;

    background: #fff8e8;

    text-decoration: none;

    transition: transform 0.2s ease,
                box-shadow 0.2s ease;

}

/* Image container */

.category-directory .directory-image-wrap {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    aspect-ratio: 3 / 2;

    overflow: hidden;

    background: #ffbf00;

}

/* Full image without cropping */

.category-directory .directory-item-image {

    display: block;

    width: 100%;

    height: 100%;

    max-width: none;

    max-height: none;

    object-fit: contain;

    object-position: center;

    border-radius: 0;

}

/* HTML text content */

.category-directory .directory-item-content {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 25px;

    background: #fff8e8;

}

.category-directory .directory-item-title {

    margin: 0 0 12px;

    font-size: clamp(1.45rem, 2vw, 1.85rem);

    line-height: 1.2;

    font-weight: 800;

    color: #171717;

}

.category-directory .directory-item-description {

    margin: 0 0 20px;

    font-size: 0.98rem;

    line-height: 1.65;

    color: #555;

}

.category-directory .directory-item-link {

    display: inline-block;

    margin-top: auto;

    color: #e36700;

    font-weight: 800;

    font-size: 0.95rem;

}

/* Hover effect */

.category-directory .directory-item--photo:hover {

    transform: translateY(-4px);

    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);

}

/* Tablet */

@media (max-width: 900px) {

    .category-directory {

        grid-template-columns: 1fr;

    }

}

/* Mobile */

@media (max-width: 600px) {

    .category-directory {

        gap: 18px;

    }

    .category-directory .directory-item-content {

        padding: 20px;

    }

    .category-directory .directory-item-title {

        font-size: 1.45rem;

    }

}

/* ==========================================
      DALIN CATEGORY ARCHIVE HEADER - v2.0
      Image + HTML5 text layout
      ========================================== */

.category-hero--image {

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);

    align-items: center;

    gap: 35px;

    padding: 38px;

    background: linear-gradient(
        115deg,
        #fff7df 0%,
        #ffe28a 100%
    );

    border-radius: 24px;

    overflow: hidden;

}

/* HTML content */

.category-hero--image .category-hero-content {

    min-width: 0;

}

.category-hero--image h1 {

    font-size: clamp(2rem, 3.4vw, 3.5rem);

    line-height: 1.12;

    margin: 16px 0;

    overflow-wrap: break-word;

}

.category-hero--image p {

    font-size: 1.05rem;

    line-height: 1.65;

    margin-bottom: 25px;

    max-width: 550px;

}

.category-hero--image .btn {

    margin-top: 5px;

}

/* Category image container */

.category-hero-image-wrap {

    width: 100%;

    min-width: 0;

    aspect-ratio: 3 / 2;

    border-radius: 18px;

    overflow: hidden;

    background: #ffbf00;

}

/* Display the full image */

.category-hero-image {

    display: block;

    width: 100%;

    height: 100%;

    max-width: none;

    max-height: none;

    object-fit: contain;

    object-position: center;

}

/* Category review section */

.category-reviews-section {

    scroll-margin-top: 30px;

}

.category-review-count {

    color: #666;

    font-size: 0.9rem;

    white-space: nowrap;

}

/* Tablet */

@media (max-width: 950px) {

    .category-hero--image {

        grid-template-columns: 1fr;

        gap: 25px;

        padding: 30px;

    }

    .category-hero--image h1 {

        font-size: clamp(2rem, 5vw, 3rem);

    }

}

/* Mobile */

@media (max-width: 600px) {

    .category-hero--image {

        padding: 22px;

        gap: 20px;

    }

    .category-hero--image h1 {

        font-size: clamp(1.8rem, 8vw, 2.5rem);

    }

    .category-hero--image p {

        font-size: 0.98rem;

    }

    .category-hero-image-wrap {

        border-radius: 12px;

    }

    .category-hero--image .btn {

        width: 100%;

    }

}
