/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/*custom code for form input text */
.form-group input{
color:white;
font-weight:500;
}

#brxe-rafwuf textarea{
color:antiquewhite;
}


#calendly-inline-widget {
  width: 100%;
  height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  #calendly-inline-widget {
    padding: 0 1rem;
  }
}



/*newsroom glavni css*/

/* Newsroom Main Layout */
.newsroom-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}


.news-video iframe {
  width: 100%;
  min-height: 300px;
  aspect-ratio: 16/9;
  max-width: 100%;
}

/* Lead Story */
.lead-story {
    text-align: left;
    margin-bottom: 30px;
}

.lead-story h2 {
    font-size: 2.3em;
    font-weight: 500;
    margin-right: 132px;
    line-height:1.3em;
}
  

.lead-story p{
font-size:1.3em;
line-height:1.2em;
margin-bottom:10px;
}

.lead-story a:hover{
color:#7cb23a;
text-decoration:underline;
}

.latest-news a{
font-size:1.5em;
color:black;
}

.single-news-container,
.news-main {
  overflow-wrap: break-word;
  word-break: break-word;
}

.news-main img,
.news-main iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

.news-main table {
  width: 100%;
  overflow-x: auto;
  display: block;
}

body {
  overflow-x: hidden;
}

.latest-news a:hover{
color:#7cb23a;
}

.latest-title{
  display:flex;
  padding-bottom:10px;
}


.latest-title a{
  font-size:22.4px;
  font-weight:500;
  color:#333333;
  line-height:1.2em;
  max-width:386px;
  
}


.lead-story img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 15px;
}

/*hot off the press*/

.hot-story{
    padding:16px;
    display:block;
    margin-top:10px;
    border-bottom:1px solid #cbcbcb;
    
  
}

.hotimg{
  max-width: 210px;
  max-height: 120px;
  text-align:center;
  display:block;
  margin:0 auto;
  margin-bottom:10px;

}

.hot-story a{
 color:#333;
 font-size:17px;
}

.hot-story a:hover{
 color:#7cb23a;
 text-decoration:underline;
}

/* Sidebar - Popular Stories */
.news-sidebar-popular {
    padding-left: 20px;
    align-self: start;
}

.news-sidebar h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.news-sidebar-popular ul {
    list-style: none;
    padding: 0;
}

.news-sidebar-popular li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
}

.news-sidebar-popular a {
    color: black;
    text-decoration: none;
    font-size:1.5em;
    font-weight:500;
    line-height:1.1em;
    margin-bottom:10px;
}

.news-sidebar-popular a:hover {
    color: #7cb23a;
    text-decoration: underline;
}
.news-sidebar-popular p {
    color: grey;
    text-decoration: none;
    font-size:1.5em;
    line-height:1.1em;
    margin-top:5px;
}

.news-content {
    color: grey;
    text-decoration: none;
    font-size:1em;
    line-height:1.1em;
    margin-top:5px;
}

.hot-story p{
    color: grey;
    text-decoration: none;
    font-size:1em;
    line-height:1.1em;
    margin-top:5px;
}

.news-sidebar-popular a:hover {
    text-decoration: underline;
}



/* Pojedinačna sekcija */
.news-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Vijesti unutar sekcije */
.news-item {
    background: #fff;
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
    align-items: center;
    border-bottom:1px solid #cbcbcb;
    margin-bottom:10px;
}

.news-image {
    max-width: 90px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.news-item a:hover {
    text-decoration: underline;
}

/* Responsive Fixes */
@media (max-width: 1024px) {
    .newsroom-content {
        grid-template-columns: 1fr;
    }

    .news-sections {
        grid-template-columns: 1fr;
    }

    .more-headlines ul, .older-stories ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        
    }

    .news-item img {
        width: 100%;
        height: auto;
    }

    .more-headlines ul, .older-stories ul {
        grid-template-columns: repeat(1, 1fr);
    }
.lead-story h2 {
    font-size: 2.3em;
    font-weight: 500;
    line-height:1.3em;
    margin-right:0px;
}

.latest-title{
text-align:center;

}


}





/* story.css */

/* Main layout */
.single-news-container {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 30px;
    max-width: 1350px;
    margin: 0 auto;
    padding: 20px;
}

/*story icons*/

/* Kontejner koji drži share ikonice i extra ikonice */
.news-share-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

/* Share ikonice */
.news-share {
    display: flex;
    gap: 8px;
}

/* PDF i RSS ikonice */
.news-extra-icons {
    display: flex;
    gap: 10px;
    margin-right:20px;
}

/* Stil za slike (Email, PDF, RSS) */
.news-extra-icons img {
    width:36px;
    transition: transform 0.3s ease-in-out;
}

.news-extra-icons a:hover img {
    transform: scale(1.1);
}

/* Stil za sve ikonice */
.share-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    color: white;
    transition: background 0.3s ease-in-out, transform 0.2s;
    text-decoration: none;
}

/* Hover efekat */
.share-icon:hover {
    transform: scale(1.1);
}

