/* -------------------------------------------------- */
/* HEADER STYLES (site title, nav lines, social icons) */
/* -------------------------------------------------- */

/* Container for the site title */
.site-header {
    position: relative;
    padding-bottom: 0px; /* space between title and first line */
}

/* Line under the site title and above the menu */
.site-header::after {
    content: "";
    display: block;
    width: 100%;
    height: 0.5px;
    background-color: #dcdcdc;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Position of main navigation */
.main-navigation {
    margin-top: 0px;
    position: relative;
    padding-bottom: 0px; /* space between menu and its line */
}

/* Line under the menu */
.main-navigation::after {
    content: "";
    display: block;
    width: 100%;
    height: 0.5px;
    background-color: #dcdcdc;
    position: absolute;
    bottom: 0;
    left: 0;
}


/* Header right-side widget with social icons */
.header-widget {
    position: absolute;
    right: 0px;
    top: 10%;
    margin-top: 10px;
}

.simple-social-icons {
    display: flex;
    justify-content: flex-end;
}

.simple-social-icons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.simple-social-icons li {
    margin-left: 10px;
}

.simple-social-icons a {
    text-decoration: none;
}

/* Hide the social icon row under the site title on phone + iPad portrait ONLY */
@media (max-width: 900px) {
    .site-header .header-widget {
        display: none !important;
    }
}

/* Show them again on iPad landscape / desktop */
@media (min-width: 901px) {
    .site-header .header-widget {
        display: block !important;
    }
}



/* First-paint safety: cap sidebar width on tablets/phones */
@media (max-width:1024px){
  .inside-right-sidebar,
  .right-sidebar .inside-right-sidebar {
    max-width: 420px;
    margin: 0 auto;
    padding: 0;
  }
  .inside-right-sidebar .widget {
    width: 100% !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .inside-right-sidebar .widget img {
    max-width: 100%;
    height: auto;
  }
}

/* Restore normal desktop behavior */
@media (min-width:1025px){
  .inside-right-sidebar,
  .inside-right-sidebar .widget {
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
  }
}




/* Fluid site title sizing (desktop safe, mobile tidy) */
.site-branding .site-title,
.site-branding .site-title a,
.main-title,
.site-logo-text a{
  /* Desktop caps at ~44px, phones won't drop below 24px */
  font-size: clamp(24px, 5.2vw, 44px) !important;
  line-height: 1.15;
  letter-spacing: -0.01em;          /* tiny optical tighten */
  margin: 10px 0 12px;              /* subtle breathing room */
  text-decoration: none;
}

/* Optional: keep the wordmark centered on small screens */
@media (max-width: 900px){
  .site-branding{ text-align: center; }
  .site-branding .site-title{ margin: 12px 0 10px; }
}

/* Optional micro-tweak for very small phones */

@media (max-width:480px){
  .site-branding .site-title{ letter-spacing: -0.005em; }
}






/* Container size for sidebar search */
.tvp-search-box {
    max-width: 280px;       /* make the whole widget narrower */
    width: 100%;
    margin: 0 auto 24px;    /* center it inside the sidebar */
}

/* Form layout */
.tvp-search-box form {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 12px;    /* soft corners around the whole group */
}

/* Input field */
.tvp-search-box input[type="search"] {
    flex: 1;
    padding: 10px 14px;     /* slightly smaller height */
    border: 1px solid #08283d;
    border-radius: 12px 0 0 12px;
    background-color: #ffffff;
    font-size: 14px;        /* a bit smaller than before */
    outline: none;
}

/* Blue button */
.tvp-search-box button {
    padding: 0 28px;        /* you can push this to 30–32px if you want it chunkier */
    background-color: #08283d;
    border: none;
    border-radius: 0 12px 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
	height: 43px; /* slightly taller */

}

/* White magnifying glass icon */
.tvp-search-box button::before {
    content: "";
    width: 18px;
    height: 18px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6' stroke='%23FFFFFF' stroke-width='2' fill='none'/%3E%3Cline x1='15' y1='15' x2='20' y2='20' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Hover state */
.tvp-search-box button:hover {
    background-color: #122945;
}













/* -------------------------------------------------- */
/* CATEGORY / ARCHIVE PAGE TITLES                     */
/* -------------------------------------------------- */

/* Desktop: add a line under category titles on archive pages */
.archive .page-header .page-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.archive .page-header .page-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80%;
    height: 3px;
    background-color: #446197;
}

/* Mobile: adjust archive title underline */
@media (max-width: 768px) {
    .archive .page-header .page-title {
        padding-bottom: 15px;
        margin-bottom: 25px;
        text-align: center;
    }

    .archive .page-header .page-title:after {
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
}




.latest-stories-heading {
    text-align: center;
    margin: 0px auto 40px;
    padding: 12px 0;
    border-top: 2px solid #446197;
    border-bottom: 2px solid #446197;
    max-width: 1400px;
}

.latest-stories-heading h2 {
    font-size: 22px;
    font-weight: 700;
    color: #dc143c;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin: 0;
}






/* -------------------------------------------------- */
/* CONTENT AREA / BLOG LIST LAYOUT                    */
/* -------------------------------------------------- */

/* Right-hand divider line for content on desktop layouts */
@media (min-width: 901px) {
    .blog .site-main {
        border-right: 1px solid #e8e8e8;
        padding-right: 20px;
    }

    .right-sidebar .site-main {
        border-right: 1px solid #ddd;
        padding-right: 20px;
    }
}

/* Style the page title block (pages, not posts) */
.page-title {
    background-color: #ffffff;
    color: #373838;
    font-size: 33px;
    padding: 32px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 20px solid #ffffff;
}

.page-header {
    margin-bottom: 0;
}





/* Meta styling under posts in the blog list */
.post-meta {
    margin-top: 50px;
    font-size: 10px;
}

.post-meta .post-date {
    color: #828282;
    font-size: 16px;
}

.post-meta .post-author {
    color: #828282;
    font-size: 16px;
}

.post-meta .post-category {
    color: #446197;
    font-size: 16px;
    font-weight: bold;
	text-transform: uppercase;
}

/* Divider between posts in the main feed */
.blog .site-main .type-post {
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 0px;
    margin-bottom: 30px;
}

.blog .site-main .type-post:last-child {
    border-bottom: none;
}


/* -------------------------------------------------- */
/* NEW HOMEPAGE HERO BLOCK                            */
/* (Latest big story on left, 3 recent stories on right) */
/* -------------------------------------------------- */

.hero-section {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 60px;              /* more space between left column and right column */
    max-width: 1400px;      /* stretch hero across more of the viewport */
    min-height: 700px;      /* give the hero band real vertical presence */
    margin: 70px auto 0px;      /* push it down from the header and add bottom spacing */
    padding-left: 60px;     /* align visually with site title/nav on the left */
    box-sizing: border-box;
}
.hero-meta p {
    margin: 1px 0;   /* still breathable but compact */
}



.side-posts-container {
    display: flex;
    flex-direction: column;
    width: 600px;           /* widened so text isn't squeezed */
    gap: 15px;
}

.side-post {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    border: 1px solid #e8e8e8;
    background: #fff;
    padding: 10px 10px;
    box-sizing: border-box;
    width: 100%;
    transition: border-color 0.2s ease-in-out;
}

.side-post img {
    width: 300px;
    height: 169px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 2px;
    display: block;
}

.side-post-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    max-width: 100%;
}

.side-post-text h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 6px;
}

.side-post-text h3 a {
    color: #373838;
    text-decoration: none;
}

.side-post-text h3 a:hover {
    color: #dc143c;
}

.side-post-text .post-category a {
    color: #446197;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.side-post-text .post-category a:hover {
    color: #dc143c;
}

.hero-left img {
    width: 704px;
    height: 396px;
    object-fit: cover;
    display: block;
	border-radius: 4px;
    margin-bottom: 20px;
}

/* keep hero title, excerpt, and meta within the same width as the image */
.hero-left-text {
    max-width: 704px;
}

.hero-left-text h2 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 10px;
    max-width: 704px;
}

