/*
Theme Name: Arcanovia
Theme URI: https://arcanovia.co.uk/
Author: Arcanovia Ltd
Description: Arcanovia's site theme, derived from Graceful Pixel Blog and using Graceful as its parent theme. Contains Arcanovia-specific layout and presentation fixes.
Template: graceful
Version: 0.3.7
Requires at least: 5.3
Tested up to: 6.9
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arcanovia
Tags: blog, one-column, two-columns, custom-logo, custom-menu, featured-images, responsive-layout
*/


/*
Customization of this theme starts here
*/

/* style.css */


/*--------------------------------------------------------------
Header Sections
--------------------------------------------------------------*/
body {
    background-color: #ffffff;
}

#site-menu {
    text-align: left;
}

.entry-header {
    height: 150px;
    border-bottom: none;
}


.blog article .post-meta {
    margin-bottom: 10px;
}

.blog .post-page-content {
    padding-top: 10px;
}

#main-navigation {
    background-color: #f2f2f2;
    border: none;
    text-align: center;
}

.site-menu-wrapper {
    margin: 0 auto;   
}

#top-navigation {
    background-color: #e8400c;
    color: #ffffff;
    border-bottom: 1px solid #dddddd;
}

aside .graceful-widget h2, 
.graceful-widget .widget-title {
    background: transparent;
    border: none;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    color: #111111;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    padding: 0 0 12px;
    margin-bottom: 16px;
    position: relative;
    display: block;
    overflow: visible;
    width: 100%;
}

aside .graceful-widget h2::after,
.graceful-widget .widget-title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e8400c 50px, #e8e8e8 50px);
    border: none;
}

aside .graceful-widget h2::after {
    border-top: none;
}

#graceful-post-slider .owl-stage-outer:after {
    background-color: #f2f2f2;
}

#graceful-post-slider .owl-nav {
    background-color: #f2f2f2;
}

.post-title {
    word-wrap: break-word;
}

.graceful-slider-title {
    width: 460px;
    word-wrap: break-word;
}

@media screen and (max-width: 480px) {
    .graceful-slider-title {
        width: 300px;
    }
}

.site-images {
    min-height: 245px;
    background: #f2f2f2;
}

#site-footer {
    background: #f2f2f2;
}

#site-footer .graceful-widget .widget-title {
    border: none;
    font-weight: 700;
    background: transparent;
    color: #111111;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.4;
    margin-bottom: 16px;
    overflow: visible;
    padding: 0 0 12px;
    position: relative;
    text-align: left;
    text-transform: none;
    display: block;
    width: 100%;
}

#site-footer .graceful-widget .widget-title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e8400c 50px, #e8e8e8 50px);
    border: none;
}

.footer-widgets {
    border-bottom: 1px solid #a19376;    
}

.single .post-date {
    color: #111111 !important;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
}

.single .post-title-author { 
    color: #111111 !important;
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: normal;
}

@media screen and (max-width: 480px) {
    .content-column > li {
        width: 100%;
    }
}

/*--------------------------------------------------------------
Trending Ticker Bar
--------------------------------------------------------------*/

#trending-ticker-bar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    overflow: hidden;
    z-index: 1100;
    position: relative;
}

.trending-ticker-inner {
    display: flex;
    align-items: center;
    height: 44px;
    max-width: 100%;
}

/* Label badge */
.trending-ticker-label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #e8400c;
    color: #ffffff;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0 16px;
    height: 100%;
    white-space: nowrap;
    z-index: 2;
}

.trending-ticker-icon {
    font-size: 13px;
    line-height: 1;
}

/* Scrolling track wrapper — clips overflow */
.trending-ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    /* Fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

/* The moving track */
.trending-ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: ticker-scroll 15s linear infinite;
    will-change: transform;
}

.trending-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Individual post item */
.trending-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 30px 0 0;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.trending-ticker-item:hover .trending-ticker-title {
    color: #e8400c;
}

/* Thumbnail */
.trending-ticker-thumb {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #e8e8e8;
}

.trending-ticker-no-thumb {
    display: inline-block;
    background-color: #e0e0e0;
}

/* Date */
.trending-ticker-date {
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    color: #999999;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Title */
.trending-ticker-title {
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #222222;
    white-space: nowrap;
    transition: color 0.2s ease;
}

/* Separator dot between items */
.trending-ticker-item::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #dddddd;
    margin-left: 25px;
    flex-shrink: 0;
}

.trending-ticker-item:last-child::after {
    display: none;
}

@media (max-width: 480px) {
    .trending-ticker-label {
        padding: 0 12px;
        font-size: 10px;
    }
    .trending-ticker-title {
        font-size: 12px;
    }
    .trending-ticker-date {
        display: none;
    }
}

/*--------------------------------------------------------------
Top Navigation
--------------------------------------------------------------*/

#top-navigation {
  text-align: center;
  box-shadow: 0px 1px 5px rgba(0,0,0, 0.1);
  border-bottom: 1px solid #e4e4e4;
}

#top-menu {
  display: inline-block;
}

