/* =========================================================
   WRITERS VS ARTISTS
   INDIVIDUAL TITLE PAGE
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.title-page {
    width: 100%;

    background-color: #050b10;

    color: #f4f1e8;
}



/* =========================================================
   MAIN PRODUCT AREA
========================================================= */

.title-product-section {
    width: 100%;

    background-color: #080e13;

    border-bottom: 1px solid #332915;

    padding: 75px 0 80px;
}


.title-product-container {
    width: 100%;
    max-width: 1500px;

    margin: 0 auto;

    padding: 0 65px;

    display: grid;

    grid-template-columns:
        minmax(250px, 330px)
        minmax(420px, 1fr)
        minmax(270px, 330px);

    gap: 55px;

    align-items: start;
}



/* =========================================================
   COVER
========================================================= */

.title-cover-column {
    width: 100%;
}


.title-cover-frame {
    width: 100%;

    aspect-ratio: 3 / 4;

    background-color: #141b20;

    border: 1px solid #3e3420;

    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.35);

    overflow: hidden;
}


.title-cover-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}



/* =========================================================
   MAIN INFORMATION
========================================================= */

.title-information-column {
    width: 100%;

    padding-top: 5px;
}


.title-name {
    color: #f4f1e8;

    font-size: clamp(42px, 4vw, 68px);

    font-weight: normal;

    line-height: 1;

    letter-spacing: 1px;

    margin-bottom: 22px;
}



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

.title-meta {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 12px;

    margin-bottom: 28px;

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

    font-size: 13px;

    color: #b8b3a9;
}


.title-meta p {
    margin: 0;
}


.title-meta p span {
    color: #d5a62b;

    font-weight: bold;

    margin-right: 4px;
}


.title-meta-divider {
    width: 1px;
    height: 15px;

    background-color: #514629;
}



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

.title-description {
    max-width: 680px;

    color: #d0ccc2;

    font-size: 17px;

    line-height: 1.7;

    margin-bottom: 32px;
}



/* =========================================================
   FORMAT BUTTONS
========================================================= */

.title-format-options {
    display: flex;

    gap: 12px;

    margin-bottom: 30px;
}


