@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;600;700&display=swap');

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

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        linear-gradient(
            rgba(255,255,255,0.25),
            rgba(255,255,255,0.25)
        ),
        url('bg2.jpg');
    background-color: #d8c8b6;
    color: #2c241f;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

/* ==================================================
   LAYOUT
================================================== */

.site {
    width: 1180px;
    margin: 40px auto;
    background: #f8f5f1;
    border: 1px solid #ddd3c8;
    overflow: hidden;
    box-shadow:
        0 10px 35px rgba(0,0,0,0.08);
}

main,
.content {
    padding: 70px;
}

main p {
    text-align: justify;
}

.wrapper {
    clear: both;
}

/* ==================================================
   LINKS
================================================== */

a {
    color: #7b4c3d;
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    color: #a0634f;
}

/* tekstilinkit */

p a,
td a,
.offspring-name,
.breeding-name,
.competition-column a {
    border-bottom: 1px solid rgba(123,76,61,0.35);

    padding-bottom: 1px;
}

p a:hover,
td a:hover,
.offspring-name,
.breeding-name:hover,
.competition-column a:hover {
    border-bottom-color: rgba(160,99,79,0.9);
}

.summary-card strong a {
    color: #7b4c3d;
    border-bottom: 1px solid rgba(123,76,61,0.35);
    padding-bottom: 1px;
}

.summary-card strong a:hover {
    color: #a0634f;
    border-bottom-color: rgba(160,99,79,0.9);
}

nav a.active {
    color: #7d5a4d;
    background: rgba(125,90,77,0.08);
}

/* ==================================================
   JUSTIFIED TEXT
================================================== */

.text-section p,
.intro-text p,
.about-content p, 
.pedigree-popup-box p {
    text-align: justify;
}

/* ==================================================
   HERO
================================================== */

header,
.hero-image {
    height: 520px;
    background:
        linear-gradient(
            rgba(0,0,0,.35),
            rgba(0,0,0,.35)
        ),
        url("header.jpg") center center / cover;
    border-radius: 0;
}

.hero {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 60px;
    backdrop-filter: blur(1px);
}

.small-title {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    opacity: 0.85;
}

.hero h1 {
    margin: 18px 0;
    font-family: 'Playfair Display', serif;
    font-size: 82px;
    line-height: 1;
    font-weight: 700;
    color: white;
}

.hero p {
    margin: 0;
    font-size: 18px;
    opacity: 0.9;
}

/* ==================================================
   NAVIGATION
================================================== */

nav,
.navigation {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 40px;

    padding: 22px;

    background: rgba(255,255,255,0.88);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid #e4dbd1;

    position: sticky;
    top: 0;
    z-index: 999;
}

nav a,
.navigation a {
    font-size: 13px;

    text-transform: uppercase;
    letter-spacing: 2px;

    color: #6d5a4b;
}

nav a:hover,
.navigation a:hover {
    color: #2c241f;
}

/* ==================================================
   TYPOGRAPHY
================================================== */

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: #2c241f;
}

h1 {
    margin-top: 0;
    margin-bottom: 20px;

    font-size: 56px;
    line-height: 1.1;
}

h2 {
    margin-top: 0;
    margin-bottom: 30px;

    font-size: 42px;
    line-height: 1.2;

    color: #4d3f35;
}

h3 {
    margin-top: 0;
    font-size: 28px;
}

p {
    color: #5f5247;
}

.section-tag {
    display: inline-block;

    margin-bottom: 18px;

    color: #8a7461;

    font-size: 12px;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.page-title {
    margin-bottom: 60px;
}

.page-title p {
    margin-top: 12px;
}

.breed-title {
    margin: 0 0 30px 0;

    padding-bottom: 14px;

    border-bottom: 1px solid #e5dcd2;

    font-size: 30px;

    color: #4d3f35;
}

/* ==================================================
   INTRO
================================================== */

.intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 70px;
    margin-bottom: 120px;
}

.intro-side {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: white;
    padding: 30px;
    border: 1px solid #e4dbd1;
}

.info-card h3 {
    margin-bottom: 12px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7d6653;
}

.info-card p {
    margin: 0;
}