#top-menu li {
  position: relative;
}

#top-menu li.menu-item-has-children>a:after {
    font-family: FontAwesome;
    content: "\f107";
    margin-left: 6px;
    font-size: 12px;
}

#top-menu ul li.menu-item-has-children>a:after {
    font-family: FontAwesome;
    content: "\f105";
    font-size: 14px;
    float: right;
}

#top-menu > li {
  display: inline-block;
  list-style: none;
}

#top-menu li a {
  display: block;
  position: relative;
  padding: 0 5px;
  margin-left: 5px;
  color: #ffffff;
}

#top-menu a:focus {
  outline: 3px dotted #000000 !important;
}

#top-menu li a:first-child {
  margin-left: 0;
}

#top-menu > li > a {
  display: block;
  text-decoration: none;
}

#top-menu > li:first-child > a {
  padding-left: 0px;
}

#top-menu > li:last-child > a {
  padding-right: 0px;
}

#top-menu ul ul {
  top: -1px;
  left: 100%;
}

#top-menu .sub-menu {
  position: absolute;
  left: -999em;
  z-index: 1101;
  width: 170px;
  text-align: left;
  border: 1px solid #e4e4e4;
  border-width: 1px;
  opacity: 0;
}

#top-menu .menu-item:hover > ul, #top-menu .menu-item:focus-within > ul {
  left: 0;
  opacity: 1;
}

#top-menu .menu-item:hover ul ul, #top-menu .menu-item:focus-within ul ul{
  left: 100%;
}

#top-menu .sub-menu a {
  border-bottom-style: solid;
  border-bottom-width: 1px; 
}

#top-menu .sub-menu > li:last-of-type > a {
  border: none;
}

#top-menu .sub-menu li:first-child > .sub-menu {
  margin-top: -1px;
}

#top-menu .sub-menu > li > a {
  display: block;
  width: 100%;
  padding: 8px 15px;
  margin: 0;
}

#top-menu li a {
  font-size: 11px;
  line-height: 40px;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}
#top-menu .sub-menu > li > a {
  font-size: 11px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

#top-menu li a {
  font-size: 11px;
  line-height: 40px;
  letter-spacing: 1px;
  font-weight: 600;
}
#top-menu .sub-menu > li > a {
  font-size: 11px;
  line-height: 22px;
  letter-spacing: 0.5px;
}

#top-menu li a,
#main-menu li a {
  text-transform: uppercase;
}

#top-navigation > div {
  padding-left: 30px;
  padding-right: 30px;
}

.post-categories {
    background: #f2f2f2;
    border: 1px solid #dfd6c5;
}

.graceful-small-image-box {
    background-color: #f2f2f2;
    border-radius: 10px;
}

.wp-block-search__button {
    background: #f2f2f2;
    border: 1px solid #dddddd;
}

#main-navigation #searchform #s {
    border: 1px solid #bdb29b;
}

#main-navigation #searchform #searchsubmit, .close-graceful-search {
    background: #f2f2f2;
    border: 1px solid #dddddd;
}


#graceful-post-slider {
    padding-bottom: 40px;
    margin-top: 40px;
}

.widget_categories > ul > li {
    border-bottom: 1px solid #f2f2f2;
}

aside .wp-block-latest-posts.wp-block-latest-posts__list li {
    border-bottom: 1px solid #f2f2f2;
}

.wp-block-search__label {
    display: none;
}


/*--------------------------------------------------------------
Featured Boxes Sections
--------------------------------------------------------------*/

#featured-boxes {
  border-bottom: 1px solid #eee;
  background: #fff;
  margin-top: 40px;
}

#featured-boxes .wrapped-content {
  font-size: 0;
  text-align: center;
}

#featured-boxes .featured-box {
  position: relative;
  float: left;
}

#featured-boxes .featured-box img {
  border-radius: 14px;
}

#featured-boxes a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


#featured-boxes .graceful-wrap-outer {
  padding: 12px;
}

#featured-boxes h4 {
  display: inline-block;
  padding: 11px 20px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: rgba(0,0,0,0.50);
  color: #ffffff !important;
}

#featured-boxes .featured-box {
    width: calc((100% - 50px ) /3);
    width: -webkit-calc((100% - 70px ) /3);
    margin-right: 34px;
}

#featured-boxes .featured-box:last-child {
    margin-right: 0;
}


@media screen and (max-width: 768px) {
    .featured-box {
        display: block;
    }
    .main-navigation-search {
        right: 20px;
        top: 14px !important;
    }
}


@media screen and (max-width: 480px) {
    #featured-boxes .featured-box {
        width: 100%;
        margin-bottom: 34px;
    }
    
    #featured-boxes {
      padding: 20px !important;
    }
}


/* Media Query Min 768px
   ========================================================================== */
@media screen and (min-width: 768px) {
    .blog .post-page-content p {
        padding: 0 24px;
    }
    #main-navigation .wrapped-content {
        padding-left: 0;
    }
    .main-navigation-search {
        right: 0;
    }
    #main-navigation .navigation-socials {
        right: 35px;
    }

}