/* Boje za pojedinačne ikonice */
.facebook { background: #1877f2; }
.facebook:hover { background: #135caa; }

.twitter { background: black; }
.twitter:hover { background: black; }

.linkedin { background: #0077b5; }
.linkedin:hover { background: #005f91; }

.reddit { background: #ff4500; }
.reddit:hover { background: #cc3700; }

/* Boja za Email */
.email { background: transparent; }

/* PDF i RSS imaju isti hover efekat kao ostale ikonice */
.extra-icon img {
    transition: transform 0.3s ease-in-out;
}

.extra-icon:hover img {
    transform: scale(1.1);
}
/*end of icons*/

.organization-title-link {
    color: #0e688b;
    text-decoration: underline;
    font-weight: 600;
}

.organization-title-link:hover {
    text-decoration: underline;
}


/* Links*/
.organization-link,
.news-link {
    color: blue;
    text-decoration: underline;
}

.organization-link:hover,
.news-link:hover {
    color: darkblue;
    text-decoration: none;
}

/* Main news */
.news-main {
    background-color: #fff;
}

/* Title*/
.news-title {
    font-size: 32px;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #333;
}

.news-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.about-story{
color:black;
}

/* Share button*/
.news-share {
    margin-bottom: 20px;
}

/* main text*/
.news-body {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

.single-news-container .news-body a {
    color: #0073aa; /* links blue color */
    text-decoration: underline;
}

.single-news-container .news-body a:hover {
    color: #005e8a; /* hover color */
}

/* Slike u člancima */
.news-body img {
    max-width: 100%!important;
    height: auto;
    margin: 10px 0;
}

/* Video */
.news-video-container {
    margin-top: 1em;
}

/* Sidebar */
.news-sidebar .box {
    padding: 15px;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.news-sidebar{
margin-top: 120px;
}

.news-sidebar .box img {
    max-width: 280px;
    height: auto;
}

/* Additional news section */
.additional-news-wrapper {
    margin-top: 1em;
}

.additional-news {
    margin-top: 20px;
}

.additional-news h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.additional-news ul {
    list-style: none;
    padding: 0;
}

.additional-news li {
    margin-bottom: 8px;
}

.additional-news a {
    text-decoration: none;
    color: #0073aa;
}

.additional-news a:hover {
    text-decoration: underline;
}

/* RESPONSIVE DESIGN */

/* Tablets and smaller desktop (do 1024px) */
@media (max-width: 1024px) {
    .single-news-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .news-title {
        font-size: 28px;
    }

    .news-date {
        font-size: 13px;
    }

    .news-body {
        font-size: 16px;
        line-height: 1.5;
    }

    .news-sidebar {
        order: 2; /* Sidebar ide ispod glavnog sadržaja */
        margin-top:0px;
    }

    .news-video-container {
        margin-top: 15px;
    }
}

/* Mobile devices (do 768px) */
@media (max-width: 768px) {
    .single-news-container {
        display: flex;
        flex-direction: column;
        padding: 10px;
    }

    .news-title {
        font-size: 24px;
        text-align: center;
    }

.news-content{
    color: grey;
    text-decoration: none;
    font-size:1em;
    line-height:1.1em;
    margin-top:5px;
    max-width:400px;
}

    .news-date {
        font-size: 12px;
        text-align: center;
    }

    .news-body {
        font-size: 14px;
        line-height: 1.4;
    }

    .news-share {
        text-align: center;
    }

    .news-image {
        width: 100%;
        height: auto;
    }

    .news-sidebar .box {
        text-align: center;
    }

    .additional-news h3 {
        text-align: center;
        font-size: 16px;
    }

    .additional-news ul {
        padding-left: 10px;
    }
}

/* end of story css*/



/* organization room*/

.read-more-link {
    color: blue;
    text-decoration: underline;
    font-weight: bold;
}

.read-more-link:hover {
    color: darkblue;
    text-decoration: none;
}


.organization-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex-wrap: wrap;
}

.organization-sidebar {
    width: 300px;
    margin-top: 64px;
}

.organization-main {
    flex: 1;
    width: 100%;
    max-width: 120vh;
    margin-top: 64px;
    margin-left: 32px;
}

.organization-logo img {
    max-width: 280px;
    height: auto;
    margin-bottom: 15px;
    margin-left:20px;
}

.organization-box {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 0.8em;
}

.organization-title {
    font-size: 2.4em;
    font-weight: bold;
    color: #333;
    font-family: "Nunito Sans", sans-serif;
}

.powered-by {
    color: #999;
    font-size: 24px;
    margin-bottom: 20px;
}

.powered-by a {
    text-decoration: underline;
}

.organization-releases-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.organization-left-col,
.organization-right-col {
    flex: 1;
    min-width: 300px;
}

.organization-release-item {
    background-color: #ffffff;
    border: 1px solid #afafaf;
    padding: 32px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.organization-release-item h3 a {
    color: #0000ee;
    text-decoration: underline;
    font-size: 0.9em;
}

.organization-website-preview {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
    width: 100%;
    max-width: 1100px;
    height: 500px;
    align-self: center;
    margin-bottom: 164px;
}

.organization-website-preview h2 {
    margin-bottom: 15px;
    color: #333;
}

.organization-release-item .release-date {
    font-size: 13px;
    color: #999;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .organization-container {
        flex-direction: column;
        gap: 20px;
        text-align:center;
    }

    .organization-sidebar {
        width: 100%;
        margin-top: 0;
    }

    .organization-main {
        margin-left: 0;
        margin-top: 0;
    }

    .organization-releases-grid {
        flex-direction: column;
    }

    .organization-left-col,
    .organization-right-col {
        width: 100%;
    }

    .organization-website-preview {
        height: 400px;
    }
}