/* ==================================================
   HOME STRIPES / ETUSIVUN PALKIT
================================================== */

.home-strips {
    display: grid;

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

    gap: 20px;

    margin-bottom: 90px;
}

.home-strip {
    position: relative;

    overflow: hidden;

    min-height: 240px;

    display: flex;
    align-items: flex-end;

    padding: 30px;

    color: white;

    background-size: cover;
    background-position: center;

    box-shadow:
        0 8px 24px rgba(0,0,0,0.10);

    transition: 0.3s;
}

.home-strip:hover {
    transform: translateY(-6px);
}

.home-strip:before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(0,0,0,0.05),
            rgba(0,0,0,0.65)
        );
}

.home-strip-content {
    position: relative;
    z-index: 2;
}

.home-strip small {
    display: block;

    margin-bottom: 8px;

    font-size: 11px;

    letter-spacing: 2px;

    text-transform: uppercase;

    opacity: 0.9;
}

.home-strip h3 {
    margin: 0;

    color: white;

    font-size: 32px;
}

/* ==================================================
   HORSE LIST
================================================== */

.horse-list,
.hevoset,
.horse-grid {
    display: grid;

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

    gap: 18px;

    margin-bottom: 60px;
}

/* ==================================================
   HORSE CARD
================================================== */

.horse-card,
.heppa {
    background: white;

    border: 1px solid #e5ddd4;

    overflow: hidden;

    transition: 0.25s;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.05);
}

.horse-card:hover,
.heppa:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 24px rgba(0,0,0,0.12);
}

.horse-card img,
.heppa img {
    width: 100%;

    aspect-ratio: 3 / 2;

    object-fit: cover;
}

/* ==================================================
   HORSE CARD CONTENT
================================================== */

.horse-content,
.heppa .inner {
    padding: 16px;
}

.horse-type {
    display: inline-block;

    margin-bottom: 8px;

    font-size: 10px;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: #947d69;
}

.horse-content h4,
.heppa a {
    display: block;

    margin: 0 0 8px 0;

    font-size: 15px;
    line-height: 1.3;

    font-family: 'Playfair Display', serif;

    color: #2f2621;
}

.horse-content h4 a:hover,
.heppa a:hover {
    color: #7a614d;
}

.horse-content p,
.heppa p,
.horse-lines {
    margin: 0;

    font-size: 12px;
    line-height: 1.5;

    color: #6f6156;
}


/* ==================================================
   HORSE
================================================== */

.horse-heading {
    text-align: center;

    margin-bottom: 50px;
}

.horse-heading h2 {
    margin: 0 0 14px 0;

    font-size: 72px;
    line-height: 1;

    color: #3e3128;
}

.horse-category {
    display: inline-block;

    font-size: 11px;

    letter-spacing: 3px;
    text-transform: uppercase;

    color: #8a7461;
}

.horse-layout {
    display: grid;

    grid-template-columns: 480px 1fr;

    gap: 50px;

    align-items: start;
}

.horse-photo img,
.horse-image img {
    cursor: pointer;
    width: 100%;

    aspect-ratio: 3 / 2;

    object-fit: cover;

    border-radius: 18px;
    transition: 0.25s;
    box-shadow:
        0 12px 30px rgba(0,0,0,0.12);
}

.horse-photo img:hover,
.horse-image img:hover {
    opacity: 0.96;

    transform: translateY(-2px);
}

.summary-grid {
    display: grid;

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

    gap: 14px;

    margin-bottom: 28px;
}

.summary-card {
    background: white;

    border: 1px solid #e5ddd4;

    border-radius: 14px;

    padding: 20px;
}

.summary-card small {
    display: block;

    margin-bottom: 8px;

    font-size: 10px;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: #947d69;
}

.summary-card strong {
    font-size: 15px;

    font-weight: 600;

    color: #2f2621;
}