.title-format-button {
    min-width: 130px;

    padding: 12px 18px;

    background-color: transparent;

    color: #c8c4ba;

    border: 1px solid #504528;

    cursor: pointer;

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

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 1px;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


.title-format-button:hover {
    border-color: #d5a62b;

    color: #f4f1e8;
}


.title-format-button.active-format {
    background-color: #d5a62b;

    border-color: #d5a62b;

    color: #050b10;
}



/* =========================================================
   PRICE
========================================================= */

.title-price {
    display: flex;

    align-items: baseline;

    gap: 10px;

    margin-bottom: 26px;
}


.title-price-amount {
    color: #f4f1e8;

    font-size: 34px;

    line-height: 1;
}


.title-price-currency {
    color: #8f8a80;

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

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 1px;
}



/* =========================================================
   PURCHASE BUTTONS
========================================================= */

.title-purchase-buttons {
    display: flex;

    gap: 15px;

    margin-bottom: 24px;
}


.title-cart-button,
.title-buy-button {
    min-height: 50px;

    padding: 0 26px;

    display: inline-flex;

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

    gap: 10px;

    cursor: pointer;

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

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 1px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.title-cart-button {
    min-width: 190px;

    background-color: #d5a62b;

    color: #050b10;

    border: 1px solid #d5a62b;
}


.title-cart-button:hover {
    background-color: #ebbd42;

    border-color: #ebbd42;

    transform: translateY(-2px);
}


.title-buy-button {
    min-width: 140px;

    background-color: transparent;

    color: #f4f1e8;

    border: 1px solid #d5a62b;
}


.title-buy-button:hover {
    background-color: #d5a62b;

    color: #050b10;

    transform: translateY(-2px);
}



/* =========================================================
   SAMPLE LINK
========================================================= */

.title-sample-link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #d5a62b;

    text-decoration: none;

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

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 1px;

    transition: color 0.2s ease;
}


.title-sample-link:hover {
    color: #ebbd42;
}



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

.title-details-column {
    width: 100%;
}


.title-details-box {
    width: 100%;

    background-color: #0b1217;

    border: 1px solid #554725;

    padding: 27px 28px 30px;
}


.title-details-box h2 {
    color: #d5a62b;

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

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;

    padding-bottom: 16px;

    margin-bottom: 5px;

    border-bottom: 1px solid #3b321f;
}



/* =========================================================
   DETAILS LIST
========================================================= */

.title-details-list {
    width: 100%;
}


.title-details-list div {
    padding: 14px 0;

    border-bottom: 1px solid #242a2e;
}


.title-details-list div:last-child {
    border-bottom: none;

    padding-bottom: 0;
}


.title-details-list dt {
    color: #88847b;

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

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 1px;

    text-transform: uppercase;

    margin-bottom: 5px;
}


.title-details-list dd {
    color: #e0dcd2;

    font-size: 14px;

    line-height: 1.4;

    margin: 0;
}



/* =========================================================
   SHARED STRIP CONTAINER
========================================================= */

.title-strip-container {
    width: 100%;
    max-width: 1500px;

    margin: 0 auto;

    padding: 0 65px;
}



/* =========================================================
   STRIP HEADING
========================================================= */

.title-strip-heading {
    display: grid;

    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 20px;

    margin-bottom: 32px;
}


.title-strip-heading h2 {
    color: #f4f1e8;

    font-size: 23px;

    font-weight: normal;

    letter-spacing: 1px;

    white-space: nowrap;
}


.title-strip-line {
    height: 1px;

    background-color: #3c3320;
}


.title-strip-heading a {
    color: #d5a62b;

    text-decoration: none;

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

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 1px;

    white-space: nowrap;

    transition: color 0.2s ease;
}


.title-strip-heading a:hover {
    color: #ebbd42;
}



/* =========================================================
   SERIES STRIP
========================================================= */

.title-series-section {
    width: 100%;

    background-color: #050b10;

    border-bottom: 1px solid #332915;

    padding: 55px 0 60px;
}


.title-series-row {
    display: grid;

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

    gap: 25px;

    align-items: stretch;
}



/* =========================================================
   SERIES CARDS
========================================================= */

.series-book-card {
    min-width: 0;

    display: grid;

    grid-template-columns: 95px 1fr;

    gap: 18px;

    align-items: center;
}


.series-book-image {
    display: block;

    width: 95px;

    aspect-ratio: 3 / 4;

    overflow: hidden;

    background-color: #151b20;

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.25);
}


.series-book-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.3s ease;
}


.series-book-image:hover img {
    transform: scale(1.04);
}


.series-book-info {
    min-width: 0;
}


.series-book-number {
    display: block;

    color: #d5a62b;

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

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 1.5px;

    margin-bottom: 7px;
}


.series-book-info h3 {
    color: #f4f1e8;

    font-size: 17px;

    font-weight: normal;

    line-height: 1.25;

    margin-bottom: 8px;
}


.series-book-info p {
    color: #a8a39a;

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

    font-size: 12px;
}



/* =========================================================
   STRIP ARROW
========================================================= */

.title-strip-arrow {
    width: 48px;

    background-color: transparent;

    color: #d5a62b;

    border: 1px solid #504528;

    cursor: pointer;

    font-size: 30px;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}


.title-strip-arrow:hover {
    background-color: #d5a62b;

    border-color: #d5a62b;

    color: #050b10;
}



/* =========================================================
   RELATED TITLES
========================================================= */

.title-related-section {
    width: 100%;

    background-color: #080e13;

    border-bottom: 1px solid #332915;

    padding: 55px 0 65px;
}


.title-related-row {
    display: grid;

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

    gap: 25px;

    align-items: stretch;
}



/* =========================================================
   RELATED CARDS
========================================================= */

.related-title-card {
    min-width: 0;

    display: grid;

    grid-template-columns: 95px 1fr;

    gap: 18px;

    align-items: center;
}


.related-title-image {
    width: 95px;

    aspect-ratio: 3 / 4;

    display: block;

    overflow: hidden;

    background-color: #151b20;

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.25);
}


.related-title-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.3s ease;
}


.related-title-image:hover img {
    transform: scale(1.04);
}


.related-title-info {
    min-width: 0;
}


.related-title-info h3 {
    color: #f4f1e8;

    font-size: 17px;

    font-weight: normal;

    line-height: 1.25;

    margin-bottom: 6px;
}


