:root {
  --my-primary: #023047; /* dark blue */
  --my-secondary: #FFB703; /* bright orange/yellow*/
  --my-third: #219EBC;  /* bright blue */
  --my-third-30t: rgba(33,158,188,0.3);  /* bright blue 30% transperent*/
  --my-shadow-third: rgba(45,115,145,0.15);

  --my-dark: #219EBC;
  --my-midi: #F7F3E9; /* parchment */
  --my-light: #FFEBD6;
  
  --my-light-blue: #42F0F0;
  
  --btn-pastel: rgba(45,115,145,0.15);   /* light pastel */
  --btn-pastel-border: rgba(45,115,145,0.35);
  --btn-pastel-hover: rgba(45,115,145,0.25);

  --teal-main: #6BA8A9;
  --teal-dark: #568D8E;      /* good for text on pastel backgrounds */
  --teal-light: #DDEEEE;     /* pastel background or hover */
  --teal-pastel: rgba(107,168,169,0.15);  /* subtle tint */
  --title-color: #1F4B4C;
  --text-color: #1F4B4C;
  
  --crochet-logo: #FF6B6B;
}


body {
    font-family: 'Ovo', serif; /* body text */
    font-size: 1.25rem;
    
}

h1, h2, h3, h4, h5, h6, a, .btn, .navbar-brand {
    font-family: 'Montserrat', sans-serif; /* headings */
    color: var(--title-color);
    text-decoration: none;
}

.text-pc{
    color: var(--my-primary) !important;
}

.text-sc{
    color: var(--my-secondary) !important;
}

.text-tc{
    color: var(--my-third) !important;
}

.text-lc{
    color: var(--crochet-logo) !important;
}

.text-shadow-pc{
    text-shadow: 1px 1px 1px var(--teal-main);
}

.text-shadow-sc{
    text-shadow: 1px 1px 1px var(--teal-dark);
}

.text-shadow-tc{
    text-shadow: 1px 1px 1px var(--teal-light);
}

.text-shadow-tc:hover a{
    text-shadow: 1px 1px 1px var(--my-secondary);
}

.text-justify {
    text-align: justify;
    line-height: 1.55;
}

.fc-logo{
    color: var(--crochet-logo);
    line-height: 1.2;
    font-size: calc(1.425rem + 2.1vw);
    font-weight: 700;
    text-shadow: 1px 1px 1px var(--teal-dark);
}

.text-small-m{
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif; /* headings */
}

.ff-montserrat{
    font-family: 'Montserrat', sans-serif; /* headings */
}

.ff-huricane{
    font-family: 'Hurricane', cursive; /* body text */
}

.ff-huricane{
    font-family: 'Hurricane', cursive; /* body text */
}

.ff-ovo{
   font-family: 'Ovo', serif; /* body text */
}

.ff-handlee{
   font-family: "Handlee", cursive;
}

.fs-6{
    font-size: 1rem;
}

.fs-7{
    font-size: 0.9rem;
}

.fs-8{
    font-size: 0.8rem;
}

.display-5 {
    font-weight: 400;
    line-height: 1.2;
    font-size: calc(1.425rem + 2.1vw);
}

.bg-img{
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)),
        url("/images/crochet-moments-hero-banner.jpg");
}

.bg-pill {
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--teal-pastel);   /* very soft teal background */
    color: var(--teal-dark);                 /* readable text */
    border: 1px solid var(--teal-main);     /* subtle border */
    padding: 0.35rem 0.8rem;                /* comfortable pill padding */
    border-radius: 50rem;                   /* fully rounded pills */
    transition: all 0.25s ease;             /* smooth hover effect */
    display: inline-block;
    text-decoration: none;                  /* remove underline if a link */
    transition: 
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.15s ease;    /* NEW nicer hover feel */
}

.bg-pill:hover {
    background-color: var(--crochet-logo);
    color: #fff;
    border-color: var(--teal-dark);
    transform: translateY(-2px);   /* slight lift = better UX */
}

.bg-body-white{
    background-color: #FFFFFF !important;
}

.hero-banner {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)),
        url("/images/crochet-moments-hero-banner.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 3rem 0;
    text-align: center;
    border-top: 2px solid var(--crochet-logo);
    border-bottom: 2px solid var(--crochet-logo);
}

.bg-hero h1{
    color: var(--my-primary);
    font-size: 2rem; 
    line-height: 1.2;    
    text-shadow: 0 0 1px var(--my-third);
    font-weight: 500;
    letter-spacing: 4px;
    font-size: 4.5rem;
}

.social-link {
    transition: transform 0.25s ease, color 0.25s ease; /* already present */
    display: inline-block; /* ensures transform works correctly */
}

