.main-container {
    display: flex;
    width: 100%;
    gap: 3rem;
}

.main-left {
    flex: 1;
}

.main-right {
    width: 320px;
    flex-shrink: 0;
}

.sticky {
    position: sticky;
    top: 120px;
}

#breadcrumb_mobile {
  display: none;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    column-gap: 3rem;
    row-gap: 3rem;
    padding-bottom: 3rem;
}

.grid-column {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.grid-column:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.talkabout-1:hover {
    background: #fef5f0;
}

.talkabout-2:hover {
    background: #f0f9f4;
}

.talkabout-3:hover {
    background: #f7f5f2;
}

.talkabout-4:hover {
    background: #fef9f0;
}

.grid-item-top {
    position: relative;
    aspect-ratio: 6 / 3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-item-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.talkabout-heading {
    text-align: left;
    font-size: 1.5rem;
    color: #2c3e50;
    padding: 0.8rem 1rem 0.4rem 1rem;
    font-weight: 400;
    line-height: 1.3;
}

.grid-item-bottom {
    padding: 0 1rem 1rem 1rem;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.grid-item-bottom p {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.grid-item-bottom ul {
    margin: 0 0 1rem 0;
    padding-left: 0;
    list-style: none;
}

.grid-item-bottom ul li {
    padding: 4px 0 4px 22px;
    position: relative;
    line-height: 1.4;
}

.grid-item-bottom ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1em;
}

.talkabout-1 ul li:before {
    color: #e67e22;
}

.talkabout-2 ul li:before {
    color: #27ae60;
}

.talkabout-3 ul li:before {
    color: #8b6f47;
}

.talkabout-4 ul li:before {
    color: #f39c12;
}

/* Mobile: Single column */
@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Tablet: 2x2 grid */
@media (min-width: 601px) and (max-width: 1120px) {
    .grid-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .main-container {
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .main-container {
        flex-direction: column;
        gap: 1rem;
    }

    /* Hide the sidebar completely */
    .main-right {
        display: none;
    }

    #breadcrumb_mobile {
        display: block;
        padding-bottom: 0.5rem;
    }

    h1 {
        margin-bottom: 0.5rem;
    }
}





.two-col {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin: 0.5rem;
}

.two-col-img {
    flex: 4;
    min-width: 0;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.two-col-img a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.two-col img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.two-col-text {
    flex: 7;
}

.ribbon {
    position: absolute;
    top: 15px;
    left: -100px;
    width: 280px;
    background: #444;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    padding: 10px 0;
    transform: rotate(-45deg);
    letter-spacing: 2px;
    text-align: center;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);

}

.card {
    position: relative;
    overflow: hidden;
    margin: 2rem auto;
}

.line {
    border-bottom: 1px dashed #DDD;
    margin: 2rem 0;
}

@media (max-width: 499px) {
    .two-col {
        margin: 0;
        flex-direction: column;
    }

    .two-col-img {
        max-width: 100%;
        flex: none;
        width: 100%;
    }
}


.handbook {
    padding: 1rem 1rem 0 1rem;
    border: 1px solid #ddd;
    background-color: #dddddd33;
    border-radius: 8px;
}

.resources figure {
  margin: 2rem 0;
  text-align: center;
}

.resources figure img {
  display: block;
  margin: 0 auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.resources figcaption {
  margin-top: 0.75rem;
  font-style: italic;
  color: #666;
  font-size: 0.9rem;
}