/*--------------------------------------------------------------
Posts Ticker
--------------------------------------------------------------*/

.graceful-latest {
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Wrapper — gives padding so the card has breathing room */
.graceful-latest-posts-ticker {
    background: transparent;
    padding: 0;
    position: relative;
}

.graceful-latest-posts-ticker .item {
    padding: 10px;
}

/* Hero card — full-bleed background image */
.lpt-card {
    position: relative;
    width: 100%;
    height: 460px;
    border-radius: 14px;
    overflow: hidden;
    background-color: #1a1a2e;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Dark gradient overlay — strong at bottom, fades to transparent at top */
.lpt-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.25) 40%,
        rgba(0, 0, 0, 0.75) 75%,
        rgba(0, 0, 0, 0.88) 100%
    );
    border-radius: 14px;
    z-index: 1;
}

/* Bottom content block */
.lpt-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 30px 30px;
    z-index: 2;
}

/* Category badge */
.lpt-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px 5px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.lpt-category-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #e8400c;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Post title */
.lpt-title {
    margin: 0 0 16px;
    padding: 0;
    font-family: Montserrat, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.lpt-title a {
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.lpt-title a:hover {
    opacity: 0.85;
}

/* Author / date meta row */
.lpt-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e8e8e8;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
}

.lpt-avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.6);
    flex-shrink: 0;
}

.lpt-author {
    font-weight: 500;
    color: #ffffff;
}

.lpt-divider {
    color: rgba(255,255,255,0.5);
    font-weight: 300;
}

.lpt-date {
    color: #e0e0e0;
}

/* ── Nav buttons — top-right, square with rounded corners ── */
.graceful-latest-posts-ticker .owl-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex !important;
    gap: 8px;
    z-index: 10;
    margin: 0;
    pointer-events: none;
}

.graceful-latest-posts-ticker .owl-nav button {
    pointer-events: all;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: none !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    transition: background 0.2s ease;
    margin: 0 !important;
    padding: 0 !important;
}

.graceful-latest-posts-ticker .owl-nav button:hover {
    background: #ffffff !important;
}

.graceful-latest-posts-ticker .owl-nav button span {
    color: #333333 !important;
    font-size: 30px !important;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -5px;
}

/* ── Dots — vertical, left side ── */
.graceful-latest-posts-ticker .owl-dots {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
    margin: 0 !important;
}

.graceful-latest-posts-ticker .owl-dots .owl-dot {
    display: block !important;
    margin: 0 !important;
}

.graceful-latest-posts-ticker .owl-dots .owl-dot span {
    display: block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.45) !important;
    margin: 0 !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.graceful-latest-posts-ticker .owl-dots .owl-dot.active span {
    background: #ffffff !important;
    transform: scale(1.4);
}

/* Responsive */
@media (max-width: 768px) {
    .lpt-card {
        height: 380px;
    }
    .lpt-title {
        font-size: 22px;
    }
    .lpt-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .lpt-card {
        height: 320px;
    }
    .lpt-title {
        font-size: 18px;
        line-height: 1.3;
    }
    .lpt-meta {
        font-size: 12px;
    }
    .graceful-latest-posts-ticker .owl-nav {
        top: 12px;
        right: 12px;
    }
    .graceful-latest-posts-ticker .owl-nav button {
        width: 34px !important;
        height: 34px !important;
    }
}


/*--------------------------------------------------------------
Slider Customization
--------------------------------------------------------------*/

#graceful-post-slider .owl-nav {
   align-items: unset;
   background-color: unset;
   height: unset;
   justify-content: unset;
   margin: unset;
   max-width: unset;
   text-align: unset;
   width: unset;
}
 #graceful-post-slider .owl-nav button:focus {
   box-shadow: unset;
   outline: unset;
}
 #graceful-post-slider .owl-nav [class*=owl-]:hover {
   background: unset;
}

#graceful-post-slider .owl-stage-outer {
border-radius: 14px;
}

 #graceful-post-slider .owl-stage-outer:after {
   background-color: unset;
   bottom: unset;
   content: unset;
   display: unset;
   height: unset;
   left: unset;
   position: unset;
   transform: unset;
   width: unset;
   z-index: unset;
}
 #graceful-post-slider .owl-next {
   border-radius: unset;
   margin-left: unset;
   margin-top: unset;
   padding-left: unset;
   position: unset;
}
 #graceful-post-slider .owl-next span {
   color: unset;
   font-size: unset;
}
 #graceful-post-slider .owl-next::after {
   background: unset;
   border-radius: unset;
   content: unset;
   height: unset;
   position: unset;
   right: unset;
   top: unset;
   width: unset;
}
 #graceful-post-slider .owl-prev {
   border-radius: unset;
   margin-right: unset;
   margin-top: unset;
   padding-right: unset;
   position: unset;
}
 #graceful-post-slider .owl-prev span {
   color: unset;
   font-size: unset;
}
 #graceful-post-slider .owl-prev::after {
   background: unset;
   border-radius: unset;
   content: unset;
   height: unset;
   position: unset;
   right: unset;
   top: unset;
   width: unset;
}