.social-link.instagram:hover { 
    color: #E1306C; 
    transform: scale(1.15); 
}
.social-link.pinterest:hover { 
    color: #BD081C; 
    transform: scale(1.15); 
}
.social-link.webpage:hover { 
    color: #007bff; 
    transform: scale(1.15); 
}
.social-link.youtube:hover { 
    color: #FF0000; 
    transform: scale(1.15); 
}


.category-hint {
    font-family: 'Ovo', serif;
    color: var(--teal-dark);
    background-color: var(--teal-pastel);
    border: 1px dashed var(--teal-main);
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.category-hint strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--crochet-logo);
}



.navbar-brand img {
    height: 50px;
}






.social-icons {
    list-style: none;
    display: flex;          /* horizontal layout */
    gap: 20px;              /* space between icons */
    padding: 0;
    margin: 0;
    color: var(--my-third);
}

.social-icons li a {
    display: inline-flex; /* or flex */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-shadow: 1px 1px 1px var(--my-primary);
    color: var(--my-secondary);
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect: color + scale + shadow */
.social-icons li a:hover {
    transform: scale(1.1);       /* slightly bigger */
    color:  var(--my-third);
}


.btm-skewed {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 400px;
  background: var(--my-midi);
  z-index: -1;
  transform: skewY(3deg);
  transform-origin: top right;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);

}

.menu-top {
    font-size: inherit;
    font-weight: 400;
    color: var(--title-color);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.25s ease, text-shadow 0.25s ease;
    position: relative;
    padding-bottom: 2px; /* space for underline animation */
}

.menu-top::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--teal-main);
    transition: width 0.25s ease;
}

.menu-top:hover {
    color: var(--crochet-logo);
}
/*-var(--teal-main);*/

.menu-top:hover::after {
    width: 100%;
}

.menu-top .icon-bright {
    color: var(--title-color);
    transition: color 0.25s ease;
}


.menu-top:hover .icon-bright {
    color: var(--teal-main);
    transform: scale(1.1);   /* slightly bigger */
}

.icon-midi {
    color:  var(--my-midi);
}

.article-container {
    display: flex;
    align-items: center;  /* <-- THIS vertically centers BOTH items */
    gap: 1.5rem;          /* spacing between image + text box */
}

.article-section {
  background-color: #FFFFFF;
}

.article-figure {
    position: relative;
    margin: 0;         /* remove default <figure> margins */
    flex: 1 1 auto;    /* allow image area to size naturally */
    display: inline-block;
}

.polaroid-caption {
    position: absolute;
    font-family: "Handlee", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
    letter-spacing: 1.4px;
    bottom: 15px;        /* space from bottom of the white border */
    left: 20px;
    transform: none;
    color: #444;
    font-style: italic;
    max-height: 40px;    /* fits your requirement */
    text-align: left;
    width: calc(100% - 60px); /* leave 10px padding on both sides */
    pointer-events: none;
    transform: rotate(-2deg); /* keep the Polaroid tilt */
}

.article-image {
    width: auto;               /* let width scale proportionally */
    max-width: 100%;           /* never exceed container width */
    max-height: 400px;         /* limit height */
    object-fit: cover;         /* crop or scale to fill nicely */
    display: block;
    border-color: #FFFFFF;
    border-style: solid;
    border-width: 10px 10px 60px 10px; /* 20px top and bottom, 5px on the sides */
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: rotate(-2deg);
}

.article-overlay {
    position: relative;     /* let it flow normally */
    max-width: 50%;       /* optional: keep text box narrower */
    background-color: #ffffff;
    border: 10px solid var(--teal-pastel);
    border-radius: 3px;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.15);
}



.article-overlay h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.article-overlay h3, .main-overlay h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color:  var(--title-color);
}