.award-row {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.award-row span {
    padding: 11px 16px;

    border-radius: 999px;

    background: #efe7dc;

    border: 1px solid #ddd3c8;

    font-size: 11px;

    letter-spacing: 1px;
    text-transform: uppercase;

    color: #6f6156;
}


/* ==================================================
   ACHIEVEMENT
================================================== */

.achievement-list {
    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 20px;
}

.achievement-item {
    display: flex;

    align-items: center;

    gap: 14px;

    padding-bottom: 10px;

    border-bottom: 1px solid #e5ddd4;
}

.achievement-item strong {
    font-family: 'Playfair Display', serif;

    font-size: 18px;

    color: #4d3f35;

    min-width: 120px;
}

.achievement-item span {
    font-size: 11px;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: #8b7562;
}


/* ==================================================
   GALLERY
================================================== */

.gallery {
    display: grid;

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

    gap: 12px;

    margin-top: 14px;
}

.gallery img {
    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    border: 1px solid #ddd3c8;

    padding: 4px;

    background: white;

    transition: 0.2s;
}

.gallery img:hover {
    transform: translateY(-2px);
}

/* ==================================================
   PEDIGREE
================================================== */

.suku,
.pedigree {
    width: 100%;

    border-collapse: separate;
    border-spacing: 6px;

    margin-top: 25px;

    table-layout: fixed;
}

.suku td,
.pedigree td {
    border: 1px solid #d9d2ba;

    background: #fff;

    padding: 14px 18px;

    vertical-align: middle;

    line-height: 1.45em;

    color: #5b4d42;

    transition: 0.2s ease;
}

.suku td:hover,
.pedigree td:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-1px);
}

.gen1 {
    width: 38%;

    font-size: 15px;
    font-weight: 600;
}

.gen2 {
    width: 31%;

    font-size: 13px;
}

.gen3 {
    width: 31%;

    font-size: 12px;

    color: #74685d;
}

.suku small,
.pedigree small {
    display: inline-block;

    margin-top: 4px;

    font-size: 11px;

    line-height: 1.4;

    color: #8b7562;

    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================================================
   PEDIGREE NOTES
================================================== */

.pedigree-heading {
    display: flex;

    align-items: baseline;

    gap: 18px;

    margin-bottom: 25px;
}

.pedigree-notes-open {
    font-size: 11px;
    margin-top: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;

    color: #8a7461;

    cursor: pointer;

    padding-bottom: 2px;

    border-bottom: 1px solid rgba(138,116,97,0.35);

    transition: 0.2s;
}

.pedigree-notes-open:hover {
    color: #5f5247;

    border-color: #5f5247;
}

/* ==================================================
   POPUP
================================================== */

.pedigree-popup {
    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.6);

    display: flex;

    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition: 0.25s;

    z-index: 9999;
}

.pedigree-popup.active {
    opacity: 1;
    visibility: visible;
}

.pedigree-popup-box {
    width: min(700px, 90vw);

    background: #f8f5f1;

    border: 1px solid #ddd3c8;

    padding: 45px;

    position: relative;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.20);
}

.pedigree-popup-box h3 {
    margin-top: 0;

    margin-bottom: 25px;
}

.pedigree-popup-box p {
    margin-bottom: 18px;

    font-size: 14px;

    line-height: 1.9;
}

.pedigree-close {
    position: absolute;

    top: 18px;
    right: 24px;

    font-size: 34px;

    cursor: pointer;

    color: #8a7461;
}


/* ==================================================
   EVM
================================================== */

.evm {
    display: inline-block;

    margin-left: 8px;

    padding: 2px 6px;

    vertical-align: middle;

    background: #e7ddd3;

    border: 1px solid #d8c8b6;

    font-size: 9px;

    letter-spacing: 1px;
    text-transform: uppercase;

    color: #8a7461;

    line-height: 1;
}


/* ==================================================
   OFFSPRING
================================================== */

.offspring-list {
    margin-top: 25px;
}

.offspring-item {
    padding: 18px 0;

    border-bottom: 1px solid #e5ddd4;
}

.offspring-item:first-child {
    border-top: 1px solid #e5ddd4;
}

.offspring-title {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 6px;
}

.offspring-gender {
    font-size: 13px;

    color: #947d69;
}

.offspring-name {
    font-family: 'Playfair Display', serif;

    font-size: 16px;

    color: #2f2621;
}

.offspring-name:hover {
    color: #8a6b52;
}

.offspring-meta {
    padding-left: 24px;

    font-size: 13px;

    color: #74685d;

    line-height: 1.8;
}