#graceful-post-slider {
    padding: 0 4px !important;
}

#graceful-post-slider .slide-item {
    height: 480px;
}

#graceful-post-slider {
   padding-bottom: 15px;
}
 #graceful-post-slider .slider-item:first-child {
   display: block;
}
 #graceful-post-slider .slide-item {
   background-size: cover;
   background-position: center;
}

#graceful-post-slider .owl-nav {
    position: absolute;
    top: 44%;
    left: 0;
    width: 100%;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; 
}

#graceful-post-slider .owl-nav button {
    background: rgba(255, 255, 255, 0.6);
    border: none;
    font-size: 60px !important; 
    pointer-events: all;
    color: #777 !important; 
    cursor: pointer;
    padding: 6px 8px 15px 10px !important;
}

#graceful-post-slider .owl-nav button:hover {
    color: #000 !important; 
}

#graceful-post-slider .owl-nav [class*=owl-]:hover {
       background: rgba(255, 255, 255, 0.7);
}

#graceful-post-slider .owl-nav .owl-prev {
    position: absolute;
    left: 10px; 
    border-radius: 5px;
}

#graceful-post-slider .owl-nav .owl-next {
    position: absolute;
    right: 10px; 
    border-radius: 5px;
}

#graceful-post-slider .owl-dots {
    margin-top: -32px;
    position: relative;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: #fbfbfb;
}


 #graceful-post-slider .graceful-wrap-inner {
   vertical-align: bottom;
}
 #graceful-post-slider.wrapped-content img {
   width: 100%;
}
 #graceful-post-slider.wrapped-content .slider-item-bg {
   height: 540px;
}
 .slider-item {
   display: none;
   position: relative;
}
 .slider-item-bg {
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
   height: 450px;
}
 .graceful-slider-info {
   display: inline-block;
   max-width: 840px;
   padding: 40px;
}
 .slider-categories {
   font-size: 13px;
   font-weight: bold;
   letter-spacing: 3px;
   margin-bottom: 16px;
   text-transform: uppercase;
}
 .graceful-slider-title {
   font-size: 36px;
   letter-spacing: 1px;
   line-height: 44px;
   margin-bottom: 25px;
}
 .graceful-slider-read-more a {
   background: rgba(255, 255, 255, 0.1);
   border: 1px solid rgba(255, 255, 255, 0.8);
   cursor: pointer;
   display: inline-block;
   font-size: 13px;
   font-weight: bold;
   letter-spacing: 2px;
   line-height: 30px;
   margin-bottom: 30px;
   padding: 0 25px;
   text-transform: uppercase;
}

#graceful-post-slider .owl-dots {
   padding: 0 !important;
}

@media screen and (max-width: 480px) {
    #graceful-post-slider .owl-nav {
        display: none;
    }
    .graceful-slider-info {
        padding: 10px;
    }
    .graceful-slider-title {
        font-size: 24px;
        letter-spacing: 1px;
        line-height: 31px;
        margin-bottom: 25px;
    }
    #graceful-post-slider .slide-item {
        height: 240px;
    }
}


@media screen and (max-width: 1200px) {
    #graceful-post-slider.wrapped-content {
        padding-bottom: 12px;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
}


/* Shine Effect on post images */
.site-images a {
    position: relative;
    display: block;
}
.site-images a::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}
.site-images a:hover::before {
    -webkit-animation: shine .75s;
    animation: shine .75s;
}
@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}
@keyframes shine {
    100% {
        left: 125%;
    }
}



/*--------------------------------------------------------------
Home Blog List Layout Customization
--------------------------------------------------------------*/

.blog .content-column li,
.archive .content-column li {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eeeeee;
    list-style: none;
}

.blog .content-column li:last-child,
.archive .content-column li:last-child {
    border-bottom: none;
}

/* Card — flat, no shadow, auto height */
.blog .content-column article,
.archive .content-column article {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    background: #ffffff;
    box-shadow: none;
    height: auto;
    overflow: visible;
}

/* Image column — fixed width, rounded corners */
.blog .post-image-col,
.archive .post-image-col {
    flex: 0 0 220px;
    width: 220px;
}

.blog .post-image-col .site-images,
.archive .post-image-col .site-images {
    height: 140px;
    min-height: unset;
    border-radius: 10px;
    overflow: visible;
    background: #f2f2f2;
}

.blog .site-images a,
.archive .site-images a {
    display: block;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.blog .site-images a img,
.archive .site-images a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.blog .site-images .no-thumbnail,
.archive .site-images .no-thumbnail {
    width: 100%;
    height: 100%;
    background-color: #e8e8e8;
    border-radius: 10px;
}

/* Content column */
.blog .post-content-col,
.archive .post-content-col {
    flex: 1;
    padding: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Category badge */
.bl-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: Montserrat, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #444444;
    margin-bottom: 4px;
}

.bl-category-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #e8400c;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Post title */
.blog .post-title,
.archive .post-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    word-wrap: break-word;
}