.article-overlay p {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.article-overlay a {
  font-size: 0.95rem;
  text-decoration: none;   /* remove underline if you want */     
}

.article-overlay a:hover {
    text-decoration: underline;
     
}


.button-wrapper {
    background-color: var(--teal-pastel);/* pastel background behind button */
    padding: 6px 10px;
    text-align: left;                    /* button aligned to right */

}


.pattern-info {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    border: 1px solid var(--teal-light); /* thin border */
    border-radius: 0px;
    padding: 10px 15px;
    background-color: #fff;
}

.pattern-info strong {
    margin-right: 8px;
    color: var(--teal-dark);
    display: inline-block;
    width: 140px;
}

.difficulty,
.time-needed,
.popularity {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    white-space: nowrap;
}

.difficulty-icon-group,
.time-icon-group,
.pop-icon-group {
    display: inline-block; /* keeps icon group aligned next to label */
    white-space: nowrap;   /* prevents icons from splitting into lines */
}

.difficulty-icons i,
.time-icons i,
.pop-icons i{
    flex-shrink: 0;      /* prevents icons from shrinking */
    margin-right: 4px;
    color: #ccc;             /* default inactive gray */
}

.difficulty-icons i.active,
.time-icons i.active,
.pop-icons i.active{
    color: var(--teal-dark); /* highlighted teal */
}


a.h3-link {
    font-size: inherit;
    font-weight: 600;
    color: var(--title-color);
    text-decoration: none !important;
    letter-spacing: 0.3px;
    transition: color 0.25s ease, text-shadow 0.25s ease;
    position: relative;
    padding-bottom: 2px; /* space for underline animation */
}

/* Animated underline + hover color */
a.h3-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--teal-main);
    transition: width 0.25s ease;
}

a.h3-link:hover {
    color: var(--teal-main);
}

a.h3-link:hover::after {
    width: 100%;
}

.read-more-btn {
    display: inline-block;
    padding: 5px 8px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 2px;
    text-decoration: none;
    background-color: var(--teal-dark);
    color: #FFFFFF;
    border: 1px solid var(--teal-main);;
    transition: all 0.1s ease;
}

.read-more-btn:hover {
    background-color: rgba(45,115,145,0.12); /* soft tint */
    color: rgb(30,80,100);
}





/* Shared card style for all posts */
.card-teal {
    background-color: #ffffff;
    border: 2px solid var(--teal-pastel); /* subtle teal border */
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); /* soft shadow */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect: lift card slightly */
.card-teal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

.main-article-link{
    font-family: 'Ovo', serif; /* body text */
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--text-color);
    text-decoration: none;
    display: block; 
    transition: color 0.25s ease;
}

.main-article-link:focus {
    outline: 2px solid var(--teal-main);
    outline-offset: 2px;
}

.main-article-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--title-color);
    margin-bottom: 0.5rem;
    position: relative;            /* needed for ::after */
    letter-spacing: 0.3px;
    padding-bottom: 2px;           /* space for underline animation */
    text-decoration: none;          /* remove default underline */
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

/* Animated underline */
.main-article-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--teal-main);
    transition: width 0.25s ease;
}

/* Hover on the link triggers title animation */
.main-article-link:hover .main-article-title {
    color: var(--teal-main);
    text-shadow: 0 0 2px rgba(107,168,169,0.5);
}

.main-article-link:hover .main-article-title::after {
    width: 100%;
}

.main-article .main-overlay {
    font-family: 'Ovo', serif; /* body text */
    background-color: rgba(255,255,255,0.95); /* slightly translucent overlay */
    padding: 1rem 1.25rem;
    border: 2px solid var(--teal-pastel);
    border-radius: 6px;
}

.main-article-img {
    width: 100%;
    height: auto;       /* maintain natural aspect ratio */
    border: 4px solid #ffffff;
    border-radius: 6px;
    display: block;
}

.category-suggest-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.category-suggest-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}


/* Category Suggestion List - left border hover effect */
.category-suggest-list a {
    font-family: 'Montserrat', sans-serif;
    color: var(--teal-dark);
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-left: 4px solid transparent;  /* default transparent */
    transition: color 0.25s ease, background-color 0.25s ease, border-left-color 0.25s ease;
    display: inline-block;              /* ensures border works nicely */
}

.category-suggest-list a:hover {
    background-color: var(--crochet-logo);
    border-left-color: var(--teal-main);  /* left border appears */
    color: #FFFFFF;
}



.breadcrumb-container {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background: transparent;        /* no background */
    padding: 0.5rem 0;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\203A";                  /* separator */
    margin: 0 0.4rem;
    color: var(--teal-main);
    font-weight: 600;
}

.breadcrumb-item a {
    text-decoration: none;
    color: var(--teal-dark);
    transition: color 0.25s ease;
    font-size: 1.25rem;         /* slightly larger than current page text */
    font-weight: 400;        /* emphasizes links */
}

.breadcrumb-item a:hover {
    color: var(--teal-main);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--title-color);       /* plain text for current page */
    font-weight: 500;
    font-size: 0.95rem;      /* slightly smaller than links */

}

.category-card {
    background-color: #ffffff;
    border: 1px solid var(--teal-pastel);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    position: relative;
    cursor: pointer;
}
/* transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;*/
/*    transform: translateY(-2px);*/
.category-card:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
    border: 1px solid var(--teal-main);
}

/* Make the full link cover the whole card */
.full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* Image container */
.category-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0; /* aligns with card corners */
}