/* ==================================================
   BADGES / SAAVUTUKSET
================================================== */

.badges {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}

.badge {
    position: relative;

    background:
        linear-gradient(
            135deg,
            #d8c0a8,
            #b89d81
        );

    color: white;

    padding: 14px 22px;

    font-size: 12px;

    letter-spacing: 2px;

    text-transform: uppercase;

    border-radius: 4px;

    box-shadow:
        0 6px 14px rgba(0,0,0,0.10);
}

.badge:after {
    content: "";

    position: absolute;

    bottom: -10px;
    left: 16px;

    width: 14px;
    height: 14px;

    background: #9b8067;

    transform: rotate(45deg);
}

/* ==================================================
   TIMELINE
================================================== */

.timeline {
    position: relative;

    max-width: 900px;

    margin-top: 40px;
}

.timeline:before {
    content: "";

    position: absolute;

    left: 120px;
    top: 0;
    bottom: 0;

    width: 1px;

    background: #d8cfc4;
}

.timeline-item {
    display: grid;

    grid-template-columns: 90px 1fr;

    gap: 50px;

    position: relative;

    margin-bottom: 45px;
}

.timeline-item:before {
    content: "";

    position: absolute;

    left: 114px;
    top: 8px;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: #b89d81;

    border: 4px solid #f8f5f1;

    box-shadow:
        0 0 0 1px #d8cfc4;
}

.timeline-date {
    font-size: 11px;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: #8b7562;
}

.timeline-content {
    background: white;

    border: 1px solid #e5ddd4;

    padding: 24px 28px;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.04);
}

.timeline-content h3 {
    margin-bottom: 8px;

    font-size: 24px;
}

.timeline-content p {
    margin: 0;
}

/* ==================================================
   LARGE GALLERY
================================================== */

.gallery-large {
    display: grid;

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

    gap: 18px;
}

.gallery-large img {
    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    cursor: pointer;

    border: 1px solid #ddd3c8;

    background: white;

    padding: 5px;

    transition: 0.25s;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.06);
}

.gallery-large img:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 20px rgba(0,0,0,0.12);
}

/* ==================================================
   LIGHTBOX
================================================== */

.lightbox {
    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.88);

    display: flex;

    justify-content: center;
    align-items: center;

    opacity: 0;

    visibility: hidden;

    transition: 0.25s;

    z-index: 9999;
}

.lightbox.active {
    opacity: 1;

    visibility: visible;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;

    border: 6px solid white;

    box-shadow:
        0 10px 40px rgba(0,0,0,0.45);
}

.lightbox-close {
    position: absolute;

    top: 30px;
    right: 40px;

    color: white;

    font-size: 48px;

    cursor: pointer;

    line-height: 1;
}

/* ==================================================
   COMPETITIONS SIMPLE
================================================== */

.competition-archive {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    background:
        linear-gradient(
            rgba(255,255,255,0.75),
            rgba(255,255,255,0.65)
        );

    border: 1px solid #ddd3c8;

    padding: 35px 40px;

    max-height: 360px;

    overflow-y: auto;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.06);
}

/* ==================================================
   SCROLLBAR
================================================== */

.competition-archive::-webkit-scrollbar {
    width: 10px;
}

.competition-archive::-webkit-scrollbar-track {
    background: #efe7dc;
}

.competition-archive::-webkit-scrollbar-thumb {
    background: #b89d81;
}

/* ==================================================
   COLUMN
================================================== */

.competition-column {
    font-size: 13px;
    line-height: 2.2;

    color: #5f5247;

    font-family: 'Inter', sans-serif;

    font-feature-settings: "tnum";
}

/* ==================================================
   WRJ / KRJ / ERJ TAG
================================================== */

.competition-column b {
    display: inline-block;

    margin: 0 5px;

    padding: 2px 7px;

    background: #e9dfd3;

    border: 1px solid #d8c8b6;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: #6f6156;
}

/* ==================================================
   PLACING
================================================== */

.competition-column u {
    text-decoration: none;

    color: #7a614d;

    font-weight: 600;
}

/* ==================================================
   YEAR DIVIDER
================================================== */