.blog .post-title a,
.archive .post-title a {
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog .post-title a:hover,
.archive .post-title a:hover {
    color: #e8400c;
}

/* Meta row: By Author • Date */
.bl-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    color: #777777;
    flex-wrap: wrap;
}

.bl-category-badge a {
    color: #444444;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bl-category-badge a:hover {
    color: #e8400c;
}

.bl-author a {
    color: #555555;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.bl-author a:hover {
    color: #e8400c;
}

.bl-meta-dot {
    color: #aaaaaa;
    font-size: 10px;
}

.bl-date {
    color: #777777;
}

/* Excerpt */
.blog .post-page-content,
.archive .post-page-content {
    padding-top: 0;
    margin-top: 0;
}

.blog .post-page-content p,
.archive .post-page-content p {
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #555555;
    line-height: 1.5;
}

/* Hide post-footer / read more button */
.blog .post-footer,
.archive .post-footer {
    display: none;
}

/* Read More link */
.bl-read-more {
    margin-top: 6px;
}

.bl-read-more a {
    display: inline;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    color: #e8400c;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bl-read-more a:hover {
    color: #a07a3a;
    text-decoration: underline;
}

/* Post header reset */
.blog .post-header,
.archive .post-header {
    text-align: unset;
}

/* Responsive — tablet */
@media (max-width: 768px) {
    .blog .content-column article,
    .archive .content-column article {
        flex-direction: column;
        gap: 14px;
    }

    .blog .post-image-col,
    .archive .post-image-col {
        flex: none;
        width: 100%;
    }

    .blog .post-image-col .site-images,
    .archive .post-image-col .site-images {
        height: 200px;
    }

    .blog .post-title,
    .archive .post-title {
        font-size: 17px;
    }
}

/* Responsive — mobile */
@media (max-width: 480px) {
    .blog .post-image-col .site-images,
    .archive .post-image-col .site-images {
        height: 180px;
    }

    .blog .post-title,
    .archive .post-title {
        font-size: 17px;
    }

    .bl-meta {
        font-size: 12px;
    }
}

.navigation-search-button {
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    line-height: 24px;
    position: relative;
}

.main-navigation-search {
    top: 7px;
}

.navigation-search-button i {
    color: #ffffff !important;
}

.continue-read a {
    background: #ffffff;
    border: 1px solid #e8400c;
    color: #e8400c !important;
    text-decoration: none;
}

#main-navigation #searchform #searchsubmit, .close-graceful-search {
    background: #f2f2f2;
    border: 1px solid #e8400c;
}

.graceful-latest-articles {
    margin-bottom: 30px;
    margin-top: 70px;
    padding: 0 0 12px;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    color: #111111;
    border: none;
    display: block;
    position: relative;
}

.graceful-latest-articles::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e8400c 50px, #e8e8e8 50px);
}





.main-content.wrapped-content {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

@media screen and (max-width: 1180px) {
    .main-content.wrapped-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }   
}

.content-post .post-footer {
    padding: 3px 0 !important;
}

.graceful-pixel-category-title {
    margin-bottom: 30px;
    margin-top: 1px;
    padding: 0 0 12px;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    color: #111111;
    border: none;
    display: block;
    position: relative;
    width: 100%;
}

.graceful-pixel-category-title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e8400c 50px, #e8e8e8 50px);
}

/*--------------------------------------------------------------
Single Post Hero Header
--------------------------------------------------------------*/

/* Hero block */
.sph-hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #2a2a2a;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 0 0 1px #e0e0e0;
    margin-bottom: 36px;
    display: flex;
    align-items: flex-end;
}

/* Gradient overlay — only when image present */
.sph-has-image .sph-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.20) 40%,
        rgba(0, 0, 0, 0.72) 75%,
        rgba(0, 0, 0, 0.88) 100%
    );
    z-index: 1;
}

/* Content sits above overlay */
.sph-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 32px 36px 36px;
}

/* Category badges */
.sph-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.sph-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff !important;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 5px 12px 5px 8px;
    border-radius: 20px;
    transition: background 0.2s ease;
}

.sph-cat-badge:hover {
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff !important;
}

.sph-cat-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e8400c;
    flex-shrink: 0;
}

/* Post title */
.sph-hero .sph-title {
    font-family: Montserrat, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff !important;
    margin: 0 0 18px;
    padding: 0;
    word-wrap: break-word;
}

/* Compact single-post metadata: author on its own line, then date and read time. */
.sph-meta {
    display: block;
}

.sph-meta-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sph-author {
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.sph-meta-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    flex-wrap: wrap;
}

.sph-sep {
    color: rgba(255, 255, 255, 0.6);
}

.sph-date,
.sph-read-time {
    color: rgba(255, 255, 255, 0.85);
}

/* No-image fallback — dark grey, no overlay needed */
.sph-no-image .sph-content {
    padding-top: 60px; /* extra top padding since no image above */
}

