@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');


.speech-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #ccc;
}

.img-container {
    width: 100px;
    height: 100px;
    overflow: hidden; 
    border-radius: 10px; 
    flex-shrink: 0;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.3s ease-in-out; 
}

.speech-item:hover .img-container img {
    transform: scale(1.1); 
}

		
		.speech-item:hover {
    background-color: #e9e9e9; 
}
		
.speech-item-text {
    max-width: 75%;
}

.speech-item h3 {
    font-size: 1rem;
    margin: 0;
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    
}

.speech-item p {
    font-size: 0.9rem;
    margin: 5px 0 0;
    color: #666;
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
}



/* Bio and Speech Containers */
.bio-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    background: url('../../../images/stories/about-who/rd/rd-hanan-balkhy-official-photo.jpg') no-repeat center center;
    background-size: cover; 
    background-position: center;
    background-position-y: 10%;
    height: 400px;
    padding: 20px;
    color: white;
    text-align: left;    
    position: relative;
}

.speech-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    background: url('../../../images/stories/about-who/rd/rd_speeches_videos.jpg') no-repeat center center;
    background-size: cover; 
    background-position: center;
    background-position-y: 10%;
    height: 450px;
    padding: 20px;
    color: white;
    text-align: left;    
    position: relative;
    margin-top: 2rem;
}

html[lang=ar-aa]  .speech-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    background: url('../../../images/stories/about-who/rd/rd_speeches_videos.jpg') no-repeat center center;
    background-size: cover; 
    background-position: center;
    background-position-y: 10%;
    height: 450px;
    padding: 20px;
    color: white;
    text-align: left;    
    position: relative;
    margin-top: 2rem;
    justify-content: flex-end;
}
.bio-content {
    z-index: 2;
    max-width: 40%; 
    padding-top:20px;
}

html[lang=ar-aa] .bio-content {text-align: right;}

.bio-content i {
    margin-right: 5px;
}

.bio-content a:hover, .bio-content a {color:#fff;}

.bio-content h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.bio-content h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.bio-button {
    display: inline-block;
    background-color: #002776;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
}

.bio-button:hover {
    background-color: #00419a;
}

.bio-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); 
    z-index: 1;
}

/* Fonts */
.bio-content h1, .bio-content h2, .bio-button, .flagship-item h2 {
    font-family: "Noto Sans", Arial, Helvetica, sans-serif !important;
    margin-bottom: 25px;
}

/* Quote Section */
.quote-section {
    background-color: white;
    padding: 20px 40px;
    text-align: center;
    border-radius: 8px;
    margin: 30px auto;
    position: relative;
    margin-bottom: 0;
    margin-top:3rem;
}

.quote-container::before {
    content: '\f10d';
    /*content: '“';*/
    position: absolute;
    top: -40px;
    font-family: 'Fontawesome';
    left: -20px;
    font-size: 60px;
    color: rgba(0, 0, 0, 0.2); 
    font-style:italic;
    

    
    
}
.quote-container {position: relative;}
/* Decorative closing quote */
.quote-container::after {
    content: '\f10e'; 
    font-family: 'Fontawesome';
    /*content: '”';*/
    position: absolute;
    bottom: -30px;
    right: 10px;
    font-size: 60px;
    color: rgba(0, 0, 0, 0.2); 
    font-style:italic;

    
   
}

.quotes-text {
    font-size: 1.3rem!important;
    font-style: italic;
    color: #333!important;
    line-height: 1.5!important;
    margin-bottom: 20px!important;
    font-family: 'Noto Sans', sans-serif!important; 
}

.quote-author {
    font-size: 1.1rem!important;
    color: #1b3b69!important; 
    font-weight: bold;
    font-family: 'Noto Sans', sans-serif;
}

/* Flagship Section */
.flagship-container {
    text-align: center;
    padding: 40px;
    background-color: #f7f4eb;
    color: #333;
}

.rsop-container {
    text-align: center;
    padding: 40px;    
    color: #333;
    margin-bottom: 2rem;
    /*background: #fafafa!important;*/
    background:url('../../../images/stories/about-who/sop_bag.png') no-repeat right  bottom -9px;  
    background-size:contain;  
}


html[lang=ar-aa] .rsop-container {
    text-align: center;
    padding: 40px;    
    color: #333;
    margin-bottom: 2rem;
    background: #fafafa;
    background:url('../../../images/stories/about-who/sop_bag_ar.png') no-repeat right  bottom -9px;  
    background-size:contain;  
}


.rsop-container img {
    max-width: 200px;
    margin-bottom: 1.5rem;
}

.flagship-container h1, .rsop-container h1 {
    font-size: 2.1rem;
    color: #1b3b69;
    margin-bottom: 35px;
    line-height: 1;
}

.flagship-container p, .rsop-container p {
    font-size: 1.1rem!important;
    color: #666;
    margin-bottom: 40px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    text-align:left;
    line-height: 1.4;
}

.flagship-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 60px;
    justify-items: center;
    align-items: flex-start;  
    width: 100%;
}

.flagship-item {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 300px; 
    padding-top: 0;
    min-height: 425px;
}

.flagship-item:hover {
    transform: translateY(-10px);
}

