/* ----------------------------------------- */
/* 1. GLOBAL TEXT HYPERLINKS                 */
/* ----------------------------------------- */
.elementor-widget-theme-post-content a,
.elementor-widget-text-editor a,
#atomic-paragraph a,
#atomic-paragraph a * {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: #C26D50 !important; 
    text-decoration: none !important; 
    text-underline-offset: 3px !important;
    transition: color 0.2s ease !important;
}

.elementor-widget-theme-post-content a:hover,
.elementor-widget-text-editor a:hover,
#atomic-paragraph a:hover,
#atomic-paragraph a:hover * {
    color: #333 !important; 
}





/* --- MY LIKE BUTTON --- */
.my-custom-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    cursor: pointer;
    font-size: 1.25rem;
    color: #C26D50!important; 
    transition: all 0.2s ease-in-out;
}

.my-custom-like-btn .like-heart-icon {
    transition: transform 0.2s ease, stroke 0.2s ease;
}

/* Hide the shining icon by default */
.my-custom-like-btn .icon-liked {
    display: none;
}

/* Hover state colors */
.my-custom-like-btn:hover .like-heart-icon {
    transform: scale(1.15);
    stroke: #C26D50; 
}

/* Clicked (liked) state - Text Color */
.my-custom-like-btn.liked {
    color: #C26D50 !important; 
}

/* Clicked (liked) state - Icon Swap */
.my-custom-like-btn.liked .icon-unliked {
    display: none; /* Hide default icon */
}

.my-custom-like-btn.liked .icon-liked {
    display: block; 
    stroke: #C26D50 !important; 
    /* The forwards property locks the icon at the 100% keyframe size when finished */
    animation: icon-pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
/*heart pop animation effect*/

@keyframes icon-pop {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.4); opacity: 1; }
    100% { transform: scale(1.2); } /* Matches your preferred resting scale */
}

/*END LIKE BUTTON*/


/*---SOCIAL ICONS CUSTOM---*/
/* The container holding the icons */
        .social-icon-group {
            display: flex;
            justify-content: center;
            gap: 20px; 
            background: white;
            padding: 10px 10px;
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        /* The default state of the icons */
        .social-icon-link {
            font-size: 2rem !important;
            color: #9EA6B6;
            transition: all 0.3s ease-in-out;
            text-decoration: none;
        }
        /* The hover state */
        .social-icon-link:hover {
            color: #C26D50!important;
            transform: translateY(-5px) scale(1.1); 
            /*rotate(15deg) <----kind of cool effect but prefer the transform and scale*/
        }
        
         /*---transparent group container---*/
        .social-icon-group-2 {
          display: flex;
          justify-content: center;
          align-items: center;
            gap: 20px; 
            background: transparent;
            padding: 10px 10px;
        }
        /*---larger footer icons---*/

             /* The default state of the footer icons */
        .footer-icon-link {
            font-size: 40px!important;
            color: #1b2d45!important;
            transition: all 0.3s ease-in-out;
            text-decoration: none;
        }
            /*footer icon hover*/
        .footer-icon-link:hover {
            color: #C26D50!important;
            transform: translateY(-5px) scale(1.1); 
                        /*rotate(15deg)*/
        }
               /* The default state of the footer icons */
        .light-footer-icon-link {
            font-size: 40px!important;
            color: #DFE2E6!important;
            transition: all 0.3s ease-in-out;
            text-decoration: none;
        }
            /*footer icon hover*/
        .light-footer-icon-link:hover {
            color: white!important;
            transform: translateY(-5px) scale(1.1); 
                        /*rotate(15deg)*/ 
        }   
/*header icon for blog menu*/
             .header-icon-link {
            font-size: 40px!important;
            color: #6B7280!important;
            transition: all 0.3s ease-in-out !important;
            text-decoration: none;
        }
            /*footer icon hover*/
        .header-icon-link:hover {
            color: #C26D50!important;
            transform: translateY(-5px) scale(1.1) !important; 
                        /*rotate(15deg)*/
        }


        
         /*LIGHT "READ MORE" STYLE ICON*/
         /* The default state of the icons */
        .social-icon-light-link {
            font-size: 1.2rem !important;
            color: #6B7280!important;
            transition: all 0.3s ease-in-out;
            text-decoration: none;
        }

        /* The hover state */
        .social-icon-light-link:hover {
            /*color: #C26D50;*/
            color: #1b2d45!important;
            transform: translateY(-5px) scale(1.1); 
                        /*rotate(15deg)*/
        }
        /*----TEXT WITH ICON----*/
        
        .text-icon-group {
          display: flex;
          justify-content: center;
          align-items: center;
            gap: 20px; 
            background: transparent;
            padding: 10px 10px;
            font-family: 'Lato', sans-serif;
        font-size: 0.8rem;
        color: #6B7280!important;
        
        }
        
        .text-icon-link {
        font-family: 'Lato', sans-serif;
        color: #6B7280!important;
        font-size: 0.8rem;
        text-decoration: none;
        transition: all 0.3s ease-in-out;
       
        }
        


        .text-icon-link:hover {
            color: #C26D50!important;
            transform: translateY(-5px) scale(1.1); 
        }

        .light-icon {
            color:white;
            font-size: 2rem;

        }


/*END SOCIAL ICONS CUSTOM CSS*/


/* --- NATIVE SHARE BUTTON --- */
.my-share-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    font-family: inherit !important;
    color: #6B7280 !important; 
    transition: all 0.2s ease !important;
}

.my-share-btn:hover {
    color: #C26D50 !important;
    transform: translateY(-2px) !important;
}

/* Forces the Iconoir icon to change color alongside the text */
.my-share-btn:hover i {
    color: #C26D50 !important; 
}