.hero-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 15px;
    max-width: 704px;
}

.hero-meta {
    font-size: 13px;
    color: #828282;
    max-width: 704px;
}
/* Make MOVIES / SERIES / etc. all caps and bold in hero section */
.hero-cat a {
    color: #446197;
    font-weight: 700;          /* stronger bold */
    font-size: 13px;
    text-transform: uppercase; /* forces all caps */
    letter-spacing: 0.03em;
    text-decoration: none;
}

.hero-cat a:hover {
    color: #dc143c;
}


/* Force hero title link to match regular post titles */
.hero-left-text h2 a,
.hero-left-text h2 a:visited {
    color: #373838;
    text-decoration: none;
}

.hero-left-text h2 a:hover {
    color: #dc143c;
    text-decoration: none;
}





/* -------------------------------------------------- */
/* SECOND HEADER BAR (3 recent posts on dark blue)    */
/* -------------------------------------------------- */


.additional-header-space{
  background-color:#08283d;
  padding:80px 20px 40px;     /* overall blue band height on desktop */
  color:#fff;
  margin:0 0 25px 0;
}

.recent-posts-container{
  max-width:1400px;
  margin:0 auto;
  display:flex;
  flex-wrap:nowrap;
  justify-content:space-between;
  gap:24px;
  text-align:center;
  align-items:flex-start;      /* keep all three cards top-aligned */
}