.related-title-creator {
    color: #8f8a82;

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

    font-size: 11px;

    margin-bottom: 9px;
}


.related-title-price {
    color: #d5a62b;

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

    font-size: 12px;

    font-weight: bold;
}



/* =========================================================
   NEWSLETTER
========================================================= */

.title-newsletter-section {
    width: 100%;

    background-color: #0a1116;

    border-bottom: 1px solid #332915;

    padding: 40px 0;
}


.title-newsletter-container {
    width: 100%;
    max-width: 1500px;

    margin: 0 auto;

    padding: 0 65px;

    display: grid;

    grid-template-columns: 1fr minmax(340px, 520px);

    gap: 70px;

    align-items: center;
}


.title-newsletter-message {
    display: flex;

    align-items: center;

    gap: 20px;
}


.title-newsletter-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

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

    color: #d5a62b;

    border: 1px solid #554725;

    font-size: 19px;
}


.title-newsletter-message h2 {
    color: #f4f1e8;

    font-size: 24px;

    font-weight: normal;

    margin-bottom: 5px;
}


.title-newsletter-message p {
    color: #969188;

    font-size: 14px;
}



/* =========================================================
   NEWSLETTER FORM
========================================================= */

.title-newsletter-form {
    display: flex;

    width: 100%;
}


.title-newsletter-form input {
    flex: 1;

    min-width: 0;

    padding: 14px 16px;

    background-color: #f4f1e8;

    color: #050b10;

    border: 1px solid #f4f1e8;

    outline: none;

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

    font-size: 13px;
}


.title-newsletter-form input:focus {
    border-color: #d5a62b;
}


.title-newsletter-form button {
    padding: 14px 22px;

    background-color: #d5a62b;

    color: #050b10;

    border: 1px solid #d5a62b;

    cursor: pointer;

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

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 1px;

    transition: background-color 0.2s ease;
}


.title-newsletter-form button:hover {
    background-color: #ebbd42;
}



/* =========================================================
   TITLE PAGE FOOTER
========================================================= */

.title-footer {
    width: 100%;

    background-color: #03080c;
}


.title-footer-container {
    width: 100%;
    max-width: 1500px;

    margin: 0 auto;

    padding: 65px 65px 55px;

    display: grid;

    grid-template-columns:
        1.7fr
        repeat(4, 1fr)
        1.2fr;

    gap: 45px;
}



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

.title-footer-brand {
    max-width: 280px;
}


.title-footer-brand .footer-logo {
    margin-bottom: 20px;
}


.title-footer-brand > p {
    color: #8f8a82;

    font-size: 14px;

    line-height: 1.6;
}



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

.title-footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 11px;
}


.title-footer-column h3 {
    color: #d5a62b;

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

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 1.6px;

    margin-bottom: 5px;
}


.title-footer-column > a {
    color: #aaa59c;

    text-decoration: none;

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

    font-size: 12px;

    transition: color 0.2s ease;
}


.title-footer-column > a:hover {
    color: #d5a62b;
}



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

.title-social-links {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    max-width: 130px;
}


.title-social-links a {
    width: 30px;
    height: 30px;

    display: flex;

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

    color: #c7c2b9;

    text-decoration: none;

    border: 1px solid #39301e;

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

    font-size: 12px;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}


.title-social-links a:hover {
    color: #d5a62b;

    border-color: #d5a62b;
}



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

.title-footer-bottom {
    width: 100%;

    padding-bottom: 25px;
}


.title-footer-bottom-container {
    width: 100%;
    max-width: 1500px;

    margin: 0 auto;

    padding: 0 65px;

    display: flex;

    align-items: center;

    gap: 20px;
}


.title-footer-line {
    height: 1px;

    background-color: #28231c;

    flex: 1;
}


.title-footer-bottom p {
    color: #68655f;

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

    font-size: 10px;

    white-space: nowrap;
}


.title-footer-mark {
    color: #7c7568;

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

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 1px;
}