/* Responsive */
@media (max-width: 768px) {
    .sph-hero {
        min-height: 380px;
        border-radius: 8px;
    }
    .sph-title {
        font-size: 24px;
    }
    .sph-content {
        padding: 24px 20px 28px;
    }
}

@media (max-width: 480px) {
    .sph-hero {
        min-height: 300px;
    }
    .sph-title {
        font-size: 20px;
    }
    .sph-meta-row {
        font-size: 12px;
    }
}


/*--------------------------------------------------------------
Additional Customizations
--------------------------------------------------------------*/

/* Remove featured boxes border */
#featured-boxes {
	border-bottom: none;
}

/* Media widget image rounded corners */
#media_image-3 img {
	border-radius: 10px;
}


/* Blog listing author link */
.bl-author a {
	color: #555555 !important;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

/* Latest posts ticker item padding */
.graceful-latest-posts-ticker .item {
	padding: 0px;
}

/* Single post hero author link */
.sph-author a {
	color: #ffffff !important;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.sph-author a:hover {
	opacity: 0.85;
}

/* =========================================================
   Arcanovia fixes and desktop header
   ========================================================= */

/* Hide unwanted Owl navigation controls on the latest-posts hero. */
body .graceful-latest-posts-ticker .owl-nav,
body .graceful-latest-posts-ticker .owl-dots {
    display: none !important;
}

/* Graceful Pixel Blog leaves this button content-sized, producing an oval. */
.navigation-search-button {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* Keep listing typography consistent with the rest of the site. */
.post-title,
.post-title a {
    font-family: "Montserrat", sans-serif !important;
}

/* A no-sidebar layout is a real full-width content column. */
[data-layout*="fullwidth"] .content-wrap {
    width: 100%;
}

@media (min-width: 980px) {
    /* One-row Arcanovia header: identity left, navigation right. */
    #site-header {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        column-gap: 40px;
        max-width: 1160px;
        margin: 0 auto;
        padding: 28px 0 18px !important;
    }

    #site-header .entry-header,
    #site-header .graceful-wrap-outer,
    #site-header .graceful-wrap-inner {
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        max-width: none !important;
    }

    #site-header .entry-header {
        min-height: 0 !important;
        height: auto !important;
    }

    #site-header .site-branding {
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #site-header .site-branding > br,
    #site-header .site-description {
        display: none !important;
    }

    #site-header .logo-img img {
        display: block;
        width: auto !important;
        max-width: 240px;
        height: auto;
    }

    #main-navigation {
        background: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
        min-height: 0 !important;
        height: auto !important;
        transform: translateY(5px);
    }

    #main-navigation .wrapped-content {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 40px !important;
    }

    .site-menu-wrapper {
        display: block !important;
        width: 100% !important;
        text-align: right !important;
    }

    .site-menu-wrapper > #site-menu {
        display: inline-block !important;
        float: none !important;
        width: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
    }
}

/* Compact responsive header. Graceful's own responsive menu takes over below 980px. */
@media (max-width: 979px) {
    #site-header .entry-header {
        height: auto !important;
        min-height: 0 !important;
        padding: 18px 30px 12px !important;
        border-bottom: 0 !important;
    }

    #site-header .graceful-wrap-outer,
    #site-header .graceful-wrap-inner {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: none !important;
    }

    #site-header .site-branding {
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #site-header .site-branding > br,
    #site-header .site-description {
        display: none !important;
    }

    #site-header .logo-img img {
        display: block;
        width: auto !important;
        max-width: 190px;
        height: auto;
    }

    #main-navigation {
        background: transparent !important;
        border: 0 !important;
        min-height: 44px;
    }

    #main-navigation > .wrapped-content {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .site-menu-wrapper {
        display: none !important;
    }

    .responsive-menu-btn {
        display: inline-block;
        line-height: 44px;
        padding: 0 10px;
    }

    .main-navigation-search {
        top: 8px !important;
        right: 30px !important;
    }
}

@media (max-width: 640px) {
    #site-header .entry-header {
        padding: 15px 20px 9px !important;
    }

    #site-header .logo-img img {
        max-width: 170px;
    }

    #main-navigation > .wrapped-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .main-navigation-search {
        right: 20px !important;
    }
}


/* ==========================================================
   Arcanovia typography and footer refinements — v0.1.2
   ========================================================== */

/* Use the Arcanovia sans-serif heading face throughout content areas. */
#primary h1,
#primary h1 a,
#primary h2,
#primary h2 a,
#primary h3,
#primary h3 a,
#primary h4,
#primary h4 a,
#primary h5,
#primary h5 a,
#primary h6,
#primary h6 a,
#graceful-post-slider .graceful-slider-title,
#graceful-post-slider .graceful-slider-title a {
    font-family: "Montserrat", sans-serif !important;
}

/* Arcanovia footer: copyright left, legal links right. */
#site-footer .footer-bottom-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 25px 0;
}

#site-footer .footer-copyright {
    flex: 0 1 auto;
    text-align: left;
}