/* --- BACKGROUND WATERMARK NUMBER --- */
.bg-watermark-number {
    position: absolute;
    top: -20%; /* Adjust to shift up or down */
    right: -5%; /* Pushes it to the right edge */
    font-size: 19rem; /* Makes it massive */
    color: #9EA6B6; /* Use your brand grey/accent */
    opacity: 0.15; /* Makes it incredibly subtle */
    z-index: 0; /* Pushes it behind the text */
    pointer-events: none; /* Stops it from blocking text highlighting or clicks */
    line-height: 1;
}

/* ========================================= */
/* MAGAZINE POST TEMPLATE LAYOUT             */
/* ========================================= */

/* 1. RESTORE NATIVE GUTENBERG COLUMNS */
body .magazine-post-content .wp-block-columns {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 2rem;
    margin-bottom: 2rem;
}

body .magazine-post-content .wp-block-column {
    flex: 1 1 0% !important;
    min-width: 0; 
}

@media (max-width: 767px) {
    body .magazine-post-content .wp-block-columns {
        flex-wrap: wrap !important;
    }
    body .magazine-post-content .wp-block-column {
        flex-basis: 100% !important;
    }
}

/* 2. OVERRIDE WORDPRESS NATIVE DROP CAP */
body.single-post p.has-drop-cap:not(:focus)::first-letter,
body.single-post p.has-drop-cap::first-letter {
    font-family: inherit !important;
    font-size: 3.8em !important; 
    font-weight: 700 !important; 
    color: #333 !important; 
    float: left !important;
    line-height: 0.8 !important; 
    margin-right: 10px !important; 
    margin-top: 6px !important;
    padding: 0 !important;
    background: transparent !important;
}

/* 3. OVERRIDE WORDPRESS NATIVE BLOCKQUOTE */
body.single-post blockquote.wp-block-quote,
body.single-post blockquote.wp-block-quote.is-layout-flow {
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: 4px solid #C26D50 !important; 
    padding: 0 0 0 1.5rem !important; 
    margin: 2rem 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body.single-post blockquote.wp-block-quote p,
body.single-post blockquote.wp-block-quote.is-layout-flow p.wp-block-paragraph {
    font-family: inherit !important;
    font-weight: 700 !important;
    font-size: 1.4rem !important;
    line-height: 1.6 !important;
    color: #333 !important;
    font-style: normal !important; 
    margin-bottom: 0 !important;
}

/* 4. MAGAZINE DESKTOP PULL-QUOTE FLOAT */
@media (min-width: 768px) {
    body.single-post blockquote.wp-block-quote,
    body.single-post blockquote.wp-block-quote.is-layout-flow {
        float: right !important;
        width: 45% !important;
        margin: 0.5rem 0 2rem 2rem !important; /* Creates breathing room around the quote */
    }
}

/* Prevents inline images from overlapping the floated quote */
body.single-post .wp-block-image,
body.single-post figure {
    clear: both !important;
}

/* ========================================= */
/* FEATURED IMAGE STYLING                    */
/* ========================================= */
/*.magazine-featured-image img {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Optional: adds a very subtle lift */
/*}*/


/* ========================================= */
/* TL;DR EXECUTIVE SUMMARY BOX               */
/* ========================================= */
.magazine-tldr-box {
    background-color: #F8F9FA !important; /* Soft light grey background */
    border-left: 4px solid #1b2d45 !important; /* Navy left border */
    padding: 1.5rem 2rem !important;
    margin: 2rem 0 !important;
    border-radius: 0 12px 12px 0 !important;
}

/* Style the TL;DR Heading */
.magazine-tldr-box h2,
.magazine-tldr-box .elementor-heading-title {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
    color: #1b2d45 !important; /* Orange accent color */
}

/* Style the summary text */
.magazine-tldr-box p {
    margin-bottom: 0 !important;
    font-size: 1.0rem !important;
    line-height: 1.6 !important;
    color: #333 !important;
    font-style: italic !important;
}

/* General alignment adjustments */
.side-dot-nav .elementor-icon-list-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Change to flex-start if navigation is on the left */
    margin-bottom: 15px;
    cursor: pointer;
}

/* Base style for icons (dots) */
.side-dot-nav .elementor-icon-list-icon i {
    color: #DFE2E6 !important; /* Default non-active dot colour */
    font-size: 10px !important; /* Default non-active size */
    transition: all 0.3s ease !important; /* Smooth transition animation */
}

/* ACTIVE and HOVER Styles for the Icon */
.side-dot-nav .elementor-icon-list-item.active-dot .elementor-icon-list-icon i,
.side-dot-nav .elementor-icon-list-item:hover .elementor-icon-list-icon i {
    color: #C26D50 !important; /* Active/Hover colour (Change to match your theme) */
    transform: scale(1.5) !important; /* Enlarges the dot when active or hovered */
}

/* Base style for labels (Hidden by default) */
.side-dot-nav .elementor-icon-list-text {
    opacity: 0;
    visibility: hidden;
    padding-right: 12px; /* Gap between text and dot; change to padding-left if nav is on the left */
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #DFE2E6 !important; /* Label text colour */
    transition: all 0.3s ease !important;
    white-space: nowrap;
}

/* Show the label on HOVER */
.side-dot-nav .elementor-icon-list-item:hover .elementor-icon-list-text {
    opacity: 1;
    visibility: visible;
}

/* Hide the entire side navigation container on mobile and tablet screens */
@media (max-width: 1024px) {
    .side-dot-nav, 
    .side-dot-nav-container { /* Replace with your fixed container's custom class if applicable */
        display: none !important;
    }
}