.recent-post{
  flex:1 1 418px;
  max-width:418px;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;  /* no vertical centering */
  padding-top:0;
  padding-bottom:0;
}

.recent-post a{ color:inherit; text-decoration:none; }

.recent-post img{
  width:100%; height:auto;
  aspect-ratio:16/9;
	border-radius: 4px;
  object-fit:cover; display:block;
  margin:0 auto 16px auto;     /* space under thumb */
}

.recent-post h3{
  font-size:18px; font-weight:600;
  line-height:1.4;
  margin:0 0 8px 0;            /* space under title */
  color:#fff;
}

.recent-post h3 a:hover{ color:#dc143c; }

.recent-post .post-category a{
  font-size:13px; font-weight:700;
  text-transform:uppercase; letter-spacing:.03em;
  color:#4295ae; display:inline-block;
  margin-top:6px;
}
.recent-post .post-category a:hover{ color:#dc143c; }

.header-separator{
  width:100%; height:1px; background:#fff;
  margin-top:12px; margin-bottom:40px;
}

/* ===== iPad landscape 901–1024: nothing fancy, just keep top-align ===== */
@media (min-width:901px) and (max-width:1024px){
  .recent-posts-container{ align-items:flex-start; }
  .recent-post{ padding-top:0; padding-bottom:0; }
}



/* Blue header: phone-only layout */
@media (max-width: 768px){
  .additional-header-space{
    background-color:#08283d;
    padding:30px 16px 30px !important;
    color:#fff;
  }

.recent-posts-container{
    display:block !important;
    margin:0 auto !important;
    padding:0 !important;
    max-width:100% !important;
  }

  .recent-post{
    display:block !important;
    flex:none !important;
    width:100% !important;
    max-width:none !important;
    margin:0 0 12px 0 !important; /* controls space between cards */
    padding:0 !important;
  }

  .recent-post:last-child{
    margin-bottom:0 !important;
  }

  .recent-post img{
    width:100% !important;
    height:auto !important;
    aspect-ratio:16/9 !important;
    object-fit:cover !important;
    margin:0 0 8px 0 !important;
  }

  .recent-post h3{
    font-size:16px !important;
    line-height:1.35 !important;
    margin:0 0 4px 0 !important;
  }

  .recent-post .post-category a{
    font-size:12px !important;
    margin-top:2px !important;
  }
}



/* Force visible top spacing above the first blue thumbnail */
@media (max-width: 768px){
  .additional-header-space::before{
    content: "";
    display: block;
    height: 24px;              /* adjust this number for more/less space */
  }
}



/* -------------------------------------------------- */
/* SINGLE POST META / TAG SECTION                     */
/* -------------------------------------------------- */

/* Style the date, author, and category under the single post title */
.single .entry-meta {
    border-bottom: 3px solid #dc143c;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #828282;
    font-weight: bold;
}

.single .entry-meta .posted-on,
.single .entry-meta .byline,
.single .entry-meta .cat-links {
    display: block;
}

/* separator line above tag section */
.post-separator {
    margin-top: 20px;
    border-top: 3px solid #dc143c;
    width: 100%;
}

/* tag section block under posts */
.tags-section {
    margin-top: 20px;
    padding: 0px;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 5px;
}

.tags-section h4 {
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #333;
}

.post-tags {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-tags li {
    display: inline-block;
    margin: 5px 1px 5px 0;
    padding: 5px 10px;
    background-color: #eee;
    border-radius: 5px;
}

.post-tags a {
    text-decoration: none;
    color: #0073aa;
}

.post-tags a:hover {
    color: #dc143c;
}




/* -------------------------------------------------- */
/* BLOCKQUOTE STYLE                                   */
/* -------------------------------------------------- */

blockquote {
    position: relative;
    border: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-inline: 1;
    background: #f1f2f4;
}

blockquote::before {
    position: absolute;
    content: '';
    width: 2px;
    height: 100%;
    background-color: #dc143c;
    top: 0;
    left: 0rem;
}

blockquote::after {
    --_quote-size: 25px;
    position: absolute;
    content: '';
    width: var(--_quote-size);
    aspect-ratio: 1/1;
    background-image: url('https://staging-e783-theviewersperspective.wpcomstaging.com/wp-content/uploads/2024/06/Untitled-500-x-500-px-1.png');
    background-size: cover;
    top: 4rem;
    left: 0rem;
    transform: translatex(-50%);
}

blockquote p {
    font-size: 1.2rem;
    font-weight: 450;
    font-style: normal;
    line-height: 1;
}

blockquote cite {
    font-style: normal;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: .1em;
    font-size: 1rem;
    color: hsla(226, 7%, 51%, 1);
}

@media (max-width: 1024px) {
    blockquote {
        margin-left: 2rem;
    }
}

@media (max-width: 768px) {
    blockquote::after {
        --_quote-size: 24px;
        left: -2rem;
    }

    blockquote::before {
        left: -2rem;
    }

    blockquote p {
        font-size: 2rem;
    }
}



/* -------------------------------------------------- */
/* RESPONSIVE LAYOUT (TABLET / MOBILE)                */
/* -------------------------------------------------- */

/* Full-width body on mobile */
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* General responsive tweaks to hero section + cards */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin: 40px auto;
        padding-left: 0;
        max-width: 90%;
    }

    .hero-left,
    .hero-left img {
        max-width: 100%;
        width: 100%;
    }

    .hero-left img {
        height: auto;
    }

    .hero-left-text h2 {
        font-size: 20px;
    }

    .hero-excerpt {
        font-size: 15px;
    }

    .side-posts-container {
        width: 100%;
        gap: 20px;
    }

    .side-post {
        width: 100%;
        flex-direction: row;
    }

    .side-post img {
        width: 120px;
        height: 70px;
    }

    .side-post-text {
        max-width: none;
    }

    .side-post-text h3 {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .inside-right-sidebar .widget {
        margin-bottom: 20px;
    }

    .inside-right-sidebar .widget img,
    .inside-right-sidebar .widget .textwidget,
    .inside-right-sidebar .widget .widget-title {
        border-radius: 15px;
    }
}

/* Narrow phone adjustments */
@media (max-width: 600px) {
    .hero-section {
        margin: 30px 15px;
        gap: 30px;
    }

    .hero-left-text h2 {
        font-size: 18px;
    }

    .hero-excerpt {
        font-size: 14px;
    }

    .side-post {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .side-post img {
        width: 100%;
        height: auto;
    }

    .side-post-text {
        max-width: 100%;
        text-align: center;
    }
}


/* Portrait tablets (mini + Pro) and small landscape tablets:
   make sidebar widgets narrower and centered */
@media (min-width: 600px) and (max-width: 1024px) {

    /* sidebar already moves under content in these sizes,
       now keep it from looking gigantic */
    .sidebar {
        width: 100%;
        padding: 20px 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sidebar .widget {
        width: 90%;
        max-width: 420px; /* you can drop this to ~380px if Pro still feels too big */
        margin-left: auto;
        margin-right: auto;
    }

    .sidebar .widget img {
        max-width: 100%;
        height: auto;
        display: block;
    }
}



/* iPad LANDSCAPE (≈1024 wide in landscape) */
@media (min-width: 901px) and (max-width: 1024px) {

    .site-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .site-header .site-branding {
        order: 1;
        width: 100%;
        text-align: center;
    }

    .site-header .header-widget {
        order: 2;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        position: static;
    }

    .simple-social-icons {
        justify-content: center;
    }

    .simple-social-icons li {
        margin-left: 5px;
    }

    .simple-social-icons a {
        font-size: 14px;
    }

    .main-navigation {
        order: 3;
        width: 100%;
        text-align: center;
    }

    .main-navigation ul {
        flex-wrap: nowrap;
        justify-content: center;
        column-gap: 20px;
    }

    /* content/sidebar side-by-side */
    .site-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .content-area {
        width: 65%;
        padding: 10px 10px;
    }

    .sidebar {
        width: 30%;
        padding: 0 10px;
    }

    .sidebar .widget {
        margin-bottom: 20px;
    }

    .sidebar .widget-title {
        font-size: 18px;
    }

    .sidebar .widget ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .sidebar .widget li {
        margin-bottom: 20px;
    }

    .sidebar .widget a {
        font-size: 14px;
    }
}



/* iPad PORTRAIT (≈768–900px): header stacked, content centered, sidebar under and not huge */
@media (min-width: 768px) and (max-width: 900px) {

    /* HEADER: behave like phone */
    .site-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .site-header .site-branding {
        order: 1;
        width: 100%;
        text-align: center;
    }

    .site-header .header-widget {
        order: 2;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        position: static;
    }

    .simple-social-icons {
        justify-content: center;
    }

    .simple-social-icons li {
        margin-left: 5px;
    }

    .simple-social-icons a {
        font-size: 14px;
    }

    .main-navigation {
        order: 3;
        width: 100%;
        text-align: center;
    }

    /* BLOG AREA: centered like mobile but still desktop-ish inside */
    .site-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .content-area {
        width: 100%;
        max-width: 700px;
        padding: 0;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .site-main {
        width: 100%;
    }

    /* SIDEBAR goes under, not giant */
    .sidebar {
        width: 100%;
        padding: 20px 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sidebar .widget {
        width: 90%;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .sidebar .widget img {
        max-width: 100%;
        height: auto;
    }
}





@media (max-width: 1025px) {
    .main-navigation .main-nav > ul,
    .main-navigation .menu > ul,
    .main-navigation ul.menu {
        display: none !important;
    }

    .main-navigation .menu-toggle,
    .main-navigation .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        margin: 10px auto 10px 20px;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .03em;
        border: 1px solid #dcdcdc;
        padding: 8px 14px;
        border-radius: 4px;
        color: #373838;
        background: #fff;
        cursor: pointer;
    }

    .main-navigation {
        display: block !important;
    }

    .main-navigation.toggled ul {
        display: block !important;
        text-align: center;
        background: #fff;
        padding: 10px 0;
    }

    .main-navigation.toggled ul li {
        display: block;
        padding: 8px 0;
    }

    .main-navigation.toggled ul li a {
        color: #373838;
        text-decoration: none;
    }
}

@media (min-width: 1026px) {
    .main-navigation .menu-toggle,
    .main-navigation .mobile-menu-toggle {
        display: none !important;
    }

    .main-navigation .main-nav > ul {
        display: flex !important;
    }
}










/* -------------------------------------------------- */
/* HERO + SIDEBAR IMAGE RULES — CLEANED FINAL VERSION */
/* -------------------------------------------------- */

/* iPad landscape: make hero fluid */
@media (min-width: 901px) and (max-width: 1023px) {
  .hero-left img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block;
  }
  .hero-left-text, .hero-excerpt, .hero-meta {
    max-width: 100% !important;
  }
}

/* Ignore HTML width/height that distort images (NOT the hero) */
.sidebar .widget img[width], .sidebar .widget img[height],
.inside-right-sidebar .widget img[width], .inside-right-sidebar .widget img[height]{
  width: auto !important;
  height: auto !important;
}

/* Widget and blog list images */
.sidebar .widget img,
.inside-right-sidebar .widget img,
.widget_media_image img,
.widget .wp-post-image {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  display: block;
  object-fit: cover;
}

.blog .post-image img,
.archive .post-image img {
  width: 100% !important;
  height: auto !important;
  display: block;
	border-radius: 4px !important;
}



/* Desktop: keep blog-list thumbnails at native width */
@media (min-width: 901px){
  .blog .post-image { width: 366px; }
  .blog .post-image img { width: 100%; height: auto; display: block; border-radius: 4px; }
}


.wp-block-latest-posts__featured-image img,
.widget_recent_entries img { opacity:1; visibility:visible; display:block; }






/* Latest scroller box */
.tvp-latest-widget{
  background:#fff;
  border:1px solid #e8e8e8;
  padding:12px 12px 6px;
  max-height: 420px;       /* adjusts the visible window */
  overflow-y:auto;
}

.tvp-latest-title{
  margin:0 0 8px;
  font-size:16px;
  font-weight:700;
  letter-spacing:.08em;
	text-transform:uppercase;
  color:#dc143c;
}

.tvp-latest-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.tvp-latest-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.tvp-latest-thumb{
  flex:0 0 113px;              /* thumbnail rail */
  width:113px;
  height:80px;
  display:block;
  overflow:hidden;
  border-radius:2px;
}
.tvp-latest-thumb img,
.tvp-thumb-fallback{
  width:113px !important;
  height:80px !important;
  object-fit:cover !important;
  display:block !important;
}

.tvp-thumb-fallback{ background:#f2f2f2; }

.tvp-latest-text{
  min-width:0;                 /* allow text wrap */
  display:flex;
  flex-direction:column;
  gap:3px;
}

.tvp-latest-link{
  font-size:14px;
  line-height:1.3;
  color:#08283d;
  text-decoration:none;
  display:-webkit-box;
  -webkit-line-clamp:2;        /* clamp to 2 lines */
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.tvp-latest-link:hover{ color:#dc143c; }

.tvp-latest-date{
  font-size:12px;
  color:#828282;
}

/* Wrapper: no scrolling here */
.tvp-latest-widget{
  background:#fff;
  border:1px solid #e8e8e8;
  padding:12px 12px 6px;
  overflow: visible;
  max-height: none;
}

/* Scroll lives on the list */
.tvp-latest-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;

  max-height:420px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  touch-action:pan-y;
}

/* Keep scroll on phones too */
@media (max-width:600px){
  .tvp-latest-list{
    max-height:360px !important;
    overflow-y:auto !important;
  }
}

/* Latest widget: keep it a scroll box on phones too */
.tvp-latest-list{
  max-height: 420px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iOS smooth scroll */
  overscroll-behavior: contain;      /* stop page from rubber-banding */
  touch-action: pan-y;               /* hint for mobile */
}

/* Force on small screens in case another rule overrides it */
@media (max-width: 600px){
  .tvp-latest-list{
    max-height: 360px !important;  /* adjust if you want taller/shorter */
    overflow-y: auto !important;
  }
}






/* MOST READ (Jetpack) scroller */
.tvp-popular-widget{
  background:#fff;
  border:1px solid #e8e8e8;
  padding:12px 12px 6px;
  overflow:visible;
  max-height:none;
  margin-top:20px;
}

.tvp-popular-title{
  margin:0 0 8px;
  font-size:16px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#dc143c; 
}

.tvp-popular-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  max-height:420px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  touch-action:pan-y;
}

.tvp-popular-item{ display:flex; align-items:flex-start; gap:10px; }

.tvp-popular-thumb{
  flex:0 0 113px;
  width:113px;
  height:80px;
  display:block;
  overflow:hidden;
  border-radius:2px;
}

.tvp-popular-thumb img,
.tvp-thumb-fallback{
  width:113px !important;
  height:80px !important;
  object-fit:cover !important;
  display:block !important;
}

.tvp-popular-text{ min-width:0; display:flex; flex-direction:column; gap:3px; }

.tvp-popular-link{
  font-size:14px;
  line-height:1.3;
  color:#08283d;
  text-decoration:none;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.tvp-popular-link:hover{ color:#dc143c; }

.tvp-popular-date{ font-size:12px; color:#828282; }

/* Keep scroll on phones too */
@media (max-width:600px){
  .tvp-popular-list{
    max-height:360px !important;
    overflow-y:auto !important;
  }
}




/* ================================
   BLOG LIST: iPad portrait (768–900)
   Stacked like phone, keep excerpt
   ================================ */
@media (min-width:768px) and (max-width:900px){

  /* Each post: divider + rhythm */
  .blog .site-main .type-post{
    border-bottom:1px solid #e6e6e6 !important;
    padding-bottom:12px !important;
    margin-bottom:20px !important;
  }

  /* Remove any previous grid and tighten spacing */
  .blog .inside-article{
    display:block !important;
    padding-top:10px !important;
    padding-bottom:10px !important;
    margin:0 0 12px !important;
  }

  /* Title: slightly smaller and more breathing above the image */
  .blog .inside-article .entry-title{
    font-size:19.5px !important;
    line-height:1.28 !important;
    margin:6px 0 14px !important;   /* more space before thumbnail */
  }

  /* Thumbnail wrapper: more space above and below */
  .blog .inside-article .post-image{
    margin:6px 0 16px !important;   /* space between image and excerpt */
    float:none !important;
  }

  /* Thumbnail: moderate height, soft edges */
  .blog .inside-article .post-image img{
    width:100% !important;
    height:150px !important;
    object-fit:cover !important;
    display:block !important;
    border-radius:6px !important;
  }

  /* Excerpt: visible, tidy, and balanced */
  .blog .inside-article .entry-summary,
  .blog .inside-article .entry-content{
    display:-webkit-box !important;
    -webkit-line-clamp:3 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
    font-size:14px !important;
    line-height:1.5 !important;
    margin:0 0 10px !important;   /* extra breathing under the excerpt */
  }

  /* Meta line (category, date, author): smaller and lighter */
  .blog .inside-article .post-meta{
    font-size:11px !important;
    line-height:1.2 !important;
    margin-top:4px !important;
    opacity:0.85;
  }
  .blog .inside-article .post-meta .post-category,
  .blog .inside-article .post-meta .post-date,
  .blog .inside-article .post-meta .post-author{
    font-size:11px !important;
  }

  /* Guard against inline width/height */
  .blog .inside-article .post-image img[width],
  .blog .inside-article .post-image img[height]{
    width:auto !important;
    height:auto !important;
  }
}



/* ================================
   BLOG LIST: Phones (≤600)
   Layout: stacked, compact, consistent spacing
   ================================ */
@media (max-width:600px){

  /* Each post: clean divider + rhythm */
  .blog .site-main .type-post{
    border-bottom:1px solid #dcdcdc !important; /* subtle neutral divider */
    padding-bottom:8px !important;              /* tight spacing before divider */
    margin-bottom:14px !important;              /* balanced scroll spacing */
  }

  /* Inside wrapper: minimal padding, compact flow */
  .blog .site-main .inside-article{
    display:block;
    padding-top:6px !important;                 /* slight top breathing */
    padding-bottom:6px !important;
    margin:0 0 6px !important;
  }

  /* Title: clear hierarchy, slightly larger, readable on small screens */
  .blog .site-main .inside-article .entry-title{
    font-size:18px !important;
    line-height:1.3 !important;
    margin:6px 0 18px !important;                /* closer to image */
  }

  /* Title hover/tap feedback */
  .blog .site-main .inside-article .entry-title a:hover,
  .blog .site-main .inside-article .entry-title a:active{
    text-decoration: underline;
  }
  .blog .site-main .inside-article a{
    -webkit-tap-highlight-color: rgba(0,0,0,.08);
  }

  /* Thumbnail wrapper: smaller vertical gaps */
  .blog .site-main .inside-article .post-image{
    margin:4px 0 16px !important;
    float:none !important;
  }

  /* Thumbnail itself: smaller height to fit more stories per screen */
  .blog .site-main .inside-article .post-image img{
    width:100% !important;
    height:120px !important;                    /* was 160 */
    object-fit:cover !important;
    display:block !important;
    border-radius:4px !important;
  }

  /* Remove excerpts completely */
  .blog .site-main .inside-article .entry-summary,
  .blog .site-main .inside-article .entry-content{
    display:none !important;
  }

  /* Meta line (category/date/author): smaller, tighter, lighter */
  .blog .site-main .inside-article .post-meta{
    font-size:10px !important;                   /* was 10 */
    line-height:1.2 !important;
    margin-top:2px !important;
    opacity:0.8;
  }
  .blog .site-main .inside-article .post-meta .post-category,
  .blog .site-main .inside-article .post-meta .post-date,
  .blog .site-main .inside-article .post-meta .post-author{
    font-size:10px !important;
  }

  /* Divider fix: last post has no border */
  .blog .site-main .type-post:last-child{
    border-bottom:none !important;
    margin-bottom:0 !important;
  }

  /* Prevent inline attributes from overriding */
  .blog .inside-article .post-image img[width],
  .blog .inside-article .post-image img[height]{
    width:auto !important;
    height:auto !important;
  }
}








/* iPad Safari: footer not showing on page 1 (repaint + safety) */
@media (min-width:768px) and (max-width:1024px){
  .site-footer,
  .footer-widgets,
  .footer-bar{
    display: block !important;
    visibility: visible !important;
    clear: both !important;
  }
  .site-footer{
    min-height: 10px;              /* prevent collapse */
    position: relative;
    transform: translateZ(0);       /* force repaint in Safari */
    will-change: transform;
    z-index: 1;
  }
  /* give the pagination a little room so it won't “trap” the footer */
  .paging-navigation,
  .nav-links{ margin-bottom: 20px !important; }
  .footer-widgets{ padding-top: 1px; } /* tiny nudge = new paint layer */
}
/* iPad landscape: make sure footer renders */
@media screen and (orientation:landscape) and (min-width:1024px) and (max-width:1366px){
  .site-footer,
  .footer-widgets,
  .footer-bar{
    display:block !important;
    visibility:visible !important;
    clear:both !important;
  }
  .site-footer{
    min-height:10px;
    position:relative;
    transform:translateZ(0); /* force repaint */
    will-change:transform;
    z-index:1;
  }
  .paging-navigation,
  .nav-links{ margin-bottom:24px !important; } /* leave room before footer */
}





/* iPad landscape: lock hero to old 652×367 and keep text aligned */
@media screen and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) and (min-width: 1024px) and (max-width: 1366px) {
  .hero-section .hero-left img{
    width: 652px !important;
    height: auto !important;                   /* avoid crop */
    aspect-ratio: 652 / 367 !important;
    object-fit: cover !important;
    display: block;
  }

  .hero-section .hero-left-text,
  .hero-section .hero-excerpt,
  .hero-section .hero-meta{
    max-width: 652px !important;
  }

  /* keep the two columns behaving */
  .hero-section{
    align-items: flex-start !important;
    gap: 60px !important;
  }
}
/* Neutralize the old 901–1023 fluid block without touching 1024 landscape */
@media (min-width:901px) and (max-width:1023px){
  .hero-section .hero-left img{ width: auto; }
}