#site-footer .footer-legal-nav {
    flex: 0 1 auto;
    margin-left: auto;
}

#site-footer .footer-legal-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#site-footer .footer-legal-menu li {
    margin: 0;
    padding: 0;
}

#site-footer .footer-legal-menu a {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    #site-footer .footer-bottom-wrap {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    #site-footer .footer-copyright,
    #site-footer .footer-legal-nav {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    #site-footer .footer-legal-menu {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ==========================================================
   Homepage editorial introduction — v0.3.5
   ========================================================== */

.arcanovia-home-intro {
    width: min(1160px, calc(100% - 40px));
    margin: 38px auto 0;
    text-align: left;
}

.arcanovia-home-intro h1 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.35px;
    color: #111111;
}

.arcanovia-home-intro p {
    max-width: 820px;
    margin: 13px 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: #555555;
}

/* ==========================================================
   Arcanovia featured stories + content landing pages — v0.2.1
   ========================================================== */

/* Slightly tighten the transition from Featured Stories into the Latest feed. */
body.home .graceful-latest-articles {
    margin-top: 50px;
}

/* Static homepage editorial grid: one lead story + two secondary stories. */
.arcanovia-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: min(1160px, calc(100% - 40px));
    height: auto;
    aspect-ratio: 8 / 3;
    margin: 28px auto 0;
}

.arcanovia-featured-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    background-color: #171725;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.arcanovia-featured-lead {
    grid-row: 1 / 3;
}

.arcanovia-featured-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    color: #ffffff !important;
    text-decoration: none !important;
}

.arcanovia-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.04) 0%,
        rgba(0, 0, 0, 0.14) 36%,
        rgba(0, 0, 0, 0.72) 78%,
        rgba(0, 0, 0, 0.88) 100%
    );
}

.arcanovia-featured-no-image {
    background-image: linear-gradient(135deg, #171725 0%, #2c2b42 100%);
}

.arcanovia-featured-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 26px 28px;
}

.arcanovia-featured-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1.2;
    text-transform: uppercase;
}

.arcanovia-featured-category-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 2px;
    background: #7b3ff2;
}

.arcanovia-featured-title {
    max-width: 95%;
    font-family: "Montserrat", sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.arcanovia-featured-secondary .arcanovia-featured-title {
    font-size: 17px;
    line-height: 1.22;
}

.arcanovia-featured-date {
    margin-top: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.78);
}

.arcanovia-featured-link:hover .arcanovia-featured-title,
.arcanovia-featured-link:focus .arcanovia-featured-title {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Graceful's page body class is .page rather than .blog/.archive, so give
   Articles and Videos landing pages the same editorial list layout. */
.arcanovia-feed-page {
    width: 100% !important;
}

.arcanovia-feed-intro {
    max-width: 760px;
    margin: -12px 0 28px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #555555;
}

.arcanovia-feed-intro p {
    margin: 0;
}

.arcanovia-feed-page .content-column > li {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eeeeee;
    list-style: none;
}

.arcanovia-feed-page .content-column > li:last-child {
    border-bottom: none;
}

.arcanovia-feed-page .content-column article {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    height: auto;
    overflow: visible;
    background: #ffffff;
    box-shadow: none;
}

.arcanovia-feed-page .post-image-col {
    flex: 0 0 220px;
    width: 220px;
}

.arcanovia-feed-page .post-image-col .site-images {
    height: 140px;
    min-height: 0;
    overflow: visible;
    border-radius: 10px;
    background: #f2f2f2;
}

.arcanovia-feed-page .site-images a {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.arcanovia-feed-page .site-images img,
.arcanovia-feed-page .site-images .no-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.arcanovia-feed-page .site-images img {
    object-fit: cover;
}

.arcanovia-feed-page .site-images .no-thumbnail {
    background: #e8e8e8;
}

.arcanovia-feed-page .post-content-col {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 4px 0 0;
}

/* Graceful centres .post-header globally; feed pages should use editorial left alignment. */
.arcanovia-feed-page .post-header {
    text-align: left;
}

.arcanovia-feed-page .post-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.arcanovia-feed-page .post-title a {
    color: #111111;
    text-decoration: none;
}

.arcanovia-feed-page .post-page-content {
    margin-top: 0;
    padding-top: 0;
}

.arcanovia-feed-page .post-page-content p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555555;
}

.arcanovia-feed-empty {
    padding: 12px 0 36px !important;
    color: #666666;
}

@media screen and (max-width: 768px) {
    .arcanovia-feed-intro {
        margin-bottom: 22px;
        font-size: 14px;
    }

    .arcanovia-home-intro {
        margin-top: 28px;
    }

    .arcanovia-home-intro h1 {
        font-size: 27px;
    }

    .arcanovia-home-intro p {
        font-size: 15px;
    }

    .arcanovia-featured-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        height: auto;
        gap: 14px;
        margin-top: 28px;
    }

    .arcanovia-featured-card,
    .arcanovia-featured-lead,
    .arcanovia-featured-secondary {
        grid-row: auto;
        min-height: 180px;
    }

    .arcanovia-featured-lead {
        min-height: 360px;
    }

    .arcanovia-featured-title {
        font-size: 23px;
    }

    .arcanovia-featured-secondary .arcanovia-featured-title {
        font-size: 18px;
    }

    .arcanovia-feed-page .content-column article {
        flex-direction: column;
        gap: 14px;
    }

    .arcanovia-feed-page .post-image-col {
        flex: none;
        width: 100%;
    }

    .arcanovia-feed-page .post-image-col .site-images {
        height: 200px;
    }
}