.category-card:hover .img-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Card content */
.category-card-content {
    position: relative;
    z-index: 2; /* above the full-link */
}

.category-card-content h3 {
    position: relative;         /* needed for ::after */
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--title-color);
    margin-bottom: 0.5rem;
    transition: color 0.25s ease;
}

.category-card-content h2 {
    position: relative;         /* needed for ::after */
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--title-color);
    margin-bottom: 0.5rem;
    transition: color 0.25s ease;
}


/* Create underline with ::after */
.category-card-content h3::after, .category-card-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: var(--teal-main);
    transition: width 0.25s ease;
}

/* Trigger on card hover */
.category-card:hover .category-card-content h3, .category-card:hover .category-card-content h2 {
    color: var(--teal-main);
}

.category-card:hover .category-card-content h3::after, .category-card:hover .category-card-content h2::after {
    width: 100%;
}

/* Text */
.category-card-content p {
    color: var(--text-color);
    font-size: 0.95rem;
}



/* Make the column a flex container */
.category-card > .col-md-4.position-relative {
    display: flex;
    align-items: center;       /* vertically centers content */
    justify-content: flex-start; /* aligns image to left, change to flex-end for right */
    padding-left: 1rem;        /* horizontal padding */
    padding-right: 1rem;       /* horizontal padding */
    position: relative;
}

/* Optional: ensure image scales nicely */
.category-card > .col-md-4.position-relative img {
    max-width: 100%;           /* full column width if needed */
    height: auto;              /* keep aspect ratio */
    display: block;
}

/* Keep overlay in center of the image */
.img-overlay {
    position: absolute;
    top: 50%;                  /* vertical center */
    left: 50%;                 /* horizontal center */
    transform: translate(-50%, -50%);
    color: var(--teal-main);
    font-size: 2rem;
    pointer-events: none;
}



.blog-post {
    background-color: #ffffff;               /* clean white background */
    border: 2px solid var(--teal-pastel);   /* soft teal border */
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-post:hover {
    /*transform: translateY(-3px);*/
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.article-summary {
    background-color: var(--teal-pastel); /* very soft teal */
    border-left: 4px solid var(--teal-main); /* accent */
    border-radius: 6px;
    line-height: 1.6; /* better readability */
}
.article-summary strong {
    color: var(--teal-dark);
}

.blog-post h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 2.5rem;
    color: var(--title-color);
    margin-bottom: 0.5rem;
}

.blog-post h2, .blog-post h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--teal-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post h3 {
    position: relative;
    padding-bottom: 3px;
}

.blog-post h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--teal-main);
    transition: width 0.25s ease;
}

.blog-post h3:hover::after {
    width: 100%;
}

.blog-post p {
    font-family: 'Ovo', serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.blog-post p.text-muted {
    font-size: 0.95rem;
    color: var(--teal-dark);
    font-style: italic;
}


.article-figure-blog {
    margin: 2rem 0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.article-image-blog {
    width: 100%;
    height: auto;
    display: block;
}

.article-caption-blog {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--teal-dark);
    padding: 0.5rem 0;
    background-color: var(--teal-pastel);
}
.blog-post .badge {
    font-size: 0.95rem;
    font-weight: 500;
    background-color: var(--teal-pastel);
    color: var(--teal-dark);
    border: 1px solid var(--teal-main);
    padding: 0.35rem 0.8rem;
    border-radius: 50rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.blog-post .badge:hover {
    background-color: var(--teal-main);
    color: #fff;
    border: 1px solid var(--teal-main);
}


.blog-post a {
    color: var(--teal-dark);
    text-decoration: none;
    transition: color 0.25s ease;
}

.blog-post a:hover {
    color: var(--teal-main);
    text-decoration: underline;
}



/* Wrapper for recent posts section */
.recent-posts-section {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

/* Heading */
.recent-posts-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    color: var(--teal-dark);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Individual small article */
.small-article {
    background-color: #ffffff;
    border: 2px solid var(--teal-pastel); /* pastel teal border */
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); /* soft shadow */
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
    position: relative;
}

/* Lift effect on hover */
.small-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
    border-color: var(--teal-light);
}

/* Article title */
.small-article-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.0rem;
    color: var(--title-color);
    margin-bottom: 0.5rem;
    transition: color 0.25s ease;
}

/* Title hover effect */
.small-article:hover .small-article-title {
    color: var(--teal-main);
}

/* Images inside articles */
.small-article img {
     width: calc(100% - 10px);      /* full width minus horizontal margin */
    height: auto;                   /* maintain aspect ratio */
    border-radius: 3px;             /* match card border-radius */
    display: block;
    margin: 5px;                     /* adds a bit of spacing around the image */
}

