/* News details page: full-width article, related posts below */

.news-article {
    padding: 30px 0 40px;
}

.news-article h1 {
    font-size: 30px;
    line-height: 1.3;
    margin: 0 0 25px;
    color: #111;
}

.news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #2d2d2d;
    overflow-wrap: break-word;
}

.news-content p,
.news-content li {
    font-size: 16px;
    line-height: 1.8;
}

.news-content h2 {
    font-size: 24px;
    margin: 35px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
    color: #111;
}

.news-content h3 {
    font-size: 19px;
    margin: 28px 0 10px;
    color: #111;
}

.news-content ul,
.news-content ol {
    padding-left: 22px;
    margin: 0 0 18px;
}

.news-content li {
    margin-bottom: 6px;
}

.news-content blockquote {
    margin: 25px 0;
    padding: 15px 20px;
    border-left: 4px solid #c9a24b;
    background: #faf7f0;
}

.news-content blockquote p {
    margin: 0;
    font-style: italic;
}

.news-content img {
    max-width: 100%;
    height: auto;
}

/* Embeds (YouTube, Maps) never wider than the article */
.news-content iframe {
    max-width: 100%;
}

/* YouTube keeps its 16:9 shape when it shrinks (pasted size is used otherwise) */
.news-content iframe[src*="youtube.com"],
.news-content iframe[src*="youtu.be"] {
    height: auto;
    aspect-ratio: 16 / 9;
}

.news-content table {
    width: 100%;
    display: block;
    overflow-x: auto;
}

/* More news: its own full-width band (site's texture-two colour) so it
   reads as a separate section from the article above */

.news-more {
    padding: 50px 0 55px;
    border-top: 1px solid #e4e2d6;
}

.textarea-wrapper .news-more-title {
    position: relative;
    margin: 0 0 35px;
    padding: 0;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-style: normal;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #2d2d2d;
}

/* Rule through the heading, as on the site's other section titles */
.news-more-title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #2d2d2d;
}

.news-more-title span {
    position: relative;
    padding: 0 20px;
    background: #f3f3ea;
}

.news-more-foot {
    margin-top: 10px;
    text-align: center;
}

.textarea-wrapper .news-more-all {
    display: inline-block;
    padding: 11px 30px;
    border-radius: 0;
    color: #fff;
    letter-spacing: 1px;
}

.textarea-wrapper .news-more-all:hover,
.textarea-wrapper .news-more-all:focus {
    background: #2d2d2d;
    color: #fff;
}

/* Cards use the shared .event-card styles in style.css */
@media (max-width: 767px) {
    .news-article {
        padding: 20px 0 30px;
    }

    .news-article h1 {
        font-size: 24px;
    }

    .news-content h2 {
        font-size: 21px;
    }

    .news-more {
        padding: 35px 0 40px;
    }

    .textarea-wrapper .news-more-title {
        margin-bottom: 25px;
        font-size: 16px;
        letter-spacing: 3px;
    }

    .news-more-title span {
        padding: 0 12px;
    }

    /* No stock banner when the post has no image */
    .about-banner {
        display: none;
    }

    /* Show the whole image, portrait mobile images included */
    .news-detail-banner img {
        max-height: none;
    }

    /* Pasted inline widths (e.g. style="width:800px") must not push the page sideways */
    .news-content [style*="width"] {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Editor images carry fixed width/height; keep them in proportion */
    .news-content img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* =====================================================================
   Article header + share buttons
   ===================================================================== */
/* Share row / card */
.share{
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-family: 'Roboto', sans-serif;
}
.share-label{
    font-size: 14px;
    font-weight: 600;
    color: #555;
}
.share-list{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.share-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #e3dccf;
    border-radius: 999px;
    background: #fff;
    color: #2d2d2d;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.share-btn:hover,
.share-btn:focus{
    text-decoration: none;
    transform: translateY(-1px);
}
.share-btn:focus-visible{
    outline: 2px solid #9b6f23;
    outline-offset: 2px;
}
.share-btn .fa{
    font-size: 17px;
}
.share-x-logo{
    flex: 0 0 auto;
    color: #000;
}
/* The X logo is the name, so this button shows the logo only */
.share-btn.share-x{
    padding: 0 18px;
}
@media (max-width: 767px){
    .share--card .share-btn.share-x{ padding: 0; }
}
.share-x:hover .share-x-logo,
.share-x:focus .share-x-logo{
    color: #fff;
}
/* Each network's own colour on hover, so the button is recognisable */
.share-wa .fa{ color: #25d366; }
.share-fb .fa{ color: #1877f2; }
.share-ig .fa{ color: #d6249f; }
.share-copy .fa{ color: #9b6f23; }
.share-wa:hover, .share-wa:focus{ background: #25d366; border-color: #25d366; color: #fff; }
.share-fb:hover, .share-fb:focus{ background: #1877f2; border-color: #1877f2; color: #fff; }
.share-x:hover,  .share-x:focus{  background: #111;    border-color: #111;    color: #fff; }
.share-ig:hover, .share-ig:focus{ background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); border-color: #dd2a7b; color: #fff; }
.share-copy:hover, .share-copy:focus{ background: #9b6f23; border-color: #9b6f23; color: #fff; }
.share-btn:hover .fa,
.share-btn:focus .fa{
    color: inherit;
}
/* "Link copied" note */
.share-toast{
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    z-index: 5;
    margin: 0;
    padding: 8px 12px;
    border-radius: 4px;
    background: #2d2d2d;
    color: #fff;
    font-size: 13px;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity .2s, transform .2s;
}
.share.has-toast .share-toast{
    opacity: 1;
    transform: none;
}

.share--card .share-label{
    display: none;
}
.share--card .share-btn{
    height: 46px;
    padding: 0 18px;
    font-size: 15px;
}

@media (max-width: 767px){
    .share--card .share-list{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .share--card .share-btn{ width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce){
    .share-btn, .share-toast{ transition: none; }
}
/* The "Link copied" note stays white */
.share p.share-toast{
    color: #fff;
    font-size: 13px;
}
.share-toast{
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
}
.share.has-toast .share-toast{
    visibility: visible;
}

/* =====================================================================
   Full-width share band after the article
   ===================================================================== */
/* Dark navy band, so it reads apart from the light "More News" section below */
.nd-share-band{
    padding: 40px 0;
    background: #16223a;
    border-top: 3px solid #d7af69;
    font-family: 'Roboto', sans-serif;
}
.nd-share-inner::before, .nd-share-inner::after{
    display: none;
}
.nd-share-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
}
.nd-share-text h2{
    margin: 0 0 4px;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
    color: #fff;
}
.nd-share-text p{
    margin: 0;
    font-size: 15px;
    color: #c9d1de;
}
/* Buttons on navy: white pills; each turns its network's colour on hover */
.nd-share-band .share-btn{
    border-color: #fff;
}
.nd-share-band .share-btn:focus-visible{
    outline-color: #d7af69;
}
.nd-share-band p.share-toast{
    background: #d7af69;
    color: #22170a;
}
.nd-share-band .share{
    flex: 0 0 auto;
}
@media (max-width: 991px){
    .nd-share-inner{
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 767px){
    .nd-share-band{ padding: 28px 0; }
    .nd-share-text h2{ font-size: 21px; }
    .nd-share-band .share{ width: 100%; }
}
