/* =====================================================
   THE OCEANS POST
   NEWS DETAIL PAGE
===================================================== */


/* =====================================================
   1. GLOBAL / PAGE
===================================================== */

main {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    padding: 30px 25px 60px;

    box-sizing: border-box;
}


/* =====================================================
   2. ARTICLE CATEGORY
===================================================== */

.article-category {
    display: inline-block;

    margin: 0 0 12px;
    padding: 5px 10px;

    background: #f1f1f1;
    color: #b42318;

    border-left: 3px solid #b42318;
    border-radius: 4px;

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

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

/* =====================================================
   3. ARTICLE TITLE
===================================================== */

main > h1 {
    max-width: 950px;

    margin: 0 auto 14px;

    color: #070606;

    font-size: 42px;
    font-weight: 700;

    line-height: 1.15;

    text-align: center;

    word-break: break-word;
}


/* =====================================================
   4. ARTICLE META
===================================================== */

.article-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 12px;

    flex-wrap: nowrap;

    margin-top: 14px;
    margin-bottom: 20px;

    margin-left: 40px;
}


/* Author + date */

.article-meta .author {
    margin: 0;

    color: #666;

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

    white-space: nowrap;
}


/* Separator */

.meta-separator {
    margin: 0 5px;
}


/* =====================================================
   5. GOOGLE PREFERRED SOURCE
===================================================== */