/* Optional spacing inside article content */
.small-article p {
    font-family: 'Ovo', serif;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 0.95rem;
}















.sidebar-box {
    padding: 1rem;               
    margin-bottom: 1.5rem;       
    background-color: #ffffff;
    border: 2px solid var(--teal-pastel);   /* pastel teal border */
    border-radius: 6px;                     /* smooth corners */
    box-shadow: 3px 3px 8px rgba(0,0,0,0.12);
}

.sidebar-title {
    color: var(--teal-main);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.3px;
}

.sidebar-quote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-muted, #555);
    line-height: 1.5;
    border-left: 3px solid var(--teal-pastel);
    padding-left: 10px;
}

.sidebar-text a {
    color: var(--crochet-logo);
    font-weight: 400;
    text-decoration: none;
}

.sidebar-text span {
    color: var(--crochet-logo);
    font-weight: 400;
    text-decoration: none;
}

.sidebar-text a:hover {
    text-decoration: underline;
}

/* Wrapper for the category list */
.category-list li {
    margin: 0.4rem 0;
}

/* Style links */
.category-list a {
    display: block;                 /* makes hover area full width */
    padding: 6px 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;               /* stronger weight */
    color: var(--teal-dark);        /* darker teal for good contrast */
    border-left: 3px solid transparent;
    text-decoration: none;
    transition: all 0.25s ease;
    border-radius: 4px;
}

/* Hover effect */
.category-list a:hover {
    background-color: var(--teal-pastel);
    border-left-color: var(--teal-main);
    color: var(--teal-main);
}

/* Sidebar body text */
.sidebar-text {
    font-size: 1.10rem;
    font-family: 'Ovo', serif; /* body text */
    line-height: 1.55;
    color: var(--teal-dark);
    margin-bottom: 0.9rem;
}

/* Handwritten signature */
.my-hurricane {
    font-family: 'Hurricane', cursive; /* body text */
    color: var(--teal-main);
    opacity: 0.85;
}


















.read-more-link {
  color:  var(--my-secondary);        /* link color */
  text-decoration: none;   /* remove underline if you want */
  font-weight: 500;
  transition: color 0.3s ease;
}

.read-more-link i {
  margin-left: 5px;       /* space between text and icon */
  transition: transform 0.3s ease;
}

.read-more-link:hover {
    transform: scale(1.5);      ; /* slightly bigger */
    color:  var(--my-primary)
}

.read-more-link:hover i {
  transform: translateX(3px);  /* small arrow move on hover */
}

/* Top-right small title */
.top-right-title {
  position: absolute;
  font-family: 'Hurricane', cursive; /* body text */
  top: -10px;
  right: 15px;
  color: var(--my-primary);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 1.3px;
  text-shadow: 0 0 1px var(--my-third);
  z-index: 10; /* ensure it's above image and overlay */
}

/* Top-right small title */
.my-huricane {
  font-family: 'Hurricane', cursive; /* body text */
  top: -10px;
  right: 15px;
  color: var(--my-primary);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 1.3px;
  text-shadow: 0.5px 0.5px 1px var(--my-light);
  z-index: 10; /* ensure it's above image and overlay */
}


.add{
    background-color: var(--my-light);
    height: 100px;
}


.recent-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;         /* controls card height */
}

/* Background image */
.recent-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;        /* makes image behave like background */
  top: 0;
  left: 0;
}

/* Overlay on top of image */
.recent-overlay {
  position: absolute;
  bottom: 0;
  top: 20%;         /* 20% down from top */
  left: 10%;        /* 10% from left */
  right: 10%;       /* 10% from right */
  bottom: 20%;         /* 20% down from top */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,1) 50%,
    rgba(255,255,255,0.9) 100%
  );
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-radius: 3px;
  padding-bottom: 40px;
}