.year-divider {
    margin: 60px 0 18px 0;

    font-family: 'Playfair Display', serif;

    font-size: 32px;

    color: #4d3f35;
}

/* ==================================================
   BREEDING LIST
================================================== */

.breeding-list {
    border-top: 1px solid #ddd3c8;
}

.breeding-row {
    padding: 18px 10px;

    border-bottom: 1px solid #ebe2d8;

    transition: 0.2s;
}

/* kevyt rytmi */

.breeding-row:hover {
    background: rgba(239,231,220,0.45);
}

.breeding-main {
    display: flex;

    align-items: baseline;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 7px;
}

.gender {
    font-size: 13px;

    opacity: 0.75;
}

.breeding-type {
    font-size: 10px;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: #947d69;
}

.breeding-name {
    font-family: 'Playfair Display', serif;

    font-size: 20px;

    color: #2f2621;
}

.breeding-name:hover {
    color: #7a614d;
}

.breeding-merits {
    font-size: 11px;

    letter-spacing: 1px;
    text-transform: uppercase;

    color: #8a7461;
}

.breeding-details {
    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    padding-left: 2px;

    font-size: 13px;

    color: #6f6156;
}


/* ==================================================
   GENERAL
================================================== */

.text-section {
    width: 100%;
}

hr {
    border: 0;

    border-top: 1px solid #ddd3c8;

    margin: 70px 0;
}

.about-banner {
    width: 100%;
    height: 420px;

    object-fit: cover;

    border-radius: 24px;

    margin-bottom: 70px;
}

.about-layout {
    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 70px;

    align-items: start;
}

.about-layout.reverse {
    grid-template-columns: 1.3fr 1fr;
}

.about-grid {
    display: grid;

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

    gap: 20px;

    margin: 35px 0 45px;
}

.about-grid img,
.about-side-image img,
.about-banner {
    width: 100%;

    display: block;

    object-fit: cover;

    border-radius: 0;

    padding: 10px;

    background: white;

    border: 1px solid #e9dfd5;

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.about-grid img:hover,
.about-side-image img:hover,
.about-banner:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 38px rgba(0,0,0,.12);
}

.about-side-image img {
    height: 100%;

    object-fit: cover;
}

/* ==================================================
   FOOTER
================================================== */

footer,
.footer {
    width: 1180px;

    margin: 0 auto 50px auto;

    text-align: center;

    font-size: 13px;
    line-height: 1.8;

    color: #7b6a5c;
}

/* ==================================================
   RESPONSIVE
================================================== */

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

    .site,
    footer,
    .footer {
        width: 95%;
    }

    .horse-list,
    .hevoset,
    .horse-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}

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

    .horse-profile {
        grid-template-columns: 1fr;
    }

    .home-strips {
        grid-template-columns: 1fr;
    }

}

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

    .horse-list,
    .hevoset,
    .horse-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .intro {
        grid-template-columns: 1fr;
    }

}

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

    .gallery-large {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline:before {
        left: 80px;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;

        gap: 40px;
    }

    .timeline-item:before {
        left: 74px;
    }

}

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

    main,
    .content {
        padding: 45px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .horse-list,
    .hevoset,
    .horse-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .horse-meta {
        grid-template-columns: 1fr;
    }

    .pedigree td,
    .suku td {
        padding: 10px 12px;
    }

    .gen1,
    .gen2,
    .gen3 {
        font-size: 11px;
    }

}

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

    nav,
    .navigation {
        flex-wrap: wrap;

        gap: 16px;
    }

    .hero h1,
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 28px;
    }

    .horse-list,
    .hevoset,
    .horse-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-large {
        grid-template-columns: 1fr;
    }

    .timeline:before {
        display: none;
    }

    .timeline-item {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .timeline-item:before {
        display: none;
    }

    .timeline-content {
        padding: 20px;
    }

    .badges {
        gap: 10px;
    }

    .badge {
        font-size: 10px;

        padding: 10px 14px;
    }

    main,
    .content {
        padding: 30px;
    }

}

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

    .horse-layout {
        grid-template-columns: 1fr;
    }

    .horse-heading h2 {
        font-size: 52px;
    }

}

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

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .horse-heading h2 {
        font-size: 40px;
    }

}