/* =========================================================
   LARGE TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 1200px) {

    .title-product-container {
        grid-template-columns:
            minmax(220px, 285px)
            1fr;

        gap: 45px;
    }


    .title-details-column {
        grid-column: 1 / -1;
    }


    .title-details-box {
        display: grid;

        grid-template-columns: 180px 1fr;

        gap: 30px;

        align-items: start;
    }


    .title-details-box h2 {
        border-bottom: none;

        margin: 0;

        padding: 5px 0;
    }


    .title-details-list {
        display: grid;

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

        gap: 0 25px;
    }


    .title-series-row,
    .title-related-row {
        grid-template-columns:
            repeat(2, minmax(0, 1fr))
            48px;

        row-gap: 35px;
    }


    .title-strip-arrow {
        grid-column: 3;
        grid-row: 1 / span 2;
    }


    .title-footer-container {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 45px 35px;
    }

}



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

@media (max-width: 900px) {

    .title-product-section {
        padding: 55px 0 65px;
    }


    .title-product-container,
    .title-strip-container,
    .title-newsletter-container,
    .title-footer-container,
    .title-footer-bottom-container {
        padding-left: 30px;
        padding-right: 30px;
    }


    .title-product-container {
        grid-template-columns:
            minmax(200px, 260px)
            1fr;

        gap: 35px;
    }


    .title-name {
        font-size: 42px;
    }


    .title-description {
        font-size: 15px;
    }


    .title-purchase-buttons {
        flex-direction: column;

        align-items: flex-start;
    }


    .title-cart-button,
    .title-buy-button {
        width: 100%;

        max-width: 300px;
    }


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


    .title-newsletter-container {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}



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

@media (max-width: 650px) {

    .title-product-container {
        grid-template-columns: 1fr;
    }


    .title-cover-column {
        max-width: 300px;

        margin: 0 auto;
    }


    .title-information-column {
        padding-top: 0;
    }


    .title-name {
        font-size: 38px;
    }


    .title-meta {
        flex-direction: column;

        align-items: flex-start;

        gap: 7px;
    }


    .title-meta-divider {
        display: none;
    }


    .title-format-options {
        flex-direction: column;

        align-items: flex-start;
    }


    .title-format-button {
        width: 100%;

        max-width: 260px;
    }


    .title-details-box {
        display: block;
    }


    .title-details-box h2 {
        padding-bottom: 16px;

        margin-bottom: 5px;

        border-bottom: 1px solid #3b321f;
    }


    .title-details-list {
        display: block;
    }


    .title-strip-heading {
        grid-template-columns: 1fr auto;

        gap: 15px;
    }


    .title-strip-heading h2 {
        font-size: 20px;
    }


    .title-strip-line {
        display: none;
    }


    .title-series-row,
    .title-related-row {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    .series-book-card,
    .related-title-card {
        grid-template-columns: 85px 1fr;
    }


    .series-book-image,
    .related-title-image {
        width: 85px;
    }


    .title-strip-arrow {
        display: none;
    }


    .title-newsletter-message {
        align-items: flex-start;
    }


    .title-newsletter-form {
        flex-direction: column;

        gap: 10px;
    }


    .title-newsletter-form button {
        width: 100%;
    }


    .title-footer-container {
        grid-template-columns: 1fr 1fr;

        gap: 40px 30px;
    }


    .title-footer-brand {
        grid-column: 1 / -1;
    }


    .title-footer-bottom-container {
        flex-wrap: wrap;

        justify-content: center;

        text-align: center;
    }


    .title-footer-bottom p {
        width: 100%;

        white-space: normal;

        order: 2;
    }


    .title-footer-mark {
        order: 1;
    }


    .title-footer-line {
        min-width: 40px;
    }

}



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

@media (max-width: 450px) {

    .title-product-container,
    .title-strip-container,
    .title-newsletter-container,
    .title-footer-container,
    .title-footer-bottom-container {
        padding-left: 22px;
        padding-right: 22px;
    }


    .title-product-section {
        padding-top: 40px;
    }


    .title-name {
        font-size: 34px;
    }


    .title-purchase-buttons {
        width: 100%;
    }


    .title-cart-button,
    .title-buy-button {
        max-width: none;
    }


    .title-series-section,
    .title-related-section {
        padding-top: 45px;
        padding-bottom: 50px;
    }


    .title-footer-container {
        grid-template-columns: 1fr;
    }


    .title-footer-brand {
        grid-column: auto;
    }

}