.read-more-article {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color:  var(--my-secondary);        /* link color */
    text-decoration: none;   /* remove underline if you want */
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more-article:hover {
    transform: scale(1.1);      ; /* slightly bigger */
    color:  var(--my-primary)
}
.main-article {
    position: relative; /* ensures the overlay is positioned relative to this card */
}

.main-article img {
    display: block;
    height: 400px;
    /*object-fit: cover;*/
}

.image-wrapper {
  position: relative;
}

.main-overlay h3{
    font-weight: 600;
    margin-bottom: 0.5rem;
    color:  var(--my-secondary);
    text-shadow: 1px 1px 1px var(--my-third);
}


.icon-circle {
    display: inline-flex;         /* needed for width/height to apply properly */
    align-items: center;          /* center the icon inside */
    justify-content: center;      /* center the icon inside */
    width: 120px;                  /* circle width */
    height: 120px;                 /* circle height */
    border: 1px solid var(--my-secondary);       /* 5px border */
    border-radius: 50%;           /* makes it a circle */
    padding: 10px;                /* optional, for spacing inside */
    box-sizing: border-box;       /* ensures border/padding are included in size */
    color: var(--my-secondary); 
    background: var(--my-midi); /* light background */
    
    box-shadow: 
        0 0 20px var(--my-secondary),
        0 6px 18px rgba(0,0,0,0.15); 

    transition: 
        transform 0.25s ease;
}

.icon-circle i {
    text-shadow:     
       0 1px 1px var(--my-primary);
}

.icon-circle:hover {
    box-shadow: 
        0 0 20px var(--my-third),
        0 6px 18px rgba(0,0,0,0.15); 
    color: var(--my-third); 
    border-color: var(--my-third);
}

.icon-circle-midi {
    display: inline-flex;         /* needed for width/height to apply properly */
    align-items: center;          /* center the icon inside */
    justify-content: center;      /* center the icon inside */
    width: 80px;                  /* circle width */
    height: 80px;                 /* circle height */
    border: 1px solid var(--my-third);       /* 5px border */
    border-radius: 50%;           /* makes it a circle */
    padding: 10px;                /* optional, for spacing inside */
    box-sizing: border-box;       /* ensures border/padding are included in size */
    color: var(--my-third); 
    background: #ffffff; /* light background */
    
    box-shadow: 
        0 0 10px var(--my-third),
        0 6px 10px rgba(0,0,0,0.15); 

    transition: 
        transform 0.25s ease;
}

.icon-circle-midi i {
    text-shadow:     
       0 1px 1px var(--my-primary);
}

.icon-circle-midi:hover {
    box-shadow: 
        0 0 20px var(--my-secondary),
        0 6px 10px rgba(0,0,0,0.15); 
    color: var(--my-secondary); 
    border-color: var(--my-secondary);
}

.sidebar {
    
    top: 100px;     /* distance from the top of the screen */
    align-self: flex-start;   /* prevents stretching inside Bootstrap rows */
    height: fit-content;      /* avoids the sidebar becoming full height */
    margin-bottom: 100px;
}

/*position: sticky;*/

.sidebar.is-sticky {
     border-left: 3px solid rgba(255, 160, 0, 0.35); /* soft orange/yellow */
}

.article-figure-blog {
    position: relative;       /* needed for figcaption absolute positioning */
    display: flex;
    justify-content: center;  /* horizontal center of the img */
    margin: 2rem 0;           /* optional spacing */
}

.article-figure-blog img.article-image-blog {
    display: block;
    max-width: 70%;
    height: auto;
    border-radius: 0.25rem;
    box-shadow: 
        1px 1px 5px var(--my-primary),
        0 6px 10px rgba(0,0,0,0.15); 
}

.article-caption-blog {
    position: absolute;
    bottom: 1rem;       /* distance from bottom */
    right: 0.5rem;        /* distance from right */
    background: #FFFFFF;
    color: var(--my-primary);
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
    border-radius: 0.15rem;
    border: 1px var(--my-third);
    box-shadow: 
        0 0 5px var(--my-primary),
        0 6px 10px rgba(0,0,0,0.15); 
    
}

.article-link-wrapper {
    position: relative;
}

.article-link-wrapper .stretched-link {
    position: absolute;
    inset: 0; /* top:0 right:0 bottom:0 left:0 */
    z-index: 5;
}





.browse-filters {
  background-color: var(--teal-pastel);
  padding: 0.75rem 0;
}

.browse-title {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--title-color);
}




.filter-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.filter-skill,
.filter-time {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-time {
  justify-content: flex-end;
}


.filter-label {
  font-weight: 600;
  color: var(--title-color);
}

.filter-btn {
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;

  background-color: var(--teal-light);
  color: var(--teal-dark);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.filter-btn:hover {
    background-color: var(--crochet-logo);
    color: #fff;
    border-color: var(--teal-dark);
    transform: translateY(-2px);   /* slight lift = better UX */
}

.filter-btn.active {
  background-color: var(--teal-dark);
  color: #fff;
}

.load-more-btn {
    font-size: 1.35rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;

    /* reverse colors */
    background-color: var(--teal-dark);
    color: #FFFFFF;
    border: 1px solid var(--teal-main);

    padding: 0.35rem 0.8rem;
    border-radius: 50rem;

    transition: all 0.25s ease;
    display: inline-block;
    text-decoration: none;

    cursor: pointer;
    user-select: none;
}

/* Hover state: swap colors */
.load-more-btn:hover {
    background-color: var(--teal-pastel);
    color: var(--teal-dark);
    transform: translateY(-1px);
}

/* Active state (click) */
.load-more-btn:active {
    transform: translateY(0px);
}

/* Disabled state */
.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}



.category-intro {
    position: relative;
    max-width: 900px;
    margin: 2rem auto 2.5rem;
    padding: 2.2rem 3rem;

    background: #fff;
    border: 2px solid var(--crochet-logo);
    border-radius: 20px;

    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.07);

    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.category-intro:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 30px rgba(0, 0, 0, 0.10);
}