@media screen and (max-width: 480px) {
    .arcanovia-home-intro {
        width: calc(100% - 30px);
    }

    .arcanovia-home-intro h1 {
        font-size: 24px;
    }

    .arcanovia-featured-grid {
        width: calc(100% - 30px);
    }

    .arcanovia-featured-content {
        padding: 22px;
    }

    .arcanovia-featured-lead {
        min-height: 320px;
    }

    .arcanovia-featured-card,
    .arcanovia-featured-secondary {
        min-height: 210px;
    }

    .arcanovia-feed-page .post-image-col .site-images {
        height: 180px;
    }

    .arcanovia-feed-page .post-title {
        font-size: 17px;
    }
}


/* ==========================================================
   Topics taxonomy — v0.3.0
   ========================================================== */

.arcanovia-topics-page,
.arcanovia-topic-archive {
    width: 100% !important;
}

.arcanovia-topics-intro,
.arcanovia-topic-description {
    max-width: 760px;
    margin: -12px 0 28px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #555555;
}

.arcanovia-topics-intro p,
.arcanovia-topic-description p {
    margin: 0;
}

.arcanovia-topics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
}

.arcanovia-topic-card {
    min-width: 0;
    border: 1px solid #e7e7eb;
    border-radius: 12px;
    background: #ffffff;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.arcanovia-topic-card:hover,
.arcanovia-topic-card:focus-within {
    border-color: #d7d2e5;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 18, 35, 0.07);
}

.arcanovia-topic-card-link {
    display: flex;
    min-height: 170px;
    height: 100%;
    flex-direction: column;
    padding: 24px;
    color: inherit !important;
    text-decoration: none !important;
}

.arcanovia-topic-card-title {
    margin: 0 0 10px;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    color: #111111;
}

.arcanovia-topic-card-description {
    margin: 0 0 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #555555;
}

.arcanovia-topic-card-count {
    margin-top: auto;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #777777;
}

.arcanovia-topics-empty {
    padding: 8px 0 28px;
    font-family: "Montserrat", sans-serif;
    color: #666666;
}

@media screen and (max-width: 768px) {
    .arcanovia-topics-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .arcanovia-topic-card-link {
        min-height: 0;
        padding: 20px;
    }

    .arcanovia-topics-intro,
    .arcanovia-topic-description {
        margin-bottom: 22px;
        font-size: 14px;
    }
}


/* ==========================================================
   Single-post Topics — v0.3.1
   ========================================================== */

.arcanovia-post-topics {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
    margin: 28px 0 8px;
    padding-top: 18px;
    border-top: 1px solid #ececf0;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

.arcanovia-post-topics-label {
    font-weight: 700;
    color: #222222;
}

.arcanovia-post-topics-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: baseline;
}

.arcanovia-post-topics a {
    color: #6f3ad6;
    font-weight: 600;
    text-decoration: none;
}

.arcanovia-post-topics a:hover,
.arcanovia-post-topics a:focus {
    text-decoration: underline;
}

.arcanovia-post-topics-separator {
    color: #999999;
}

@media screen and (max-width: 600px) {
    .arcanovia-post-topics {
        margin-top: 24px;
        font-size: 12px;
    }
}


/* ==========================================================
   Post and page heading hierarchy — v0.3.4
   ========================================================== */

/*
 * Main content sections should normally use H2.
 * H3 remains available for subsections and is deliberately smaller.
 * The same hierarchy is applied to single posts and ordinary WordPress
 * Pages so editorial and informational content share one type system.
 * More space is placed above headings than below them so each heading
 * clearly introduces the section that follows.
 */
.single .post-page-content h2,
.page article[id^="page-"] .post-page-content h2 {
    margin: 1.7em 0 0.65em;
    font-family: "Montserrat", sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
}

.single .post-page-content h3,
.page article[id^="page-"] .post-page-content h3 {
    margin: 1.75em 0 0.65em;
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.single .post-page-content h2:first-child,
.single .post-page-content h3:first-child,
.page article[id^="page-"] .post-page-content h2:first-child,
.page article[id^="page-"] .post-page-content h3:first-child {
    margin-top: 0;
}

@media screen and (max-width: 768px) {
    .single .post-page-content h2,
    .page article[id^="page-"] .post-page-content h2 {
        font-size: 23px;
        margin-top: 1.6em;
    }

    .single .post-page-content h3,
    .page article[id^="page-"] .post-page-content h3 {
        font-size: 20px;
        margin-top: 1.65em;
    }
}
