/* ABOUT.CSS */

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 40px;
    flex-wrap: wrap;
}

.about-text {
    flex: 2;
    min-width: 280px;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* UPDATED SPACING for h2 */
.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 32px; /* was 20px */
    color: #222;
}

/* UPDATED SPACING for h3 */
.about-text h3 {
    font-size: 1.4rem;
    margin-top: 34px;    /* new */
    margin-bottom: 16px; /* was 14px */
    color: #222;
}

/* NEW: spacing for paragraphs */
.about-text p {
    margin-bottom: 16px; /* new */
}

.about-photo {
    flex: 1.5;
    min-width: 240px;
    max-width: 700px;
}

.about-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.about-photo .image-caption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 8px;
}

#long-bio {
    margin: 40px 0;
    padding: 0 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#long-bio h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: #222;
}

#long-bio p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* Awards & Clients Section */
#awards-clients {
    margin: 60px 0;
}

.awards-clients-inner {
    background-color: #fafafa;
    padding: 40px 16px;
    border-radius: 8px;
}

#awards-clients h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    text-align: center;
}

/* Two-column layout */
.awards-clients-columns {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.awards-column,
.clients-column {
    flex: 1 1 300px;
    max-width: 500px;
}

.awards-column h3,
.clients-column h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: #222;
}

.awards-clients-list {
    list-style-type: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.awards-clients-list li {
    margin-bottom: 12px;
    color: #444;
}

.awards-clients-list a {
    font-weight: bold;
    color: #545454;
    text-decoration: none;
    transition: color 0.3s;
}

.awards-clients-list a:hover {
    color: #333;
}

.awards-clients-list small {
    font-size: 0.85rem;
    color: #777;
}

/* Responsive */
@media (max-width: 700px) {
    .awards-clients-columns {
        flex-direction: column;
        gap: 20px;
    }

    .awards-column,
    .clients-column {
        max-width: 100%;
    }
}

/* Fade-in animation (reuse) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-photo {
        margin-top: 20px;
    }
}

/* Slideshow */

.about-slideshow {
    width: 100vw; /* full viewport width */
    margin: 40px 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw; /* centers the full-width element inside other containers */
}

.about-slideshow img {
    width: 100%;
    max-height: 500px; /* or responsive: height: 30vw; max-height: 450px; */
    object-fit: cover;
    border-radius: 0; /* remove rounded corners for full-bleed look, or keep 8px if you prefer */
    box-shadow: none; /* optional: no shadow for full-bleed style */
}

.glide__arrow {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    color: #444;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: background 0.3s;
}

.glide__arrow:hover {
    background: rgba(255, 255, 255, 0.9);
}

.glide__arrow:focus {
    outline: none;
}

.glide__slide {
    display: flex;
    flex-direction: column; /* stack image + caption vertically */
    align-items: center; /* center horizontally */
    text-align: center; /* ensure text inside caption is centered */
}

/* Center glide arrows below image */
.glide__arrows {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    position: static; /* important — makes them appear below image, not overlay */
}

/* Dots (AKA bullets) */
.about-slideshow-dots {
    display: flex !important; /* force flex */
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    position: static !important; /* override Glide's absolute */
    width: 100%; /* ensure full width container */
}

.about-slideshow-dots .glide__bullet {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0; /* no need for margin when using gap */
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.5s ease;
    opacity: 0.7;
}

.about-slideshow-dots .glide__bullet.glide__bullet--active {
    background-color: #545454;
    transform: scale(1.2);
    opacity: 1;
}

/* Full width Image */

.full-width-image {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  text-align: center;
  overflow: hidden; /* Ensures the image doesn't exceed container */
}

.full-width-image img {
  width: 100%;
  height: 100%;
  max-height: 550px;
  object-fit: cover; /* Ensures it fills width and height */
  display: block;
}

.full-width-image .image-caption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 8px;
}

/* Button padding tweaks */
.funbutton.author-page a {
  margin-top: 24px;
}