.category-intro h1 {
    margin: 0 0 1rem;

    color: var(--title-color);
    font-size: 2.2rem;
    line-height: 1.2;
}

.category-intro p {
    max-width: 750px;
    margin: 0 auto;

    color: #555;
    font-size: 1.1rem;
    line-height: 1.75;
}

.category-intro-decoration {
    margin-bottom: 0.6rem;

    color: var(--crochet-logo);
    font-size: 1.7rem;
}



.site-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    background: #f8f8f6;
    border-top: 1px solid #e5e5e5;
    color: var(--text-color);
}

.footer-title {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--title-color);
}

.footer-text {
    max-width: 500px;
    line-height: 1.7;
    color: #666;
}

.footer-link {
    display: inline-block;
    margin-top: .25rem;
    color: var(--teal-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-link:hover {
    color: var(--crochet-logo);
}


/* Navigation links */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: .55rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--crochet-logo);
}


/* Social icons */

.footer-social {
    display: flex;
    gap: .75rem;
    margin-top: 1.25rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: #fff;
    color: var(--teal-dark);

    border: 1px solid #ddd;

    text-decoration: none;

    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.footer-social a:hover {
    background: var(--crochet-logo);
    color: #fff;
    transform: translateY(-2px);
}


/* Bottom section */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 1rem;

    margin-top: 3rem;
    padding: 1.25rem 0;

    border-top: 1px solid #e2e2e2;

    font-size: .85rem;
    color: #777;
}

.footer-legal {
    display: flex;
    gap: 1.25rem;
}

.footer-legal a {
    color: #777;
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--crochet-logo);
}


.cookie-consent {
    position: fixed !important;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 99999;

    display: none;

    padding: 1.25rem 1.5rem;

    background: #fff;

    border: 1px solid var(--teal-light);
    border: 2px solid var(--crochet-logo);
    border-radius: 16px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cookie-consent.is-visible {
    display: block;
}


/* Logo on its own row */
.cookie-consent-image {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 1rem;
}

.cookie-consent-image img {
    display: block;
    height: 80px;
    object-fit: contain;
}


/* Text + buttons on the same row */
.cookie-consent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 2rem;
}

.cookie-consent-text {
    flex: 1;
    min-width: 0;
}

.cookie-consent-text h2 {
    margin: 0 0 0.5rem;
    color: var(--title-color);
    font-size: 1.2rem;
}

.cookie-consent-text p {
    margin: 0.35rem 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.55;
}

.cookie-consent-text a {
    color: var(--teal-dark);
    font-weight: 600;
    text-decoration: none;
}

.cookie-consent-text a:hover {
    color: var(--crochet-logo);
    text-decoration: underline;
}