.preferred-source-btn {
    display: inline-flex;

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

    gap: 7px;

    width: auto;

    margin: 0;

    padding: 7px 13px;

    flex-shrink: 0;

    background: #ffffff;
    color: #1a73e8;

    border: 1px solid #dadce0;
    border-radius: 6px;

    font-size: 14px;
    font-weight: 500;

    line-height: 1;

    white-space: nowrap;

    text-decoration: none;

    box-shadow:
        0 1px 2px rgba(60, 64, 67, 0.15);

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


/* Google icon */

.preferred-google-icon {
    display: block;

    width: 18px;
    height: 18px;

    flex-shrink: 0;
}


/* Hover */

.preferred-source-btn:hover {
    background: #f8fbff;

    border-color: #c7d7f5;

    color: #1967d2;

    box-shadow:
        0 2px 6px rgba(60, 64, 67, 0.20);

    transform: translateY(-1px);
}


/* Click */

.preferred-source-btn:active {
    transform: translateY(0);

    box-shadow:
        0 1px 2px rgba(60, 64, 67, 0.15);
}


/* =====================================================
   6. NEWS MEDIA
===================================================== */

.news-media-box {
    width: 100%;
    max-width: 1000px;

    margin: 0 auto 30px;

    overflow: hidden;

    border-radius: 8px;

    background: #f5f5f5;
}


/* Image */

.news-image {
    display: block;

    width: 100%;
    height: auto;

    max-height: 600px;

    object-fit: cover;
}


/* Video */

.news-video {
    display: block;

    width: 100%;
    height: auto;

    max-height: 600px;

    background: #000;
}


/* =====================================================
   7. ARTICLE DESCRIPTION
===================================================== */

.description {
    max-width: 850px;

    margin: 0 auto 30px;

    color: #222;

    font-size: 17px;

    line-height: 1.75;

    word-wrap: break-word;
}


.description p {
    margin: 0 0 18px;
}


/* =====================================================
   8. KEY HIGHLIGHTS
===================================================== */

.key-highlights {
    max-width: 850px;

    margin: 30px auto;

    padding: 20px 22px;

    background: #f8f9fa;

    border: 1px solid #e5e7eb;

    border-radius: 8px;

    box-sizing: border-box;
}


/* Header */

.key-highlights-header {
    display: flex;

    align-items: center;

    margin-bottom: 15px;
}


.key-highlights-bar {
    width: 4px;
    height: 24px;

    margin-right: 10px;

    background: #111;

    border-radius: 3px;
}


.key-highlights-header h2 {
    margin: 0;

    color: #222;

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


/* List */

.key-highlights-list {
    margin: 0;
    padding: 0;

    list-style: none;
}


.key-highlights-list li {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 11px;

    color: #333;

    font-size: 15px;

    line-height: 1.6;
}


.key-highlights-list li:last-child {
    margin-bottom: 0;
}


.highlight-check {
    display: inline-flex;

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

    flex-shrink: 0;

    width: 20px;
    height: 20px;

    margin-top: 2px;

    border-radius: 50%;

    background: #111;
    color: #fff;

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


.highlight-text {
    flex: 1;
}


/* =====================================================
   9. HORIZONTAL RULE
===================================================== */

main > hr {
    max-width: 850px;

    margin: 40px auto;

    border: 0;

    border-top: 1px solid #e5e5e5;
}


/* =====================================================
   10. COMMENTS
===================================================== */

.comments-section {
    max-width: 850px;

    margin: 0 auto;
}


.comments-section h2 {
    margin: 0 0 20px;

    color: #222;

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


.comment-box {
    margin-bottom: 18px;

    padding: 15px 18px;

    background: #f8f9fa;

    border: 1px solid #e5e5e5;

    border-radius: 7px;
}


.comment-box h4 {
    margin: 0 0 4px;

    font-size: 15px;
}


.comment-box small {
    color: #777;
}


.comment-box p {
    margin: 10px 0 0;

    color: #333;

    line-height: 1.6;
}


/* =====================================================
   11. COMMENT FORM
===================================================== */

.comment-form {
    width: 100%;
}


.comment-form form p {
    margin-bottom: 15px;
}


.comment-form input,
.comment-form textarea,
.comment-form select {
    width: 100%;

    padding: 10px 12px;

    box-sizing: border-box;

    border: 1px solid #ccc;

    border-radius: 5px;

    font-size: 15px;

    outline: none;
}


.comment-form input:focus,
.comment-form textarea:focus,
.comment-form select:focus {
    border-color: #888;
}


.comment-button {
    padding: 10px 18px;

    border: 0;

    border-radius: 5px;

    background: #111;
    color: #fff;

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

    cursor: pointer;

    transition: background 0.2s ease;
}


.comment-button:hover {
    background: #2797bc;
}


/* =====================================================
   12. BACK TO HOME
===================================================== */

.back {
    display: inline-block;

    margin-top: 25px;

    color: #07090c;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;
}


/* =====================================================
   13. TABLET
===================================================== */

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

    main {
        padding: 25px 20px 50px;
    }


    main > h1 {
        font-size: 36px;
    }


    .article-meta {
        margin-left: 25px;
    }


    .news-image,
    .news-video {
        max-height: 500px;
    }
}
/* =====================================================
   14. MOBILE
===================================================== */

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

    /* Page */

    main {
        padding: 18px 14px 40px;
    }


    /* Category */

    .article-category {
        margin-bottom: 9px;

        padding: 4px 8px;

        font-size: 11px;
    }


    /* Title */

    main > h1 {
        margin-bottom: 12px;

        font-size: 28px;

        line-height: 1.2;

        text-align: left;
    }


    /* Meta */

    .article-meta {
        align-items: center;
        justify-content: flex-start;

        gap: 8px;

        flex-wrap: wrap;

        margin-left: 10px;
        margin-bottom: 20px;

        text-align: left;
    }


    .article-meta .author {
        font-size: 13px;

        white-space: nowrap;
    }


    .meta-separator {
        margin: 0 5px;
    }


    /* Google Follow Button */

    .preferred-source-btn {
        gap: 7px;

        margin-top: 0;

        padding: 8px 13px;

        border-radius: 6px;

        font-size: 13px;

        box-shadow:
            0 1px 2px rgba(60, 64, 67, 0.12);
    }


    .preferred-google-icon {
        width: 17px;
        height: 17px;
    }


    .preferred-source-btn:hover {
        transform: none;
    }


    /* Media */

    .news-media-box {
        margin-bottom: 22px;

        border-radius: 6px;
    }


    .news-image,
    .news-video {
        max-height: none;

        width: 100%;
    }


    /* Description */

    .description {
        margin-bottom: 25px;

        font-size: 16px;

        line-height: 1.7;
    }


    .description p {
        margin-bottom: 15px;
    }


    /* Key Highlights */

    .key-highlights {
        margin: 25px 0;

        padding: 16px;

        border-radius: 7px;
    }


    .key-highlights-header {
        margin-bottom: 13px;
    }


    .key-highlights-bar {
        width: 3px;
        height: 21px;

        margin-right: 8px;
    }


    .key-highlights-header h2 {
        font-size: 19px;
    }


    .key-highlights-list li {
        gap: 8px;

        margin-bottom: 10px;

        font-size: 14px;

        line-height: 1.55;
    }


    .highlight-check {
        width: 19px;
        height: 19px;

        font-size: 11px;
    }


    /* Comments */

    .comments-section h2 {
        font-size: 22px;
    }


    .comment-box {
        padding: 13px 14px;
    }


    .comment-button {
        width: 100%;

        padding: 11px 15px;
    }


    /* Back */

    .back {
        font-size: 13px;
    }
}


/* =====================================================
   15. VERY SMALL PHONES
===================================================== */

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

    main {
        padding-left: 12px;
        padding-right: 12px;
    }


    main > h1 {
        font-size: 25px;
    }


    .article-meta .author {
        font-size: 12px;
    }


    .preferred-source-btn {
        padding: 7px 11px;

        font-size: 12px;
    }


    .preferred-google-icon {
        width: 16px;
        height: 16px;
    }
}


/* =====================================================
   7. SHORT DESCRIPTION
===================================================== */

.short-description {
    position: relative;

    width: 100%;
    max-width: 850px;

    margin: 0 auto 28px;

    padding: 0 0 18px;

    box-sizing: border-box;

    color: #333;

    font-size: 18px;
    font-weight: 500;

    line-height: 1.65;

    word-wrap: break-word;
}


/* Left visual accent */

.short-description::before {
    content: "";

    position: absolute;

    left: -10px;
    top: 0;

    width: 4px;
    height: 100%;

    background: #111;

    border-radius: 3px;
}


/* Text */

.short-description p {
    margin: 0 0 10px;
}


.short-description p:last-child {
    margin-bottom: 0;
}


/* =====================================================
   SHORT DESCRIPTION - MOBILE
===================================================== */

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

    .short-description {
        width: 100%;
        max-width: 850px;

        margin: 0 0 22px;

        padding: 0 0 15px;

        font-size: 16px;

        line-height: 1.65;
    }


    .short-description::before {
        left: -7px;

        width: 3px;

        border-radius: 2px;
    }


    .short-description p {
        margin-bottom: 8px;
    }
}
/* =====================================================
   ARTICLE SOURCE
   Aligned exactly with article description
===================================================== */

.article-source {
    width: 100%;
    max-width: 850px;

    margin: 24px auto 30px;

    padding: 0;

    box-sizing: border-box;
}


/* Source link */

.article-source-link {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin: 0;
    padding: 0;

    font-family: inherit;

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

    line-height: 1.6;

    color: #555;

    text-decoration: none;

    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}


/* Underline */

.article-source-link::after {
    content: "";

    display: block;

    width: 100%;
}


/* External link arrow */

.article-source-link span {
    display: inline-block;

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

    text-decoration: none;

    transition: transform 0.2s ease;
}


/* Hover */

.article-source-link:hover {
    color: #000;

    text-decoration: underline;

    text-decoration-thickness: 1px;

    text-underline-offset: 3px;
}


.article-source-link:hover span {
    transform: translate(2px, -2px);
}


/* =====================================================
   ARTICLE SOURCE - MOBILE
===================================================== */

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

    .article-source {
        width: 100%;
        max-width: 850px;

        margin: 20px 0 26px;

        padding: 0;
    }


    .article-source-link {
        font-size: 14px;

        line-height: 1.5;
    }


    .article-source-link span {
        font-size: 14px;
    }
}