```css
/* ==================================================
   SINGLE RESOURCE PAGE
================================================== */

.resource-single {
    width: 100%;
    padding: 60px 20px 100px;
}

.resource-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}


/* ==================================================
   BREADCRUMB
================================================== */

.resource-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 35px;

    font-size: 14px;
    color: #777;
}

.resource-breadcrumb a {
    color: #555;
    text-decoration: none;
}

.resource-breadcrumb a:hover {
    color: #111;
}


/* ==================================================
   MAIN DETAIL
================================================== */

.resource-detail {
    display: grid;

    grid-template-columns:
        minmax(0, 1.6fr)
        minmax(350px, 0.8fr);

    gap: 50px;

    align-items: start;
}


/* ==================================================
   PREVIEW
================================================== */

.resource-preview {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 550px;

    padding: 30px;

    background: #f6f7f9;

    border: 1px solid #e5e7eb;

    border-radius: 18px;
}

.resource-preview img {
    display: block;

    width: 100%;
    max-height: 650px;

    object-fit: contain;

    border-radius: 10px;
}


/* ==================================================
   RESOURCE INFO
================================================== */

.resource-info {
    padding: 35px;

    background: #fff;

    border: 1px solid #e5e7eb;

    border-radius: 18px;

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


/* ==================================================
   FREE BADGE
================================================== */

.resource-badge {
    display: inline-flex;

    padding: 6px 13px;

    background: #eaf8ef;

    color: #16803c;

    border-radius: 50px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .5px;
}


/* ==================================================
   TITLE
================================================== */

.resource-title {
    margin: 18px 0 30px;

    color: #111827;

    font-size: 42px;

    line-height: 1.15;

    font-weight: 700;
}


/* ==================================================
   META
================================================== */

.resource-meta {
    border-top: 1px solid #eee;
}

.resource-meta-item {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 17px 0;

    border-bottom: 1px solid #eee;
}

.resource-meta-label {
    color: #777;
}

.resource-meta-value {
    color: #111827;

    font-weight: 600;

    text-align: right;
}


/* ==================================================
   DOWNLOAD
================================================== */

.resource-download-wrap {
    margin-top: 30px;
}

.resource-download {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    min-height: 54px;

    padding: 15px 24px;

    box-sizing: border-box;

    background: #111827;

    color: #fff !important;

    border-radius: 10px;

    font-size: 16px;

    font-weight: 600;

    text-decoration: none !important;

    transition: all .25s ease;
}

.resource-download:hover {
    background: #000;

    color: #fff !important;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(0,0,0,.15);
}

.download-icon {
    margin-right: 10px;

    font-size: 22px;

    line-height: 1;
}


/* ==================================================
   DESCRIPTION
================================================== */

.resource-description {
    margin-top: 80px;

    padding-top: 55px;

    border-top: 1px solid #e5e7eb;
}

.resource-description h2 {
    margin: 0 0 20px;

    color: #111827;

    font-size: 30px;

    line-height: 1.2;
}

.resource-description-content {
    max-width: 850px;

    color: #555;

    font-size: 16px;

    line-height: 1.8;
}

.resource-description-content p {
    margin: 0 0 15px;
}


/* ==================================================
   RELATED RESOURCES
================================================== */

.related-resources {
    margin-top: 90px;

    padding-top: 60px;

    border-top: 1px solid #e5e7eb;
}


/* ==================================================
   RELATED TITLE
================================================== */

.related-resources-title {
    margin-bottom: 30px;
}

.related-resources-title h2 {
    margin: 0;

    color: #111827;

    font-size: 30px;

    line-height: 1.2;

    font-weight: 700;
}

.related-resources-title p {
    margin: 8px 0 0;

    color: #777;

    font-size: 15px;
}


/* ==================================================
   RELATED GRID
================================================== */

.related-resources-grid {
    display: grid;

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

    gap: 24px;

    width: 100%;
}


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

.resource-card {
    width: 100%;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e5e7eb;

    border-radius: 14px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.resource-card:hover {
    transform: translateY(-5px);

    border-color: #d1d5db;

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

.resource-card > a {
    display: block;

    color: inherit;

    text-decoration: none;
}


/* ==================================================
   CARD IMAGE
================================================== */

.resource-card-image {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #f5f6f8;
}

.resource-card-image img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .35s ease;
}

.resource-card:hover
.resource-card-image img {
    transform: scale(1.05);
}


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

.resource-card-content {
    padding: 18px;
}

.resource-card-title {
    margin: 0;

    color: #111827;

    font-size: 17px;

    line-height: 1.4;

    font-weight: 600;
}

.resource-card-type {
    margin-top: 7px;

    color: #777;

    font-size: 13px;

    line-height: 1.4;
}


/* ==================================================
   PLACEHOLDER
================================================== */

.resource-card-placeholder {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    background: #f3f4f6;

    color: #9ca3af;

    font-size: 14px;
}


/* ==================================================
   NO RELATED RESOURCES
================================================== */

.no-related-resources {
    color: #777;

    font-size: 15px;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 1100px) {

    .related-resources-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* ==================================================
   SMALL LAPTOP / TABLET
================================================== */

@media (max-width: 900px) {

    .resource-detail {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .resource-preview {
        min-height: auto;
    }

    .related-resources-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

    .resource-single {
        padding: 40px 15px 70px;
    }

    .resource-info {
        padding: 25px;
    }

    .resource-title {
        font-size: 32px;
    }

    .resource-preview {
        padding: 15px;

        border-radius: 12px;
    }

    .resource-info {
        border-radius: 12px;
    }

    .resource-description {
        margin-top: 60px;

        padding-top: 40px;
    }

    .related-resources {
        margin-top: 60px;

        padding-top: 40px;
    }

}


/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 480px) {

    .resource-title {
        font-size: 28px;
    }

    .resource-meta-item {
        font-size: 14px;
    }

    .related-resources-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .related-resources-title h2 {
        font-size: 26px;
    }

}

/* ==========================================
   LICENSE BOX
========================================== */

.resource-license-box {
    margin-top: 28px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}


/* HEADER */

.resource-license-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eeeeee;
}


.license-check {
    width: 38px;
    height: 38px;

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

    background: #ecfdf3;
    color: #16a34a;

    border-radius: 50%;

    font-size: 17px;
    font-weight: 700;
}


.license-label {
    margin-bottom: 3px;

    font-size: 11px;
    font-weight: 600;

    color: #6b7280;

    letter-spacing: .5px;
}


.resource-license-header h3 {
    margin: 0;

    font-size: 16px;
    font-weight: 600;

    color: #111827;
}


/* PERMISSIONS */

.license-permissions {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px 20px;

    padding: 18px 0;
}


.license-item {
    font-size: 13px;
    line-height: 1.5;

    color: #374151;
}


.license-item span {
    display: inline-block;

    width: 20px;

    font-weight: 700;
}


.license-item.allowed span {
    color: #16a34a;
}


.license-item.not-allowed span {
    color: #dc2626;
}


/* LINK */

.license-link {
    display: inline-block;

    margin-top: 2px;

    font-size: 13px;
    font-weight: 600;

    color: #2563eb;

    text-decoration: none;
}


.license-link:hover {
    text-decoration: underline;
}


/* MOBILE */

@media (max-width: 767px) {

    .license-permissions {
        grid-template-columns: 1fr;
    }

    .resource-license-box {
        padding: 18px;
    }

}