/* Buttons */
.cookie-consent-buttons {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cookie-btn {
    border: none;
    border-radius: 999px;

    padding: 0.65rem 1.2rem;

    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;

    white-space: nowrap;
    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn-primary {
    background: var(--crochet-logo);
    color: #fff;
}

.cookie-btn-primary:hover {
    background: #e85c5c;
}

.cookie-btn-secondary {
    background: var(--teal-light);
    color: var(--teal-dark);
}

.cookie-btn-secondary:hover {
    background: var(--teal-main);
    color: #fff;
}




.contact-page {
    background: #fafcfc;
}

.contact-info {
    padding: 1rem 0;
}

.contact-info h2,
.contact-form-card h2 {
    margin-bottom: 1rem;
    color: var(--title-color);
}

.contact-info p {
    color: #666;
    line-height: 1.7;
}

.contact-info-note {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;

    background: #fff;
    border-left: 4px solid var(--crochet-logo);
    border-radius: 10px;

    color: #666;
    line-height: 1.6;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-card {
    padding: 2rem;

    background: #fff;

    border: 1px solid var(--teal-light);
    border-top: 4px solid var(--crochet-logo);

    border-radius: 18px;

    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.07);
}

.contact-form-card .form-label {
    font-weight: 600;
    color: var(--title-color);
}

.contact-form-card .form-control {
    padding: 0.75rem 0.9rem;

    border: 1px solid #d8dddd;
    border-radius: 10px;

    font-family: inherit;
}

.contact-form-card .form-control:focus {
    border-color: var(--teal-main);

    box-shadow: 0 0 0 0.2rem rgba(47, 143, 143, 0.12);
}

.contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1.5rem;
}

.contact-privacy {
    margin: 0;

    color: #777;
    font-size: 0.85rem;
    line-height: 1.5;
}

.contact-privacy a {
    color: var(--teal-dark);
    font-weight: 600;
    text-decoration: none;
}

.contact-privacy a:hover {
    color: var(--crochet-logo);
    text-decoration: underline;
}

.contact-submit {
    flex-shrink: 0;

    padding: 0.75rem 1.5rem;

    border: none;
    border-radius: 999px;

    background: var(--teal-dark);
    color: #fff;

    font-family: inherit;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-submit:hover {
    background: var(--crochet-logo);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}



.small-article-image {
    display: block;
    width: calc(100% - 10px);
    margin: 5px auto 0;

    border-radius: 12px;

    object-fit: cover;
}

.contact-success {
    border: 1px solid var(--teal-light);
    border-left: 4px solid var(--crochet-logo);
    border-radius: 12px;
    background: #fff;
    color: var(--title-color);
    margin-bottom: 100px;
}




.article-feedback {
    margin: 2rem 0 1rem;
    padding: 1.75rem 1.5rem;
    background: #f8fbfb;

    border: 1px solid var(--teal-light);  
    border-radius: 15px;

    text-align: center;
}

.article-feedback-inner {
    max-width: 700px;
    margin: 0 auto;
}

.article-feedback h2 {
    margin: 0 0 0.5rem;

    color: var(--title-color);
    font-size: 1.3rem;
}

.article-feedback-text {
    margin: 0 0 1.25rem;

    color: #666;
    line-height: 1.6;
}

.article-feedback-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.feedback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    min-width: 140px;

    padding: 0.7rem 1.25rem;

    border-radius: 999px;
    border: 1px solid transparent;

    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.feedback-btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

.feedback-btn-up {
    background: var(--teal-dark);
    color: #fff;
}

.feedback-btn-up:hover:not(:disabled) {
    background: var(--crochet-logo);
}

.feedback-btn-down {
    background: #fff;
    color: var(--teal-dark);
    border-color: var(--teal-main);
}

.feedback-btn-down:hover:not(:disabled) {
    background: var(--teal-light);
}

.feedback-btn:disabled {
    opacity: 0.55;
    cursor: default;
    transform: none;
}

.article-feedback-message {
    min-height: 1.5rem;
    margin: 1rem 0 0;

    color: var(--teal-dark);
    font-weight: 600;
}



.feedback-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 1.6rem;
    height: 1.6rem;

    padding: 0 0.4rem;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.25);

    font-size: 0.8rem;
    font-weight: 700;
}

.feedback-btn-down .feedback-count {
    background: var(--teal-light);
}



@media (max-width: 992px) {
    .article-container {
        flex-direction: column;
        align-items: center; /* ensures both elements center */
        text-align: center;  /* optional, for nicer headlines */
    }

    .article-overlay {
        max-width: 100%;
    }
    
    .article-image{
        transform: rotate(0deg);
        margin-left: auto;
        margin-right: auto;
    }    
}

@media (max-width: 768px) {

    .main-article-title {
        font-size: 1.25rem;
    }    
    .recent-card {
        min-height: auto; /* let it fit content naturally */
   }

    .recent-overlay {
        position: relative; /* stack inside card naturally */
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        border-radius: 12px 12px 0 0;
        box-shadow: none; /* optional: simpler on mobile */
        margin-top: 10px; /* space from image if you keep it visible */
    }

    .recent-image {
        position: relative; /* normal flow */
        height: auto;
    }
    
    .breadcrumb {
        font-size: 1rem; /* slightly smaller to fit mobile */
        flex-wrap: wrap; /* allow wrapping to next line if needed */
    }

    .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 0.25rem; /* less space between items */
    }

    .breadcrumb-item a {
        font-size: 1rem; /* keep links consistent */
    }
    
    .category-card {
        flex-direction: column !important;
    }
    .category-card-content h3 {
        text-align: left !important;
    }
    .category-card-content {
        padding: 1rem !important;
    }
    
    .site-footer {
        text-align: center;
    }

    .footer-text {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
    
      .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;

        padding: 1rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;

        gap: 1rem;
    }

    .cookie-consent-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
    
    .article-feedback {
        padding: 1.5rem 1rem;
    }

    .article-feedback-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .feedback-btn {
        width: 100%;
    }
}