.flagship-item img {
    width: 100%;
    height: auto;
}

.flags-logo {
    width: 80% !important;
    padding: 10px;
}

.flagship-item h2 {
    font-size: 1.5rem;
    color: #1b3b69;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.flagship-item p {
    font-size: 1rem;
    color: #666;
}

/* Country Container */
.container.cntry {
    margin-top: 2rem;
    background:#182757;
}

.container.cntry h3, .container.cntry h4 {
    color: #fff;
}

.container.cntry h3 {
    font-size: 20px;
    margin-bottom: 0;
}

.container.cntry h4 {
    font-size: 16px;
    font-weight: normal;
    margin-top: 5px;
}

.container.cntry h1 {
    color: #fff;
}

.container.cntry .grid-item {
    flex: 0 1 350px;
}

.image-container {
    /*width: 350px;
    height: auto;*/
    overflow: hidden;
    border-radius: 8px;
    margin-bottom:  1rem;
}

.image-container img {
    transition: transform 0.6s ease-in-out;
}

.container.cntry .grid-item:hover .image-container img, .card.whd2017-callouts.about:hover .image-container img {
    transform: scale(1.1); 
}

.buttons {
    background-color: #182757; 
    color: #ffffff; 
    font-size: 1rem; 
    font-weight: bold; 
    padding: 15px 30px; 
    border: none; 
    border-radius: 8px;     
    text-decoration: none; 
    cursor: pointer; 
    display: inline-block; 
    transition: background-color 0.3s ease; /* Smooth background color transition */
}

.buttons a, .buttons a:hover, .grid-item a, .grid-item a:hover {
    color: #fff;
    text-decoration: none;
    font-size:18px!important;
}

.buttons:hover {
    background-color: #142c52; 
}

.speech-container .bio-content {
    display: flex;
    justify-content: center; 
    gap: 20px; 
    flex-wrap: wrap; 
}

.speech-container .bio-content .txt {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid white;
    padding: 25px;    
    width: 120px;
    transition: transform 0.3s ease; 

}

.speech-container .bio-content .txt:hover {
    transform: scale(1.05); 
}

.speech-container .bio-content .txt i {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
    display: block;
}

.speech-container .bio-content .txt h3 {
    font-size: 1.5rem; 
    color: white;
    margin: 0;
    white-space: nowrap;
    margin-right: 10px;
}


@media screen and (max-width: 768px) {
     .speech-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .speech-item img {
        width: 100px;
        height: 100px; 
    }

    .speech-item-text {
        max-width: 100%;
    }
.img-container {border-radius: 0;}
    .speech-item h3 {
        font-size: 1rem;
    }
}


@media (max-width: 768px) {
    .bio-container, .speeches-container {
        height: 300px; 
        background-size: cover; 
        justify-content: center; 
        text-align: center;
    }
    
    .bio-content {
        max-width: 90%;
    }
    
    .bio-content h1 {
        font-size: 2rem;
        font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    }
    
    .bio-content h2 {
        font-size: 1.2rem;
        font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    }
    
    .bio-button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .flagship-grid {
        grid-template-columns: 1fr; 
        gap: 20px; 
    }

    .flagship-item {
        max-width: 100%; 
    }

    .quotes-text {
        font-size: 1.2rem!important; 
    }

    .quote-author {
        font-size: 1rem; 
    }

    .quote-section {
        padding: 30px 15px;
    }

    .flagship-container h1, .rsop-container h1 {font-size:1.6rem;}
    .flagship-grid {display: flex;flex-direction: column;}
    .flagship-item {padding:0;}


.speech-container .bio-content {
        flex-direction: column;
        align-items: center; 
    }
    
   .txt {
        width: 100%; 
        max-width: 300px;
    }

    .speech-container .bio-content .txt {width: 100px;}
    .speech-container .bio-content .txt h3 {font-size:1.1rem;}
.container.cntry {padding-top:2rem;padding-bottom: 2rem; padding-left:1rem; padding-right:1rem;}
.flagship-container {padding:20px;}
.buttons a, .buttons a:hover, .grid-item a, .grid-item a:hover {line-height: 1.4;}

.rsop-container {padding-bottom: 5rem;}

}

@media (max-width: 480px) {
    .bio-container {
        height: 250px;
        background-size: cover;
    }

    .bio-content h1 {
        font-size: 1.8rem;
    }

    .bio-content h2 {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .flagship-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


.oped-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.oped-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.logo-container {
    flex-shrink: 0;
    width: 130px; 
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.logo-container img {
    max-width: 100%;
    max-height: 60px; 
    object-fit: contain; 
}

.oped-details {
    flex-grow: 1;
    border-left:1px solid #b2b2b2;
    padding-left:10px;
    padding-right:10px;
}

.oped-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.oped-title a {    
    text-decoration: none;
}

.oped-title a:hover {
    text-decoration: underline;
}
    
.oped-date i {
    margin-right: 8px;
    margin-left:8px;
    color: #757474; 
    font-size:18px;
}
@media (max-width: 768px) {
    .oped-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-container {
        margin-bottom: 10px;
    }

.oped-details {
    
    border-left:none;
    padding-left:0;
}

}